Amazon EC2 error

Hi,

I just moved my project to Amazon EC2 (Linux) but my project is giving a lot of errors like undefined variable, can’t find model and more.

In my old host everything is working perfect and it’s the same code, same database.

One of the errors is:

Fatal error: Class ‘MyClass’ not found in /var/www/html/framework/yiilite.php on line 7381

but that error doesn’t occur on my other server.

Does anyone knows what could be happening?

Is MyClass a class of yours?

Sometimes, seeing warnings like undefined variable messages now when you couldn’t before could be because your previous PHP installation had more relaxed error reporting settings and was not catching variables you may have been trying to use but didn’t exist.