Moved Folder, Now Gallery is messed Up Moved Folder, Now Gallery is messed Up
 

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

Moved Folder, Now Gallery is messed Up

Started by KPalicz, June 26, 2007, 01:04:20 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

KPalicz

Somehow someone accidentally moved the gallery to some other folder.  Moving the folder back where it is supposed to be didn't fix it.  It just says "Fatal error :" if you go to the page.  In the cpanel it isn't registered as installed either. 

I reinstalled, but how do I restore all the pics and users and ratings and themes from our install?

Hein Traag

If the folder is in it's correct position, as before the unwanted move, and you backup your mysql database on a regular basis you should be ok by restoring the db backup. Should work, it did for me once when i had a similair situation.

[offtopic]
And try not to curse when you are posting a request for help  ;)
[/offtopic]

KPalicz

How do I restore the dp backup?

I currently have three databases associated with this gallery.  copp1, copp2, and copper.  I think copper is from when I just tried reinstalling the gallery.  I'm not sure what copp2 is, and I think copp1 is what I want.  I don't think the databases were affected by the folder move, but are the files just not recognizing the right db now? 

I'm not much of a computer guy, heh. 

Sami

First of all
- Do not use Auto installer Crap like Fantastico

Here what you can do

- Make a backup from old gallery specially albums folder

- Check your old gallery , by downloading {old gallery root}/include/config.inc.php to your local PC or viewing with Cpanel's file manager , and find out your old DB configuration

- Then go back to your old gallery and try to fix it , let's try to upgrade it , do as suggested on upgrading documentation said

- Now if you get error again enable debug manually and post actual error here
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Quote from: KPalicz on June 26, 2007, 01:04:20 AM
Somehow someone accidentally moved the gallery to some other folder.  Moving the folder back where it is supposed to be didn't fix it.
Moving the entire coppermine folder around on the server definitely won't break the gallery, as all links within it are relative to the gallery root. You must have moved stuff around only partly.

Quote from: KPalicz on June 26, 2007, 01:04:20 AM
I reinstalled, but how do I restore all the pics and users and ratings and themes from our install?
Re-installing was not a bright move. You should have tried fixing the gallery that displayed the error message instead. Coppermine is not just a desktop app like solitaire that you install, uninstall and move around.
If you don't have a database backup from your initial install, you're lost - you can't restore deleted stuff that you haven't backed up before. It's your responsibility to do frequent backups.
That's one of the reasons why we don't like auto-installers like Fantastico: they lure users into thinking that there's such a thing as single-click install. Web-driven apps just aren't that trivial to maintain.



KPalicz

Quote from: Sami on June 26, 2007, 05:29:58 PM
First of all
- Do not use Auto installer Crap like Fantastico

Here what you can do

- Make a backup from old gallery specially albums folder

- Check your old gallery , by downloading {old gallery root}/include/config.inc.php to your local PC or viewing with Cpanel's file manager , and find out your old DB configuration

- Then go back to your old gallery and try to fix it , let's try to upgrade it , do as suggested on upgrading documentation said

- Now if you get error again enable debug manually and post actual error here

Awesome thank you!

Upgrading and such didn't work, but putting it into debug mode said that some database thing needed to be repaired.  So I did that and it took care of the problem.  :)