Switching Servers Switching Servers
 

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

Switching Servers

Started by captnpineapple, March 15, 2004, 06:19:05 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

captnpineapple

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

Joachim Müller

#1
  • 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

captnpineapple

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

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

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

Joachim Müller

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

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

GauGau

Roshlin

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

Quote from: GauGau 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

Joachim Müller

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

Roshlin

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

Joachim Müller

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

GauGau

Roshlin

#8
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

Roshlin

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

Joachim Müller

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

Roshlin

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

Joachim Müller

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

chrismsa

Quote from: GauGau 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

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

kegobeer

In phpMyAdmin, under SQL.  Browse to the location of the .sql file you created when you did your dump.
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

Quote from: kegobeer 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.

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!  :\'(

kegobeer

Verify the tables exist and have all the data in them.
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

Quote from: kegobeer on January 18, 2005, 03:50:15 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. :-\\

kegobeer

Hold on a minute.  What version of Coppermine were you running?  And what version are you running now?
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

Quote from: kegobeer 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?
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.