Fatal error: require() [function.require.php]

Permalink
I have just finished building my site on the development server and moved it to its domain. i followed all the instructions for moving a site and updated thed site.php file accordingly. for some reason i get these error messages and i dont no what causes them

error can be seen at:http://pixelfishcreative.com/index.php...

if anyone can help i would be very grateful :)

pixelfish
 
aeroclown replied on at Permalink Reply
aeroclown
Check this in your site.php

define('DIR_REL', '');

It should be the relative path of your installation. so if your concrete install is on the root it should look like what I posted. It looks like a path issue to me, that paths are all mangled, so it isn't able to find the required files for inclusion and execution.

Are you going from linux testing to windows hosting ?
pixelfish replied on at Permalink Reply
pixelfish
Yes it is linux to windows. is there something i should know about?

define('DIR_REL', ''); - i have checked and this is ok.

thank you
aeroclown replied on at Permalink Reply
aeroclown
Well basically, Concrete 5 is built to run with apache and on a linux platform. That hasn't stopped people from running it on windows though.

Its odd that you are having trouble going from windows to linux, though to me it looks like there is a path problem if that is the case.

Warning: require(D:\pixelfishcreative.com\wwwroot\concrete/startup/config_check.php) [function.require.php]: failed to open stream: No such file or directory in D:\pixelfishcreative.com\wwwroot\concrete\dispatcher.php on line 6
Warning: require(D:\pixelfishcreative.com\wwwroot\concrete/startup/config_check.php) [function.require.php]: failed to open stream: No such file or directory in D:\pixelfishcreative.com\wwwroot\concrete\dispatcher.php on line 6
Fatal error: require() [function.require.php]: Failed opening required 'D:\pixelfishcreative.com\wwwroot\concrete/startup/config_check.php' (include_path='.;C:\PHP5\php') in D:\pixelfishcreative.com\wwwroot\concrete\dispatcher.php on line 6


If you look at the errors you can see that these are non-typical locations for the system to look if you are on a linux platform. So there is some information providing the wrong path data.


The paths look really malformed, which is why you are getting file not found errors.

The only thing I can suggest is that you check the files locate in /concrete/config and see if there are paths in there that might need to be changed. Moving hosting platforms is a bit more challenging, then just moving the site on the same host.

This might be something some one else will have to comment on. Just go back and be sure that you follow the direction step by step and verify you have done absolutely every part.

You might also try removing everything in /files/cache to make sure your cache is clear.