Welcome Guest, Not a member yet? Register   Sign In
Require once error when moving to production server
#1

[eluser]term25[/eluser]
I have a strange error when moving from localhost (where everything works fine) to a production server. This is what I get:

Code:
Warning: require_once(/web/htdocs1/mywebsitecom/home/www/system/core/codeIgniter.php) [function.require-once]: failed to open stream: No such file or directory in /web/htdocs1/mywebsitecom/home/www/index.php on line 202

Fatal error: require_once() [function.require]: Failed opening required '/web/htdocs1/mywebsitecom/home/www/system/core/codeIgniter.php' (include_path='.') in /web/htdocs1/mywebsitecom/home/www/index.php on line 202

I have just changed the name of my site to mywebsitecom, everything else is the same.

When I look on the line 202 in index.php there is this:

Code:
require_once BASEPATH.'core/codeIgniter.php';

Can anybody help my how to run it on my host, because on my localhost it runs fine.


Messages In This Thread
Require once error when moving to production server - by El Forum - 06-24-2012, 01:46 PM
Require once error when moving to production server - by El Forum - 06-24-2012, 01:56 PM
Require once error when moving to production server - by El Forum - 06-24-2012, 02:09 PM
Require once error when moving to production server - by El Forum - 06-24-2012, 02:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB