bigpy2003

Well-Known Member
Feb 22, 2004
124
0
166
Yes I've tried that. Doesnt work.

Warning: main(/home/square/public_html/functions.php): failed to open stream: No such file or directory in /home/xec96/public_html/header.php on line 3

Is just one of the errors that I am getting.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
I'm currently moving about a hundred sites to a server at the moment and see this type of thing. It usually boils down to the scripts accessing an absolute URL from the top of the domain.

So, to access bob.php at the top of the site, the calling script references:

/bob.php

Of course, using mod_user, this rewrites your crafted URL of:

http://myipaddress/~username/callingscript.php

to:

http://myipaddress/bob.php

myipaddress will then resolve to the first site listed in httpd.conf (usually your site since it's the first one you create), hence the problem.

If it's that, there's nothing you can do about it except wait out the propagation.

We sidestepped this a little by reducing all the DNS TTL's down to 1 hour prior to moving and then restoring them to default, but that's little help to you now ;)