PHP errors are not displaying on the page you are developing. You only have SFTP Access to change files. How do you display the errors?
views:
99answers:
5
A:
You can set error_reporting to display all errors:
error_reporting(E_ALL);
Franz
2009-12-07 19:40:18
+2
A:
Per-file change:
<?php ini_set('display_errors', 1); error_reporting(E_ALL);
Global change in your .htaccess file:
php_value display_errors on
php_value error_reporting 8191
Global change in your php.ini file:
error_reporting = E_ALL
display_errors = On
jkndrkn
2009-12-07 19:40:54
+3
A:
Try enabling error reporting on top of the script:
ini_set ('display_errors', true);
error_reporting (E_ALL);
Deniss Kozlovs
2009-12-07 19:40:59
side note: this won't work for parse errors in the initial script. a) it's another parameter (display_startup_errors) and b) the error occurs before ini_set() is executed.
VolkerK
2009-12-07 19:55:48
That's correct.
Deniss Kozlovs
2009-12-07 20:15:31
A:
from http://php.net/manual/en/errorfunc.configuration.php
ini_set('error_reporting','On');
should do the trick
Neil Sarkar
2009-12-07 19:41:08
A:
You can set the error reporting level on a page-by-page basis by using the error_reporting() function.
E.g.
error_reporting(E_ALL);
Will tell the interpreter to display any errors and warnings it encounters.
justinbach
2009-12-07 19:41:17