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: two problems after upgrading....  (Read 4257 times)

0 Members and 1 Guest are viewing this topic.

lauraa855

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
two problems after upgrading....
« on: October 12, 2006, 01:05:10 pm »

I've just moved two of my sites to a different host and when i did so i upgraded both gallery's. I must be doing something wrong because both have gone wrong. I've been on the forum for 44 minutes and i can't find anything that helps with my two problems.

Firstly with: http://www.emmy-online.org/gallery

I get this fatal error: While executing query "SELECT * FROM cpg_config" on 0

mySQL error: Table 'emmy_copp1.cpg_config' doesn't exist

I've checked config.inc.php and the mysql info is correct, it says the database is emmy_copp1 which it is, i was wondering if it was the database itself because its been moved.

Secondly with: http://www.maura-online.org/gallery/
Everything on the surface is working fine, but when i try and batch add any images the thumbnails show up as x's, this is only on recently uploaded images though, if i go on batch add then select a folder with images already uploaded the thumbnails work fine :/

Any help would be great.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: two problems after upgrading....
« Reply #1 on: October 12, 2006, 06:54:38 pm »

There is a  one issue per thread policy , respact the rules please.
for first issue , check db and see if xxx_config is there
for 2nd issue check the folder permission
Logged
‍I don't answer to PM with support question
Please post your issue to related board

lauraa855

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: two problems after upgrading....
« Reply #2 on: October 13, 2006, 07:08:32 pm »

ok sorry about that. Well for the first issue, i looked in phpadmin and it says there are no tables for the mysql which is wierd right? The backup of the database must be wrong so im going to get my old host to download the db again for me and see if that works.

For the second problem, the folders are 777 and im using GDx2 which my hosts suggest to use.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: two problems after upgrading....
« Reply #3 on: October 13, 2006, 11:03:27 pm »

try 755 instead and see if it working...
Logged
‍I don't answer to PM with support question
Please post your issue to related board

lauraa855

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: two problems after upgrading....
« Reply #4 on: October 13, 2006, 11:47:52 pm »

ok thanks for your help thats working now :)

For the other one i got the mysql back and reuploaded it, now all i get is 'fatal error' and no description. Would you recommend installing a new galleryt and using the old mysql?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: two problems after upgrading....
« Reply #5 on: October 14, 2006, 07:23:28 am »

No
- re-check your xxx_config table and see if every thing is normal ? you can compare it with schema.sql
Logged
‍I don't answer to PM with support question
Please post your issue to related board

lauraa855

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: two problems after upgrading....
« Reply #6 on: October 14, 2006, 10:42:41 am »

from what i can see everything looks normal in the xxx_config, I did compare it with schema (which i dont really understand) and they look ok. I decided to try debug mode again and this time it worked, here is what i got

"While executing query "select user_id as id, user_password as password from `emmy_copp1`.cpg_users where user_id=0" on Resource id #6

mySQL error: Table 'emmy_copp1.cpg_users' doesn't exist"
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: two problems after upgrading....
« Reply #7 on: October 14, 2006, 12:09:45 pm »

Then do the same thing you've done for config table ... ;)
And this time make sure that you have all tables restore
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.033 seconds with 20 queries.