Page 1 of 1

Problem after trying to copy to live section of site

Posted: Wed Jul 11, 2007 8:45 pm
by pixel8
I've recently tried to copy my site from the test area (sub folder) to the 'live' section, and then brought it all back because it didn't work. So now when I 'View Site' I get the following message:


Warning: main() [function.main]: Unable to access ../include.php in /home/users/uks35277/html/stg.uk.com/cms/index.php on line 27

Warning: main(../include.php) [function.main]: failed to open stream: No such file or directory in /home/users/uks35277/html/stg.uk.com/cms/index.php on line 27

Fatal error: main() [function.require]: Failed opening required '../include.php' (include_path='/usr/local/lib/php:./') in /home/users/uks35277/html/stg.uk.com/cms/index.php on line 27


Can anyone throw any light on this issue?

Cheers

Re: Problem after trying to copy to live section of site

Posted: Wed Jul 11, 2007 9:03 pm
by RonnyK
pixel8,

you did change the config.php to reflect the new path AND clear the cache? Try clearing the cache and see what happens....

Ronny

Re: Problem after trying to copy to live section of site

Posted: Wed Jul 11, 2007 9:09 pm
by pixel8
Thanks for getting back quick RonnyK.
Cleared the cache with no joy.
Any idea what/where I need to change in the config.php?

Re: Problem after trying to copy to live section of site

Posted: Wed Jul 11, 2007 9:37 pm
by RonnyK
If you change from a subdir to the higher level dir, you should change the config.php too. There is the path given where the site-root is located. How did you move the site, FTP-ing or the window-way? If you did it by FTP there might be rights involved as well.

Ronny

Re: Problem after trying to copy to live section of site

Posted: Wed Jul 11, 2007 10:02 pm
by pixel8
I moved everything via FTP, so I'll go and check if the permissions have changed any.

Cheers

Re: Problem after trying to copy to live section of site

Posted: Thu Jul 12, 2007 4:08 pm
by Pierre M.
Hello,

you can try a full reinstall in the higher level folder without creation of database tables/objects to get a new config.php and keep your current content. But backup is your friend.

Pierre M.