Page 1 of 1

Solved?? Old setting .... &hidden in restored site. Where?

Posted: Sun Oct 19, 2014 5:49 am
by Andrew Prior
Task: Seeking to restore a site to another server as a test bed.
Site One is called fred.com and the home path is \home\fred\public_html

In My test site (site 2) the path has to be \home\andrew\public_html\fred.com
I have updated all of my config.php to reflect this change of path.

This is the error message I get:

Code: Select all

Warning: require_once(/home/fred/public_html/modules/ErrorLogger/ErrorLogger.handler.php) [function.require-once]: failed to open stream: No such file or directory in /home/andrew/public_html/fred/config.php on line 44

Fatal error: require_once() [function.require]: Failed opening required '/home/fred/public_html/modules/ErrorLogger/ErrorLogger.handler.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/andrew/public_html/fred.com/config.php on line 44 
This says to me that the old path /home/fred/public_html is surviving in a file or in the database somewhere. It is not in config.php or in .htaccess...
Where else would I look?

Version 11.9 “Bartolome” on LAMP

Re: Old setting persisting &hidden in restored site. Where?

Posted: Sun Oct 19, 2014 5:53 am
by Rolf
Clear Cache?

Re: Old setting persisting &hidden in restored site. Where?

Posted: Sun Oct 19, 2014 6:09 am
by Andrew Prior
Certainly did, Rolf.

I took a guess here and added the following:

Code: Select all

$config['include_path'] ='.:/home/andrew/public_html/fred.com/lib/php://home/andrew/public_html/fred.com/local/lib/php';
Now letting me in. So I'm solved... I think