The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):http://www.capturedimages.org/gallery
Gallery version:1.54
Apache version:2
PHP version (don't just say PHP 4, please):5.1.4
Graphics Toolkit:NetPBM
Operating system:Linux (Fedora Core 5)
Web browser/version (if applicable): NA
First off we just upgraded OS on the server and ended up with PHP5 which wrecked several 1.4X galleries on multiple sites. This one I upgraded to 1.54 to get it running again. I had a custom built lightbox on this gallery. Pretty simple in that it just set a cart session variable, got the info for each pic from the gallery object and stored it in hidden form fields when the user hit add to cart the form was submitted to a file outside the gallery directory that stored the info in a database etc. (basic shopping cart stuff) All worked great in the previous version. Now when submitting to a file outside of gallery nothing transfers the recieving page reports $_POST and $_SESSION empty. I was able to output data using $_GET. To make sure this was not PHP5 I set up two test pages and posted and read session with out a hitch between the two. That said - does 1.54 do anything that 1.4 did not do in terms of $_SESSION or $_POST? I really dont want to have to straighten out the $this mess in 1.4 by hand.
Posts: 3
Well a light blinked on and it struck me - what about just using a cookie and $_GET. I did and that worked fine in place of a session variable and $_POST data. The system is working once again. *whew* Still a bit curious as to why $_SESSION and $_POST were empty though.
Anyway if you want to see a 1.54 gallery with over 30000 images check it out.