On Wed, 31 Mar 2010 13:44:27 +0800, Dasn wrote:
Hello guys,
I write a web application on my localhost (windows) and everything works
fine, but on a remote server (linux), it reports:
Fatal error: Undefined class constant 'EXCEPTION_NO_ROUTE' in
/path/to/application/controllers/ErrorController.php on line 12
It seems wired to me, since the constant is defined in class
'Controller_Plugin_ErrorHandler', and I think the class was already
loaded otherwise it should have reported 'class
Controller_Plugin_ErrorHandler not found'.
The ErrorController.php was automatically generated by zf.bat, which I
never touched.
Any idea?
Thanks in advance.
My fault, I just found I misused the ZF version. The version on the server
is v1.09 while the localhost one is v1.11dev.
Sorry for the trouble.
--
Dasn