phpapachezend-frameworkzend-framework2zend-session

Zend: blank screen


For my work i have to edit a website which has been created with the Zend framework. When i deploy them on my test server and browse to the index.php all i get is a blank screen.

I have display_startup_errors and error_reporting turned on and no errors are shown..

Maybe it has something to do with the paths in some files of the website since it has been created by another company which has given me the files after they deployed the website on an actual server.

I really hope someone can help me out.. I have searched through the internet but never found a solution even though multiple people have had my problem.

Thanks in advance.


Solution

  • If you have set display_errors and error_reporting in a standard Zend way in the application.ini file and still a white screen then your problem starts before you even get to load the config file.

    Add these values temporarily to the beginning of your index.php file

    error_reporting(E_ALL ^ E_NOTICE);
    ini_set('display_errors', 1);
    

    This should tell you of any errors in the index.php file like path settings.