• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.

#2
[eluser]PhilTem[/eluser]
It should be

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

see the capitalized CodeIgniter.

#3
[eluser]term25[/eluser]
[quote author="PhilTem" date="1340571371"]It should be

Code:
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

#4
[eluser]PhilTem[/eluser]
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  


Users browsing this thread:
1 Guest(s)


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