Moving to new server with different path Moving to new server with different path
 

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

Moving to new server with different path

Started by rocky2889, September 19, 2005, 07:54:19 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

rocky2889

I am moving to a new host, I managed to backup my database with phpMyAdmin. I also able to restore the database back to the new host. But I get this error when I try to access my site.


Notice: Undefined index: debug_mode in /home/lamfoto/domains/lamfoto.com/public_html/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query

I think is have to do with the path of the server, because the old server has a path something like this /lamfoto/home/public_html.
How do I change that change or may be is totally different from my from I think.

Thanks
Rocjy

Aditya Mooley

Rocky,

Coppermine has nothing to do with the path in harddisk. This is probebly beacuse of the database settings.
Have you changed the include/config.php to reflect your new database username, password, etc?
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

rocky2889

Thanks, yes the problem is not the password but the prefer of the database in the  config.php.
Rocky

artistsinhawaii

rocky,

This might be a lame question but are the pictures/uploaded files in the same directory tree structure (layout) as they were in your previous install?

Dennis

Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Joachim Müller

Quote from: rocky2889 on September 19, 2005, 07:54:19 AM
Fatal error :
There was an error while processing a database query
enable debug_mode to see what query actually fails. To do so, use a tool like phpMyAdmin to directly access your database, browse coppermine's config table and set debug_mode from "0" to "1".

rocky2889

I run into another problem that I cannot see any thumbnails. But I can click to see the fullsize image. Here is my site http://lamfoto.com
Thanks
Rocky

Joachim Müller

we have a "one issue per thread" policy you agreed to respect when signing up. Has the issue you originally posted in this thread been resolved?

rocky2889