MySQL Database link MySQL Database link
 

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

Main Menu

MySQL Database link

Started by ajl2chat2u, June 28, 2007, 08:50:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ajl2chat2u

I somehow had a problem with logging in as admin. I did a re-install of ver 1.4 and I think I lost all the data in the database in the process. Would that be the case, if not, how to I correct this as no images are now in the album reflecting.

Thanks

Sami

You shouldn't re-install CPG at first place !

- Check your mysql server if you have your old db or not
- If you don't have your old db then you should use your backup (if you don't have backup you are lost! you should re-upload all pics again)
- If you have your old db

  • First you should change your old admin account's password, use phpmyadmin or similar mysql utility and open xxx_users table of old db , find the user that has 1 for user_id (this user is admin) and change it's password to 21232f297a57a5a743894a0e4a801fc3 this will set the password to admin
  • Now change {gallery-root}\include\config.inc.php file and put your old db infos there

‍I don't answer to PM with support question
Please post your issue to related board

ajl2chat2u

Thanks a lot!

Old db was still there, just had to tweak the config file to point to the correct db and tables.

All cool now!