Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jvels on November 14, 2006, 10:20:48 AM
-
Hi
Normal on other servers php show a error if there was one in the script. SME only show a with blank page??
Can I in some way enable the error reporting?
-
Some info... (http://www-128.ibm.com/developerworks/opensource/library/os-debug/#N1006E)
You may need a custom version of /etc/e-smith/templates/etc/php.ini/30ErrorHandling
So
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cp /etc/e-smith/templates/etc/php.ini/30ErrorHandling /etc/e-smith/templates-custom/etc/php.ini
Edit /etc/e-smith/templates-custom/etc/php.ini/30ErrorHandling
expand-template /etc/php.ini
/etc/rc.d/rc7.d/S86httpd-e-smith restart
-
The errors are available in the Messages log.
JonB
-
The errors are available in the Messages log.
JonB
I was just coming back to add that.
Nov 14 20:54:22 c3 httpd: PHP Fatal error: Call to undefined function: printaline() in /home/e-smith/files/ibays/Primary/html/phperror/index.php on line 3