first I took you to excuse my English. I made a website with Symfony which works fine locally. (dev and prod). But as soon as I put online the dev version works but the prod version displays a blank page. Lighttpd does not give me error. PHP does not give me error. Cache and log are writable.
I do not understand anything.
OK, this is highly undesirable situation as you need to squash bugs one-by-one. It could be as benign as missing php module or some major httpd
misconfiguraion.
Some steps that should shed some light on the issue:
Terminal
(you do have ssh
access, right?)httpd
and symfony
)httpd log:
tail -f /var/log/httpd/error_log
... and refresh your page
Symfony
tail -f /path-to-your-symfony-app/app/logs/prod.log
... again, refresh your page
In your comment, you said you encountered HTTP500
error. Is that Apache's or Symfony's HTTP500
?
If you do not hape ssh
access upload your app_dev.php
and run it directly. Be sure to add your IP address to list of allowed (within the file)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With