Login

Who's Online

Google








Home arrow Programmingarrow Joomla Extensionsarrow Serious problem - paging
Discussion Forum
August 20, 2008, 12:47:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Serious problem - paging  (Read 982 times)
Franka
Newbie
*
Posts: 23


View Profile Email
« on: February 09, 2008, 08:54:15 PM »

I have 120 books in the db now and if I selectt the second page of All Titles, it displays an empty page. Ditto picking any other pages.

 Authors      Title      Journal      Year      Type      Links
 
<< Start < Prev 1 Next > End >>
Results 26 - 5 of 5
Download bibtex string for all 5 results    AddAdd..

Seems OK on a category that has two pages?
Logged
Mark Austin
Administrator
Jr. Member
*****
Posts: 97



View Profile Email
« Reply #1 on: February 15, 2008, 09:00:56 AM »

Could you describe how your categories and related menus are structured?
Logged
Franka
Newbie
*
Posts: 23


View Profile Email
« Reply #2 on: February 22, 2008, 04:05:28 PM »

Best is to take a look. This problem only occurs with the All Titles (so no categories selected.
http://www.glass-study.com/cms/
scroll down to menu - contain 630 titles now.
Nothing fancy each menu option has just had a category selected.

Note that when I had this problem it was only available to registered users. A couple of runs logged out caused a Not authorised to this resource on going to a second page.

Now not logged in it is paging beyond the first page but this is not working correctly.

When you take that option it gives a result of 635 go to the next page of results it changes to 108 results!!
Logged
Franka
Newbie
*
Posts: 23


View Profile Email
« Reply #3 on: March 18, 2008, 11:57:19 AM »

This is also happening with 'All Titles' after filtering. Which is a serious pain as only the first 25 out of 38 filtered can be seen.

[tdActionResult
Select All Titles1739 titles
Filter 'Carnival'38 titles
select 2nd page or nextNothing on page results change to 25
clear filterresults change to 230!

Select one of the category related options, everything works fine. Carnival filtered in 'General (World)' gives 31 results, go to second page and you get the 6 more titles and the result remains on 31.

If I dopwnload the bibtex string after the first example it prduces duplicates of most tiles.

Any ideas what is going wrong?
Logged
Franka
Newbie
*
Posts: 23


View Profile Email
« Reply #4 on: March 27, 2008, 04:52:15 PM »

Has anyone else had this problem?
Logged
Mark Austin
Administrator
Jr. Member
*****
Posts: 97



View Profile Email
« Reply #5 on: March 28, 2008, 04:14:07 PM »

Yes, there is definitely a bug there.  Would you mind changing lines 16 and 17 of jombib.php from

$catId = intval( mosGetParam( $_REQUEST, 'catid', 0 ) );
if($catId==0){

to :

$catId = intval( mosGetParam( $_REQUEST, 'catid', -1 ) );
if($catId==-1){

and let me know if that works.

Mark
Logged
Franka
Newbie
*
Posts: 23


View Profile Email
« Reply #6 on: May 03, 2008, 10:25:27 AM »

That works, thank you Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.1 | SMF © 2006, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
© 2008 Everything That I Know About