class not found fatal error

I get the following error:

Fatal error: Class ‘AutoRunLog’ not found in /var/www/ar745u/protected/modules/TMATS/controllers/TestPlanController.php on line 118

even though the AutoRunLog Model is there under …/TMATS/models/ folder.

I also changed the permissions to 0777.

Any help is appreciated

Check the model file name to be the same as the model class definition in the file(uppercase/lowercase/etc).

If you’ve developed under windows and moved to linux that’s probably the issue.

Windows is case-insensitive, while linux is not.