• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Require once error when moving to production server

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

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:

require_once BASEPATH.'core/codeIgniter.php';

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

It should be

require_once BASEPATH.'core/CodeIgniter.php';

see the capitalized CodeIgniter.

[quote author="PhilTem" date="1340571371"]It should be

require_once BASEPATH.'core/CodeIgniter.php';

see the capitalized CodeIgniter.[/quote]

Thanks a lot, it was in the letter "C" and it is working now.

However, this is strange that on my WAMP localhost it is working no matter if it is big letter C or small c Smile

You're using WAMP? So you're on Windows? Well then it's pretty obvious, why it did work because Windows gives a s*#% about capitalization other than e.g. Linux Wink

PS: Please mark/edit your topic/original post as [Solved] so it'll be easier for others to see there's no more need to help Wink Thanks!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.