CSS styles my not apply to the templates :
Some times this happens when you haven't created a virtual host for the application. After the virtual host is created styles will apply properly, or just use some url helper like "baseUrl" when linking the style sheets to the templates.
Error messages when using the commands like "zf enable layout", "zf create db-table ....", "zf create model ...", "zf configure db-adapter", and "zf create action ...." etc...
You may get error like "Action 'enable' is not a valid action", "Action 'configure' is not a valid action"......... etc...
Reason for this may be, the Zend library is not in the include path. If so add the library path to the include path. Or check whether there are old libraries in any directories of include paths that conflicts with the new one. Check whether there is a one as a PEAR package.
And check whether the "zf" command line tool you are using is up to date, and remove if there are any old ones in any location inside your executable PATHs.
Conflicts due to more than one Zend libraries in the include path...
You may get the errors like this:
Fatal error: Cannot redeclare class Zend_Tool_Framework_Client_Console_Manifest
in /var/www/dev/zend/Zend/library/Zend/Tool/Framework/Client/Console\Manifest.php on line 61
To fix the issues like these, just keep one up to date library in the include path, and remove all the others. Sometimes, the same library may be there as a PEAR package.
And also, it's better to stick to a one convention for table names, column names, controller action names etc. This will helpful to avoid some issues that can occur when creating actions, models etc with command line tool (zf).
Some times this happens when you haven't created a virtual host for the application. After the virtual host is created styles will apply properly, or just use some url helper like "baseUrl" when linking the style sheets to the templates.
Error messages when using the commands like "zf enable layout", "zf create db-table ....", "zf create model ...", "zf configure db-adapter", and "zf create action ...." etc...
You may get error like "Action 'enable' is not a valid action", "Action 'configure' is not a valid action"......... etc...
Reason for this may be, the Zend library is not in the include path. If so add the library path to the include path. Or check whether there are old libraries in any directories of include paths that conflicts with the new one. Check whether there is a one as a PEAR package.
And check whether the "zf" command line tool you are using is up to date, and remove if there are any old ones in any location inside your executable PATHs.
Conflicts due to more than one Zend libraries in the include path...
You may get the errors like this:
Fatal error: Cannot redeclare class Zend_Tool_Framework_Client_Console_Manifest
in /var/www/dev/zend/Zend/library/Zend/Tool/Framework/Client/Console\Manifest.php on line 61
To fix the issues like these, just keep one up to date library in the include path, and remove all the others. Sometimes, the same library may be there as a PEAR package.
And also, it's better to stick to a one convention for table names, column names, controller action names etc. This will helpful to avoid some issues that can occur when creating actions, models etc with command line tool (zf).
Comments