Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: upgrade issue 1.3.3 to latest stable / Fatal Error  (Read 6151 times)

0 Members and 1 Guest are viewing this topic.

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
upgrade issue 1.3.3 to latest stable / Fatal Error
« on: January 26, 2006, 09:40:18 pm »

After updating my files on the server and following the upgrade procedure in the documentation im having issues now..

in the upgrade script everything was ok except at the bottom it spit out this info

Code: [Select]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/www/virtual/aquamann/www.mysite.com/members/photos/update.php on line 47

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /usr/www/virtual/aquamann/www.mysite.com/members/photos/update.php on line 50

then when I try to view any pages I get Fatal Error: with out any error messages, I enabled debug mode
as well but nothing is being spit out :(

thoughts?



« Last Edit: January 26, 2006, 10:55:42 pm by GauGau »
Logged

Nibbler

  • Guest
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #1 on: January 26, 2006, 09:42:04 pm »

Make sure the file include/config.inc.php has valid mysql connection information.
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #2 on: January 26, 2006, 09:58:00 pm »

yea everything seems ok in the config.. .. the debug out put is showing up now i didnt do a refresh but here is what index.php says

Code: [Select]
While executing query "SELECT extension, mime, content, player FROM cpg133_filetypes;" on 0

mySQL error: Unknown column 'player' in 'field list'
Logged

Nibbler

  • Guest
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #3 on: January 26, 2006, 10:00:22 pm »

Make sure your db user has the ALTER privilege and run the update.php again.
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #4 on: January 26, 2006, 10:03:05 pm »

db user is root. it has all privs.. :( ..
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #5 on: January 26, 2006, 10:09:32 pm »

also would like to say we have 2 coppermines running on our dedicated server the first upgrade went flawless, but this one is giving me hell.. i think the first one was 1.3.2 if that matters, and the one giving me issues is 1.3.3 version .. root is used for our db accounts for the coppermines..
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #6 on: January 26, 2006, 10:14:29 pm »

further investigation is showing that the player field didnt get updated in this version.. Im compairing both db versions of coppermine, ie one working and one thats not.. teh player field is done in my 1.3.3 to latest upgrade..
Logged

Nibbler

  • Guest
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #7 on: January 26, 2006, 10:16:54 pm »

update.php should have added that field.
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #8 on: January 26, 2006, 10:32:29 pm »

I agree. any ideas ? :(

could i run each sql command from sql/update.sql file manualy to see where it barfs?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #9 on: January 26, 2006, 10:45:56 pm »

yes, that's an option. Don't forget to modify the table prefixes (although you seem to be knowing what you do, so the warning may be not necessary).
Logged

gateway

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #10 on: January 26, 2006, 10:50:24 pm »

ok addig in player table and its values seemed to of worked...

i have no idea why the update script bailed on that.. could this be a related issue to 1.3.3 update to latest.. cause my 1.3.2 went smoothly.

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: upgrade issue 1.3.3 to latest stable / Fatal Error
« Reply #11 on: January 26, 2006, 10:55:22 pm »

I don't think so.

BTW: you mentioned that your db user is root - you shouldn't do that. Root has way to many privileges. As the server appears to yours to administer, I suggest creating a user with "regular" privileges, without the omnipotent ones (like GRANT).
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.