Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: php 5.0  (Read 4127 times)

0 Members and 1 Guest are viewing this topic.

rayne

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
php 5.0
« 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
« Last Edit: October 08, 2006, 08:11:14 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: php 5.0
« Reply #1 on: October 08, 2006, 07:42:41 am »

- did you ran update.php ?
- Manually Enable Debug mode to see the actual error
- post a link to your gallery
Logged
‍I don't answer to PM with support question
Please post your issue to related board

rayne

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: php 5.0
« Reply #2 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
Logged

Nibbler

  • Guest
Re: php 5.0
« Reply #3 on: October 08, 2006, 06:59:22 pm »

Common error caused by not upgrading correctly. Search the board.
Logged

rayne

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: php 5.0
« Reply #4 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
Logged

Nibbler

  • Guest
Re: php 5.0
« Reply #5 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
Logged

rayne

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: php 5.0
« Reply #6 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
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 16 queries.