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] 2   Go Down

Author Topic: Switching Servers  (Read 11048 times)

0 Members and 1 Guest are viewing this topic.

captnpineapple

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://worldsofdisney.net/
Switching Servers
« on: March 15, 2004, 06:19:05 am »

If I were to switch servers... how could I do so without having to re-do the whole entire gallery. Is there a way?
Logged
==Captain Pineapple
=Worlds Of Disney
http://worldsofdisney.net/

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Switching Servers
« Reply #1 on: March 15, 2004, 10:42:20 am »

  • backup all your files to your hard drive
  • get a dump of your database with phpMyAdmin (refer to the faq)
  • Put all the files on the new server (preserving the folder/file structure of your old server)
  • CHMOD albums directory to 777 or 755
  • restore the dump previously created (in step 2) with phpMyAdmin
  • edit the file include/config.inc.php and modify it to fit you new server's mySQL settings
  • You're done
GauGau
« Last Edit: April 26, 2004, 08:16:28 am by GauGau »
Logged

captnpineapple

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
    • http://worldsofdisney.net/
Switching Servers
« Reply #2 on: March 21, 2004, 05:07:55 am »

I did this, everything worked, except people can't upload... And the Albums directory IS set at 777

Error:
Quote
The picture 'albums/userpics/Dagobah.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127
Logged
==Captain Pineapple
=Worlds Of Disney
http://worldsofdisney.net/

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Switching Servers
« Reply #3 on: March 21, 2004, 09:07:15 am »

you haven't configured Coppermine yet (the "Path to ImageMagick 'convert' utility").
Quote
Error executing ImageMagick - Return value: 127
means that the convert executable hasn't been found where you specified it to be.

Search the board for
Quote
Error AND executing AND ImageMagick AND  AND Return AND value AND 127
for details.

GauGau
Logged

Roshlin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Switching Servers
« Reply #4 on: May 01, 2004, 10:29:32 pm »

Hi friends,
I have done step by step all that is mentioned in this post,only that now I get this error and can see nothing.

Notice: Undefined index: debug_mode in /var/www/html/galeria/include/functions.inc.php on line 101
Fatal error :
There was an error while processing a database query

  • backup all your files to your hard drive
  • get a dump of your database with phpMyAdmin (refer to the faq)
  • Put all the files on the new server (preserving the folder/file structure of your old server)
  • CHMOD albums directory to 777 or 755
  • restore the dump previously created (in step 2) with phpMyAdmin
  • edit the file include/config.inc.php and modify it to fit you new server's mySQL settings
  • You're done
GauGau
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Switching Servers
« Reply #5 on: May 02, 2004, 11:18:47 am »

make sure all your files were uploaded correctly (using the proper ftp mode) - get a fresh package and re-upload. Posting a link might help as well.

GauGau
Logged

Roshlin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Switching Servers
« Reply #6 on: May 03, 2004, 11:55:17 pm »

Hi Gaugau,
I will try uploading again tomorrow all the files again.
One hint when not all files were uploaded i could navigate, but aftrer all files were uploaded i get this error.  ???
This is th ekink
http://www.fotorima.com/galeria/index.php
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Switching Servers
« Reply #7 on: May 04, 2004, 07:34:10 am »

did you copy include/config.inc.php to your new server and change the settings in it to match your mySQL settings?

GauGau
Logged

Roshlin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Switching Servers
« Reply #8 on: May 04, 2004, 03:55:17 pm »

Hi Gaugau,
That was it, I changed all the values for the config, besides the table prefix, as I hasd left it as default,
but somehoe it was cpg11d_ and in my sql it was cpg130_, changes it and for now I can see the gallery.
 :)  ;)  :D  ;D  8)
Thanks
Now this is not for this forum, but don't know where to ask.
I started looking for a gallery landed here and am thrilled to have somehting like this. Which ofcourse without the help of this forum would have not been possile, as you'll must have realised with my varios newbie  posts.
Going through the forums I have seen that cpg is available for phpnuke and post nuke also, All look good but what is the difference in the gally itself and in phpnuke and post nuke. If someone can push me to a link where I could find the answers.
If not I understand that this is not the palce for it, and will be equally thankful and grateful, for this wonderful script.
Thanks again
Roshlin
« Last Edit: May 05, 2004, 12:38:14 am by GauGau »
Logged

Roshlin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Switching Servers
« Reply #9 on: May 04, 2004, 04:10:19 pm »

Hi,
Sorry I'm back again.
Now after login as admin I can access all menus (users, cat, groups etc.) but not the config.
I also did the update database in the tools.
Please help.
Thanks
Roshlin
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Switching Servers
« Reply #10 on: May 05, 2004, 12:41:06 am »

for nuked coppermine, visit http://www.nukephotogallery.com/modules.php?name=Forums
What do you actually mean you can't access the config. Is there an error message?

GauGau
Logged

Roshlin

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Switching Servers
« Reply #11 on: May 05, 2004, 02:46:43 pm »

Hi,
Thanks for your prompt reply.
This is the error and only in the config menu.
Roshlin
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, roshlin@yahoo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.0.48 (Fedora) Server at www.fotorima.com Port 80
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Switching Servers
« Reply #12 on: May 06, 2004, 08:18:20 am »

as the name and error message suggests: contact your server admin... ;) Oops, that's you :D. Can't tell you what went wrong, your server seems to be misconfigured. Maybe an apache2 issue (apache 2 is not recommended for production/stable use yet afaik).

GauGau
Logged

chrismsa

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Switching Servers
« Reply #13 on: January 18, 2005, 02:26:53 am »

  • backup all your files to your hard drive
  • get a dump of your database with phpMyAdmin (refer to the faq)
  • Put all the files on the new server (preserving the folder/file structure of your old server)
  • CHMOD albums directory to 777 or 755
  • restore the dump previously created (in step 2) with phpMyAdmin
  • edit the file include/config.inc.php and modify it to fit you new server's mySQL settings
  • You're done
GauGau

I followed the instructions above but I don't know how to restore the dump previously created with phpMyAdmin.  There is no restore function in phpMyAdmi.  Please help!!!  Other than that I edited the file include/config.inc.php and modify it to fit my new server's mySQL settings.  I copied all the files including the images to my new server too.

Thanks,
CP
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Switching Servers
« Reply #14 on: January 18, 2005, 02:32:25 am »

In phpMyAdmin, under SQL.  Browse to the location of the .sql file you created when you did your dump.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

chrismsa

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Switching Servers
« Reply #15 on: January 18, 2005, 03:13:03 am »

In phpMyAdmin, under SQL.  Browse to the location of the .sql file you created when you did your dump.

Many Thanks.  I just did restore successfully but still did not see my albums, images, and configuration.  I'm still getting the blank coppermine gallary.  Please help!  :\'(
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Switching Servers
« Reply #16 on: January 18, 2005, 03:50:15 am »

Verify the tables exist and have all the data in them.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

chrismsa

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Switching Servers
« Reply #17 on: January 18, 2005, 04:05:20 am »

Verify the tables exist and have all the data in them.
I have 2 set of tables.  The first set are started with cpg11d_ with the data in them (These set are the old tables that I just restored).  The second set are started with cpg132_ with no data.  If I change the include/config.inc.php to cpg11d_ , I will get an error.   If I change the include/config.inc.php to cpg132_ , I will get the blank coppermine gallary. :-\\
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Switching Servers
« Reply #18 on: January 18, 2005, 04:07:27 am »

Hold on a minute.  What version of Coppermine were you running?  And what version are you running now?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

chrismsa

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Switching Servers
« Reply #19 on: January 18, 2005, 04:11:12 am »

Hold on a minute.  What version of Coppermine were you running?  And what version are you running now?
I am not sure what version fo rthe old one because it was installed on the old web server and it was gone.  I was able to backup before they wiped out the whole server.  The version that I'm running now is 1.3.2 (I believe) because I just downloaded.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.027 seconds with 18 queries.