coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: danielg on December 02, 2003, 06:22:53 AM

Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 02, 2003, 06:22:53 AM
Check this plz:
http://fit.um.edu.mx/danielgc/fotos/index.php?cat=4
There are 2 pages of album, right? But if you click on the number 2, it displays the same page, so Im not able to see the remaining pictures :( I know they are there because on last pictures (Últimas fotos - 2003) I can see the last uploaded album (22 de Sep de 2003), and if I click the pic, I can see it... Any hint? Thanks in advance!

ps. Is there any way to return to the "root" apart from clicking on the back button of the internet explorer? If I am inside certain category, I can{t go to the main "root"... Just a usability question.

danielgc
Title: [Fixed] Only first page of gallery displays
Post by: Joachim Müller on December 02, 2003, 07:49:36 AM
[list=1]to return to "home" you can either
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 02, 2003, 03:12:54 PM
Hi Gaugau! thx for your answer!
about the breadcrumb, that was exactly wha I wanted (excuse me, I know, I should had read the manual)
abou the overkill of my startpage, I tried to limit the content to breadcrumb/catlist/random/lastup but now it is even worst, now I can' even see that there are 2 pages of albums :( I messed up.

Edit: Having alblist Im able to see tha there are 2 pages on the category "2003", bu still having the same problem, I can't go o second page :(
Edit 2: I changed the value of number of displayed albums to mach the number of my albums in that category. his seems to be a workaround but works :)
Title: [Fixed] Only first page of gallery displays
Post by: Joachim Müller on December 03, 2003, 12:10:41 AM
try setting "Show first level album thumbnails in categories" to "no" in coppermine config.
You should have at least "catlist/alblist" in "The content of the main page" or your gallery won't work (it's just in there so you can change the order of it, but you mustn't delete the entries totally.

GauGau
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 03, 2003, 07:38:56 PM
Done as you suggested gaugau
http://fit.um.edu.mx/danielgc/fotos/index.php?cat=4&page=1
I can't enter the page 2... I'm considering reinstalling it :(
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 09, 2003, 05:13:17 PM
Bump?  :(
Has anybody the same problem?
Title: [Fixed] Only first page of gallery displays
Post by: EZ on December 13, 2003, 01:22:53 PM
Try to set the number of albums per page to a lower value, for example 4, so you'll have more pages. Then check if you can switch pages.

Eyal.
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 14, 2003, 06:13:06 PM
http://fit.um.edu.mx/danielgc/fotos/index.php?cat=4

Nope, same problem
:(
Title: [Fixed] Only first page of gallery displays
Post by: docgonzo on December 15, 2003, 04:47:33 PM
Hey peepz...

Well, i've got the same problem as danielg...
You can't see the other albums...
http://www.docgonzo.com

Can't get to page 2/3/4 of the galleries...
Any help would be greatly appreciated

(for now, i'm just gonna put all galleries on the frontpage and decrease thumbnail size for the frontpage)
Title: [Fixed] Only first page of gallery displays
Post by: Joachim Müller on December 16, 2003, 12:48:27 AM
Needs some looking into. I started tracker # 860684 (http://sourceforge.net/tracker/index.php?func=detail&aid=860684&group_id=89658&atid=590907) on this issue.

GauGau
Title: [Fixed] Only first page of gallery displays
Post by: Tarique Sani on December 16, 2003, 03:18:28 AM
Seeing this
http://fit.um.edu.mx/danielgc/fotos/index.php?cat=4

I have traced the problem to the fact that paging works only if there are no sub categories in the category containing the albums.

Will fix ASAP ....
Title: [Fixed] Only first page of gallery displays
Post by: Tarique Sani on December 16, 2003, 08:50:18 AM
OK
Here is the fix
Open index.php
find the lines which say
function list_cat_albums($cat = 0)
{
    global $CONFIG, $USER, $PAGE, $lastup_date_fmt, $HTTP_GET_VARS, $USER_DATA;
    global $lang_list_albums, $lang_errors;

and replace with
function list_cat_albums($cat = 0)
{
    global $CONFIG, $USER, $lastup_date_fmt, $HTTP_GET_VARS, $USER_DATA;
    global $lang_list_albums, $lang_errors;
    $PAGE = 1;


The fix has also been commited to the devel in CVS
Title: [Fixed] Only first page of gallery displays
Post by: docgonzo on December 16, 2003, 12:33:59 PM
Thx tarique, changed it and it works lika a charm !
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 16, 2003, 06:03:30 PM
WOW!
Thx tarique! You saved me a wasted time in reinstalling everything and finding that the problem still was there!

Best wishes from Mexico!

Danielg
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 16, 2003, 07:28:04 PM
... in gratitude, check this pic
http://fit.um.edu.mx/danielgc/fotos/displayimage.php?album=58&pos=10

Thx for your help and have a Happy New Year!
Title: [Fixed] Only first page of gallery displays
Post by: Joachim Müller on December 16, 2003, 11:52:13 PM
@daniel: nice pic indeed - your daughter's very cute. I'm glad Tarique was able to solve this so quickly as well.

GauGau

P.S. the link should be http://fit.um.edu.mx/danielgc/fotos/displayimage.php?pos=-567 (making it independent of the sorting order the user chose). You have a double slash in the URL of the pic info section, which can be fixed in coppermine config: delete the slash at the end of the url in the "link to ecard" (make it
Quotehttp://fit.um.edu.mx/danielgc/fotos
instead of
Quotehttp://fit.um.edu.mx/danielgc/fotos/
)
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 17, 2003, 01:12:02 AM
Thx for your kind comment gaugau!
I didn't know the difference between having or not having the last slash... thx! corrected now.
Title: [Fixed] Only first page of gallery displays
Post by: Tarique Sani on December 17, 2003, 03:29:20 AM
Quote from: "danielg"... in gratitude, check this pic
http://fit.um.edu.mx/danielgc/fotos/displayimage.php?album=58&pos=10

Thx for your help and have a Happy New Year!
Thanks for the picture, very lovely, also thanks for finding the bug and making a noise about it :)
Title: [Fixed] Only first page of gallery displays
Post by: danielg on December 17, 2003, 06:38:57 PM
Thx tarique! It is the less I can do to contribute in this excellent photo gallery system. I was about to reinstall everything, so u saved me (us) a lot of time!