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: Errors upgrading database  (Read 4112 times)

0 Members and 1 Guest are viewing this topic.

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Errors upgrading database
« on: September 27, 2006, 07:19:08 pm »

When I completed the upgrade.php this was at the end

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wxnjjdkd/public_html/cpg149/update.php on line 47

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/wxnjjdkd/public_html/cpg149/update.php on line 50



when I clicked on "Check versions" this is what i got:

FATAL ERRER
While executing query "SELECT * FROM cpg149_config" on 0

mySQL error: Table 'wxnjjdkd_copp1.cpg149_config' doesn't exist
Logged

Nibbler

  • Guest
Re: Errors upgrading database
« Reply #1 on: September 27, 2006, 08:46:40 pm »

Did you manually change the table prefix in include/config.inc.php?
Logged

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Errors upgrading database
« Reply #2 on: September 27, 2006, 08:49:12 pm »

no, since I have no idea what you said   ;D  Do I need to?
Logged

Nibbler

  • Guest
Re: Errors upgrading database
« Reply #3 on: September 27, 2006, 08:51:26 pm »

No. What were you upgrading from and why did you use cpg149_ as the prefix?
Logged

CGPhotos

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 64
Re: Errors upgrading database
« Reply #4 on: September 27, 2006, 09:45:01 pm »

Sorry if this reply comes through twice, I had a server error last time.

I am actually only upgrading the database.  I have a 1.3.3 version on one domain/server and installed 1.4.9 on a different domain/server and updated the theme and now I need to move the pics and users over to the new one.  I deleted the 149 in in the database and imported the 133 then ran the upgrade.php and this is when I ended up with these problems.  I was hoping I was on the right track  ;D

I have the  cgp149 prefix as that is what it unzippes as and I didnt change it.....do I need to?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Errors upgrading database
« Reply #5 on: September 28, 2006, 08:15:45 am »

check your table prefix under DB and change the config setting to meet that
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.