backup to new server error backup to new server error
 

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]

Main Menu

backup to new server error

Started by desert_dave, March 06, 2005, 07:30:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

desert_dave

Hi Guys,
I am changing servers and want the migration to go smooth so I backed up and installed the copy on the new server before changing over. But when I tried to open cpg132 I got a fatal error. So I tried a fresh copy of cpg132 and it worked fine. But the minute I reload the backed-up include file from the original site I get a

Notice: Undefined index: debug_mode in /home/creating/public_html/gallery/include/functions.inc.php on line 96
Fatal error :

??
Thanks,
dave


Nibbler

You need to change the details in include/config.inc.php if you move server.

desert_dave

Same details on both. same db name, password ect.
double checked it and still same error.
??

donnoman

what does the old functions.inc.php contain that you wan't back? Why not just run with the current functions.inc.php?

I suggest doing a winmerge between the working functions.inc.php and the non working.

desert_dave

Everything was ftp'd to the new server including "old functions' I didn't touch or take out anything.
I ftp'd my phpbb2 board also and it runs fine on the same db on the new server. So it's a problem w/ coppermine.

got me totally stumped.

donnoman

do a winmerge between those two files, obviously something has been introduced into your new copy.

desert_dave

Well, after screwing around with it for 4 hrs, I'm not sure what I finally did but it will come up now but only with the full address /gallery/index.php
why would that be?

donnoman

If you won't bother to take the advice your given, why are you asking for help?

desert_dave

Quote from: donnoman on March 07, 2005, 12:03:28 AM
If you won't bother to take the advice your given, why are you asking for help?

Probably because your advice is bad. Where do you see I have two copies to merge in the first place. I have one copy and it's pretty damn hard to merge one copy of anything. I suggest YOU understand the problem before giving advice.
-dd

donnoman

Quote
So I tried a fresh copy of cpg132 and it worked fine.

So by my count you have two copies, the one that doesn't work, and the fresh one that does.

I can only go by what you say... and you haven't given a whole lot of information to go on... not even a link to your site.


Tranz

Quote from: desert_dave on March 06, 2005, 11:42:51 PM
Well, after screwing around with it for 4 hrs, I'm not sure what I finally did but it will come up now but only with the full address /gallery/index.php
why would that be?
It's probably a server setting where index.php isn't being recognized as a legit index file.


To make index.php your index page, you can edit the .htaccess file located in your root directory (depending on your web host). If you do not have this file, you can create it.

To change the default page, either edit the existing DirectoryIndex line or add the following:

    DirectoryIndex index.php

This will make index.php the default page.

By using a .htaccess file in a subdirectory, you can specify a different default page for that one directory without affecting the rest of your site.

If you can't do this you need to contact your web host.