PDA

View Full Version : phpnuke 7.5 question


chris44gw
12-07-2004, 09:54 AM
I just installed phpnuke 7.5 on my computer. I'm running IIS, PHP Version 5.0.2, and MySQL ver. 4.1.7. After installing everything I went to the admin.php page and got all kinds of errors and warnings for different pages. I did the search thing and read somewhere that the error level display in PHP was set to high. I then set

display_errors = Off

and everything seems to be working fine now. My question is if you have been in this situation before has this happened to you and am I just covering up a problem or was the error display really what was wrong. Thanks for any advice.

-Chris

Charter
12-08-2004, 12:13 PM
Personally I try to remember to set error reporting to the highest level when coding to avoid the issue you mention, but different developers code in different ways. If you set display_errors to Off, it of course gets applied to all scripts. Maybe try using error_reporting(0); in the nuke script itself. Also check out the following links.

http://www.php.net/manual/en/function.error-reporting.php
http://www.php.net/manual/en/ref.errorfunc.php

chris44gw
12-09-2004, 11:36 AM
I'll give it a try. Like everyone else I've gotten busy and had to move onto some work. I'll get back when I have something new. Thanks though.

-Chris