Problem after trying to copy to live section of site

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
pixel8

Problem after trying to copy to live section of site

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
pixel8

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

Post 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?
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post 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
pixel8

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

Post by pixel8 »

I moved everything via FTP, so I'll go and check if the permissions have changed any.

Cheers
Pierre M.

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

Post 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.
Locked

Return to “CMSMS Core”