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
Problem after trying to copy to live section of site
Re: Problem after trying to copy to live section of site
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
you did change the config.php to reflect the new path AND clear the cache? Try clearing the cache and see what happens....
Ronny
-
pixel8
Re: Problem after trying to copy to live section of site
Thanks for getting back quick RonnyK.
Cleared the cache with no joy.
Any idea what/where I need to change in the config.php?
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
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
Ronny
-
pixel8
Re: Problem after trying to copy to live section of site
I moved everything via FTP, so I'll go and check if the permissions have changed any.
Cheers
Cheers
-
Pierre M.
Re: Problem after trying to copy to live section of site
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.
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.

