Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Sonny on February 16, 2003, 11:14:48 PM
-
Hi!
I have tryed to enable the php error displaying on the client browser, but without luck :-(
I have searched this forum but i can't finde anny solution...
What do i have to do for enable this "feauture" ??
-
Have you enabled that option in the php.ini file?
-
yes...
I have in the
/etc/e-smith/templates/etc/php.ini/30ErrorHandling
set the following
---- snip ----
error_reporting = E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = On
error_log = syslog
track_errors = Off
warn_plus_overloading = Off
And then restartet the httpd deamon, with the comand httpd restart
And i have allso tryed to make a custom template fragment, but it seames that id did not suxceed :-(
Anny idear ?
-
Did you expand the template before restarting httpd?
-
i have createt the
/etc/e-smith/templates-custom/etc/php.ini/30ErrorHandling
and it is an true copy of the orginale file....
i have doone this
mkdir -p /etc/e-smith/templates-custom/etc/php.ini
cd /etc/e-smith/templates-custom/etc/php.ini
copy /etc/e-smith/templates/etc/php.ini/30* .
/sbin/e-smith/expand-template /etc/php.ini
Found i this froum at
http://forums.contribs.org/index.php?topic=16389.msg63409#msg63409
But i don't think the expand suxceeded :-(
since it still don'd display anny errors on the client browser...
Anny idear / fix'es i have missed ?
Or have i executet the expand-template thing wrong ?
-
i have just tryed the following :
[root@nos root]# /sbin/e-smith/expand-template /etc/e-smith/templates-custom/etc/php.ini/30ErrorHandling
No templates were found for //etc/e-smith/templates-custom/etc/php.ini/30ErrorHandling.
at /usr/lib/perl5/site_perl/esmith/util.pm line 88
And as you can see i got an error... am i expanding the template wrong or... ??
-
Yes, you're expanding the template wrong. You had it right the first time:
/sbin/e-smith/expand-template /etc/php.ini
-
okay... now i can see i /etc/php.ini that
display_errors = On
and then i have done an
/etc/rc.d/init.d/httpd restart
And there is still no errors showen to the user... :-(
Any other sugestion ??