forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: alsom on September 24, 2006, 05:47:47 pm

Title: Restoring Copperimne after server issues - Strategy
Post by: alsom on September 24, 2006, 05:47:47 pm
Hi,

I wanted to add a plug-in to my gallery via the pluginmgr interface.
Unfortuntaly after adding the plug-in, I was not able to access my gallery anyhow due to server errors.
I had to:
a) clean up the db
b) re-install Coppermine,  that's ok as that was a testing gallery with few photos ...

I wonder what would be the best stategy to restore the application if it happens again with a much larger gallery.
Of course no way to loose the photos ;o)

Do you think I would need to:
1. Backup the db
2. Backup the "albums" directory, include/config.inc.php, anycontent.php & any modified files (.css, php, tpl)
3. Do a full re-install
4. Restore 1) & 2)

Thansk for advising
Alain -
Title: Re: Restoring Copperimne after server issues - Strategy
Post by: Sami on September 24, 2006, 05:51:12 pm
That's totaly correct
but if you have error caused by a plug-in you can simply uninstall it by removing it from xxx_plugins table manualy
Title: Re: Restoring Copperimne after server issues - Strategy
Post by: alsom on September 24, 2006, 06:13:26 pm
That's totaly correct
but if you have error caused by a plug-in you can simply uninstall it by removing it from xxx_plugins table manualy

You mean removing the xxx_plugins from the MySQL db ?
Title: Re: Restoring Copperimne after server issues - Strategy
Post by: Nibbler on September 24, 2006, 06:16:45 pm
Depends entirely on the plugin you installed. In most cases it would be sufficent to remove the entry for the plugin from the plugins table (not the entire table). If it was the SEF urls plugin then you'd need to remove the .htaccess file. If it changed the database then you'd need to reverse the changes. Completely re-installing Coppermine is never a good solution.
Title: Re: Restoring Copperimne after server issues - Strategy
Post by: alsom on September 24, 2006, 07:08:04 pm
Depends entirely on the plugin you installed. In most cases it would be sufficent to remove the entry for the plugin from the plugins table (not the entire table). If it was the SEF urls plugin then you'd need to remove the .htaccess file. If it changed the database then you'd need to reverse the changes. Completely re-installing Coppermine is never a good solution.

The plugin was "cpg1.4_plugin_search_album_1.08". You are right I should have done it from the pluings table as I could not do it from the pluigin table mgr (no way to launch any php => server error)