coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: rayne on October 08, 2006, 07:09:35 AM

Title: php 5.0
Post by: rayne on October 08, 2006, 07:09:35 AM
I have been running version 1.33 with no problems. My isp upgraded to php 5.0 and now I get an error message: "The selected album/file does not exist ! " The database still has the correct entries and the image files are still on the server. I can see the albums and thumbnails, but when I click on the album name I receive the error about the selected album/file does not exist. Also, when I try to login, it says: "Warning your browser does not accept script's cookies" which is incorrect because my browser has always accepted cookies and pre-php5.0 I could login in fine.

I tried to upgrade to version 1.4.9 and followed all the instructions in the faq. When I tried to run the photo gallery (index.php) I received an error: "fatal error". No other error was written in the error log.

Could someone advise me how I could get my photo gallery up and running again? Thanks.

--rayne
Title: Re: php 5.0
Post by: Sami on October 08, 2006, 07:42:41 AM
- did you ran update.php ?
- Manually Enable Debug mode (http://coppermine-gallery.net/tutorial/debug_mode.php) to see the actual error
- post a link to your gallery
Title: Re: php 5.0
Post by: rayne on October 08, 2006, 06:58:30 PM
I ran update.php and for every category it either said "OK" or "already done". I have a "fatal error" on every page. I turned on debug and it said
"While executing query "SELECT extension, mime, content, player FROM cpg133_filetypes;" on 0
mySQL error: Unknown column 'player' in 'field list' "

What should I do to get my gallery up and running? http://www.region-h.org/cpg133/index.php

Thanks.
--rayne
Title: Re: php 5.0
Post by: Nibbler on October 08, 2006, 06:59:22 PM
Common error caused by not upgrading correctly. Search the board.
Title: Re: php 5.0
Post by: rayne on October 08, 2006, 07:07:11 PM
Thanks, but I have searched the board. I followed the directions from here: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#13.
It seems straight-forward to upgrade...can you give me a hint to where it might have gone wrong?
Thankw.
--rayne
Title: Re: php 5.0
Post by: Nibbler on October 08, 2006, 07:16:29 PM
3 things to check, solution has to be one of those 3.

http://forum.coppermine-gallery.net/index.php?topic=35190.msg167617#msg167617
Title: Re: php 5.0
Post by: rayne on October 08, 2006, 08:04:43 PM
OK my bad...the sql files did not upload properly. Fixing that and running update.php again fixed the problem.
Thanks for the help.
--rayne