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: Restoring Copperimne after server issues - Strategy  (Read 6231 times)

0 Members and 1 Guest are viewing this topic.

alsom

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Restoring Copperimne after server issues - Strategy
« 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 -
« Last Edit: October 01, 2006, 02:48:32 pm by GauGau »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Restoring Copperimne after server issues - Strategy
« Reply #1 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

alsom

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Restoring Copperimne after server issues - Strategy
« Reply #2 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 ?
Logged

Nibbler

  • Guest
Re: Restoring Copperimne after server issues - Strategy
« Reply #3 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.
Logged

alsom

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Restoring Copperimne after server issues - Strategy
« Reply #4 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)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.