[eluser]fjamal[/eluser]
[quote author="Aken" date="1350012919"]First, what version of PHP is your production running? The anonymous function you're using is supported in 5.3+
The second error (Frontend_Controller not found) could be your autoload function not correctly loading the files necessary (which is just a guess). You might consider adding an include / require call directly in your MY_Controller file, or even add those classes to the file (you can add whatever classes you want, doesn't have to be only one - it's just normal PHP code here). You actually don't even need to name your class MY_Controller - just the file needs to be named that.[/quote]
My production server has PHP Version 5.2.17. Development environment has PHP 5.3.1.
Quote:The second error (Frontend_Controller not found) could be your autoload function not correctly loading the files necessary (which is just a guess).
If that was the case, it wouldn't work in localhost.
Quote:You might consider adding an include / require call directly in your MY_Controller file, or even add those classes to the file (you can add whatever classes you want, doesn't have to be only one - it's just normal PHP code here).
Will try it and see how it goes.
Cheers