ulduz114
ulduz114

Reputation: 1180

zend framework project shows blank page without any errors

i created a simple project with zf and it works fine, but when i copy it to other pc it just show a blank page without any page or errors ?

my zf version is 1.9 and in other pc zf version 1.9 too

what do you do about this problem?

Upvotes: 2

Views: 10053

Answers (3)

Andrei Regiani
Andrei Regiani

Reputation: 7

This error is caused because your server is running version 4 of PHP, change to version 5 and it will work.

Upvotes: -1

mik
mik

Reputation: 1575

Do you have error reporting enabled on your machine? Make sure, that you have these lines in your php.ini file:

error_reporting = E_ALL
display_errors = on

It will help you to find the problem by showing the error. If it doesn't help, try to put this code in your index.php in public directory

ini_set('display_errors', 1);

Also make sure, that DocumentRoot points to your Zend project public folder.

Upvotes: 8

vfilby
vfilby

Reputation: 10008

Are the memory limits the same on both servers? I have seen similar results using php (with zend, albeit). When I run out of memory, just a blank white screen is the result.

Upvotes: 0

Related Questions