Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Moving to new server with different path  (Read 3450 times)

0 Members and 1 Guest are viewing this topic.

rocky2889

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Moving to new server with different path
« 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
« Last Edit: September 22, 2005, 05:17:12 am by TranzNDance »
Logged

Aditya Mooley

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 781
    • My Sweet Home
Re: Moving to new server with different path
« Reply #1 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?
Logged
--- "Its Nice 2 BE Important but its more Important 2 Be NICE" ---
Follow Coppermine on Twitter

rocky2889

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Moving to new server with different path
« Reply #2 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
Logged

artistsinhawaii

  • VIP
  • Coppermine addict
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 856
    • evj art and photography
Re: Moving to new server with different path
« Reply #3 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

Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moving to new server with different path
« Reply #4 on: September 19, 2005, 11:11:24 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".
Logged

rocky2889

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Moving to new server with different path
« Reply #5 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moving to new server with different path
« Reply #6 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?
Logged

rocky2889

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Moving to new server with different path
« Reply #7 on: September 22, 2005, 05:11:16 am »

Yes, the original issue has been resolved.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.