coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: rocky2889 on September 19, 2005, 07:54:19 AM

Title: Moving to new server with different path
Post by: rocky2889 on September 19, 2005, 07:54:19 AM
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
Title: Re: Moving to new server with different path
Post by: Aditya Mooley on September 19, 2005, 08:02:35 AM
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?
Title: Re: Moving to new server with different path
Post by: rocky2889 on September 19, 2005, 08:17:06 AM
Thanks, yes the problem is not the password but the prefer of the database in the  config.php.
Rocky
Title: Re: Moving to new server with different path
Post by: artistsinhawaii on September 19, 2005, 08:46:22 AM
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

Title: Re: Moving to new server with different path
Post by: Joachim Müller on September 19, 2005, 11:11:24 AM
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".
Title: Re: Moving to new server with different path
Post by: rocky2889 on September 21, 2005, 06:46:54 AM
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
Title: Re: Moving to new server with different path
Post by: Joachim Müller on September 21, 2005, 07:21:06 AM
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?
Title: Re: Moving to new server with different path
Post by: rocky2889 on September 22, 2005, 05:11:16 AM
Yes, the original issue has been resolved.