Unable to locate model file..

#4
[eluser]Glen Swinfield[/eluser]
If you look, in Loader.php you will see this:

$model = strtolower($model);

// then looks for model file.

Model 'files' are are all searched for in lower case - Linux is case sensitive, Windows is not. So make sure your filename is lowercase.

Also the manual says:

"Where Model_name is the name of your class. Class names must have the first letter capitalized with the rest of the name lowercase. Make sure your class extends the base Model class.

The file name will be a lower case version of your class name."

That's your problem.


Messages In This Thread
Unable to locate model file.. - by El Forum - 03-18-2008, 05:01 PM
Unable to locate model file.. - by El Forum - 03-18-2008, 05:10 PM
Unable to locate model file.. - by El Forum - 03-18-2008, 05:15 PM
Unable to locate model file.. - by El Forum - 03-19-2008, 04:00 AM
Unable to locate model file.. - by El Forum - 03-19-2008, 07:17 AM
Unable to locate model file.. - by El Forum - 03-26-2008, 07:06 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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