|
|||
|
Here's my include path: set_include_path('.' . PATH_SEPARATOR . './library/' . PATH_SEPARATOR . './application/forms/' . PATH_SEPARATOR . './application/models/' . PATH_SEPARATOR . get_include_path());
I've verified that the Forms.php file in in the Zend folder locally and on the server. Here is the error I get: Fatal error: Class 'Zend_Form_Element_Text' not found in /home/tplgame/public_html/application/forms/RegisterForm.php on line 11 This makes absolutely no sense to me. I'm including the file but for some reason it isn't seeing it or something. If anyone can help it would be greatly appreciated. Here's my form: PHP Code:
|
|
|||
|
Just a quick comment. are you sure the server has permissions to that file? You problem looks very much like a permission problem.
I usually set the group to www-data (the server) and grant full rights to owner and group Code:
sudo chgrp -R www-data <folder name> sudo chmod -R 774 <folder name> |
|
|||
|
If it was a permissions problem I wouldn't be able to load any of those files, and the site wouldn't run since 5 or so of those classes are loaded on the index page. I know what you're saying though, there doesn't appear to be any issues with syntax or anything.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|