views:

20

answers:

2

I just moved my ZF application from one server to another, and everything is loading smoothly, except for forms. It just throws this error:

Fatal error: Class 'Admin_Form_Cms_AddForm' not found in /xx/application/modules/admin/controllers/CmsController.php on line 42

The modules, models, controllers are loaded as they should be, but no forms. What could have gone wrong, and how do I fix this?

A: 

Is it possible your application.ini file is diferenton the server? Maybe the evironment variable being on production it changes something for you? And are you sure everything is the same?

Iznogood
A: 

Are you moving from a Win Server to a *nix server? Remember the filenames are case sensitive, so that could be the problem.

Chris
Thanks! My Forms folder was further divided into subfolders, and the "Cms" folder was called "cms", so this solved my problem. Thanks!
Janis Peisenieks
Glad to help ;-)
Chris