Yii Framework Forum: class not found fatal error - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

class not found fatal error class not found fatal error Rate Topic: -----

#1 User is offline   maggi 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 14
  • Joined: 30-November 11

Posted 18 July 2012 - 01:52 PM

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
0

#2 User is offline   twisted1919 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 699
  • Joined: 23-October 10
  • Location:Romania

Posted 18 July 2012 - 03:07 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users