I want to deploy my project made in zend framework to my shared hosting.
My project has such structure:
application
docs
library
Obsolete
public
scripts
tests
This is what I have done:
-
I copied Zend folder (all library files) into library folder
-
I copied all the structure above into public_html/projects/project
(so if I type http://www.mydomain.com/projects/project/public I run the project -
I tried to click on some link so that it redirected me to http://www.mydomain.com/projects/project/public/someController/someAction
Unfortunately all i see is a white, empty page.
Locally (using Zend server CE) it worked perfectly
Here it looks like Zend doesn’t recognize that it should do anything with this url and redirecto to appropriate action.
What have I missed?
Greetings!
The reason you see empty page instead of errors is that
error_reportingis probably off by default on your production server.You may change the settings concerting displaying errors and exceptions in
application.ini.The other cases the errors are not displayed is something goes wrong in the view (eg. view helpers), which must return string, not the exception.
Things to check: