CodeIgniter Forums
CI App working locally but not on my server? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CI App working locally but not on my server? (/showthread.php?tid=5241)



CI App working locally but not on my server? - El Forum - 01-13-2008

[eluser]mck9235[/eluser]
I was working on a CI application on my own machine that was running perfectly. I then tried uploading it to my webserver and I keep getting a message saying that it's not able to locate my two custom models, which work fine on my local machine. I checked and all the paths are defined properly and the model files are definitely there. (It's PHP 5 on the local machine, 4 on the server).

Any insight would be greatly appreciated!


CI App working locally but not on my server? - El Forum - 01-13-2008

[eluser]Michael Wales[/eluser]
Please copy-paste the error. Almost sounds like a uri_protocol issue (within config.php), that's usually the culprit when going live.


CI App working locally but not on my server? - El Forum - 01-13-2008

[eluser]mck9235[/eluser]
Sorry, should've done that first:
"
An Error Was Encountered

Unable to locate the model you have specified: user_model"

It's the standard CI show_error() message styling.

Thanks


CI App working locally but not on my server? - El Forum - 01-13-2008

[eluser]Rick Jolly[/eluser]
Here's a guess:

Is your user_model class named User_model or User_Model? If your moving from a case-insensitive server (windows) to a case-sensitive linux server then User_Model will not work.


CI App working locally but not on my server? - El Forum - 01-13-2008

[eluser]wiredesignz[/eluser]
This comes up so many times in the forums that there should be a sticky discussion about the problems with CI going from development to a live server.