Clicking Next

  • WoRd Of WiSdOm
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 23, 2004
  • Posts: 284
  • Loc: Riverside,California
  • Status: Offline

Post October 8th, 2005, 1:33 am

Thought i would bring this up to the admin on this bored i was browsing through looking for a post i made in my profile on page 1 when i went to click on next it came up
Information

No topics or posts met your search criteria

so i click on 2 and the same came up. i wasn't searching for anything in particular and just wanted to view the next page. Thanks for the time
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 8th, 2005, 1:33 am

  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8926
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post October 8th, 2005, 11:33 am

Hmm I just tried this and it seems fine for me. I click on your profile link and then click on "Find all posts by WoRd Of WiSdOm" and from there I click the next button and everything seems fine as it takes me to the next page correctly. Please let me know if you still have the issue, and if I didn't understand you correctly. Thanks.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • WoRd Of WiSdOm
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 23, 2004
  • Posts: 284
  • Loc: Riverside,California
  • Status: Offline

Post October 8th, 2005, 11:57 am

Yea i would click next and even though there was another page nothing would come up it said no search met your criteria. Must have just been a fluke cause it works fine now
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post October 18th, 2005, 6:19 pm

I was able to re-create this.

Happens when you start a search, then start another one then go back to the original.

phpBB stores the initial result topic/post ids in an array for a search & refers to that via session/search_id rather than searching the entire search tables again, for each paged set of results.

Every time a search is run, every result set for the current session is deleted, then the new set is saved in its' place.
Strong with this one, the sudo is.
  • WoRd Of WiSdOm
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 23, 2004
  • Posts: 284
  • Loc: Riverside,California
  • Status: Offline

Post October 26th, 2005, 9:28 pm

yes thats percisely what i meant i was looking at a profile and then did what was mentioned and it said that message. thanks for the help and am glad its not a real problem and just a error
  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5744
  • Loc: Sub-level 28
  • Status: Offline

Post October 27th, 2005, 1:26 pm

joebert wrote:
phpBB stores the initial result topic/post ids in an array for a search & refers to that via session/search_id rather than searching the entire search tables again, for each paged set of results.

Yup, this is true. It's basically due to the fact that performing the initial search is pretty taxing on the system once you've got a few million records in the search words database (basically due to MySQL joins in the queries n' whatnot).

So, storing the results in a particular search ID record speeds things up a bit. But, to prevent the results from getting big and clumsy (and just as slow as searching real-time), it replaces your last search with your current search.

Quick experiment. Load up 2 browser windows both on the search page. Tell Window 1 to go search for something that you know will bring up multiple pages of results. Then flick to Window 2 and search for something else. You'll note that in Window 2, you can browse through the multiple pages of results.

Yet, if you go back to Window 1, you'll never get out of that first page without hitting re-searching (hitting F5 on the first page of results, and telling it you want to resubmit the data). Then it'll update your search record with the new search results and you'll be able to browse multiple pages again.

It's not the most user-friendly way of doing things, however it only really causes any issues in a small minority of real-world uses (the vast majority of people will never run 2 searches simultaneously on a phpBB board).

There are ways around it (that is, the forum's code can be modified - afaik there's no user-end workaround), although usually not without severe performance hits.

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 22 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.