forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: lu-x21 on May 09, 2014, 03:30:12 pm

Title: Problem with pos=0 in displayimage.php after upgrade to 1.5
Post by: lu-x21 on May 09, 2014, 03:30:12 pm
Hi!

After I had security issues with the last version 1.4.19 I updated everything to 1.5.28.
Now: when I click on the first image in an album I get an error message for pos=0, when I click on the second thumbnail everything is fine.

My gallery is at: http://www.lu-x.de/base.
When you try to reach pos=0 from the thumbnails.php it will return an error message.
I attached a screenshot to this problem. and a bug report.

I do not know whether I am the only one having this problem - and whether there is a simple explanation to this problem. Has it to do with some wrong import setting in the sql database?

I am grateful for any suggestion that might help.
Thank you!
Ludwig
Title: Re: Problem with pos=0 in displayimage.php after upgrade to 1.5
Post by: Αndré on May 09, 2014, 08:15:34 pm
Your custom theme use the "pos" parameter to determine the image position in the album. This has been replaced in cpg1.5.x by the "pid" parameter. As your theme seems to base on the "hardwired" theme, I suggest to compare the changes of the cpg1.4.x and cpg1.5.x version of that theme and apply it to your custom theme.

Moving from bugs board to themes board.