Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke
Author Message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Thu Aug 12, 2004 8:28 pm Reply with quote

My web host has display_errors on in the master php.ini. We can't edit httpd.conf, and because PHP is compiled as CGI instead of an Apache module, we can't turn off display_errors in .htaccess. Thus, a custom php.ini in the nuke directory is the only choice.

However, when I tried this, users (including me) could not log in (I could as an admin, though). phpinfo() showed that display_errors WAS off.

When I renamed the php.ini, users could log in again.

What gives?
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Aug 12, 2004 8:40 pm Reply with quote

Guess I didn't read your post close enough.
You can set them to off in the mainfile php too
/* This shuts of uninitialized error reporting */
error_reporting( E_ERROR | E_WARNING | E_PARSE | E_COMPILE_ERROR );

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
kguske
PostPosted: Fri Aug 13, 2004 9:32 am Reply with quote

Thanks again, sixonetonoffun. I also used ini_set in mainfile to turn off display_errors.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Security - PHP Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©