1
wwang
help in xoops error reporting
  • 2004/6/27 19:53

  • wwang

  • Just popping in

  • Posts: 11

  • Since: 2004/2/21


I installed XOOPS in my server. And my server (for all domains) php error reporting emssed up. This is so wrong, XOOPS changes php configuration. None of the my other sites can display any php error. Please help, how can I display php errors? This really dirves me nuts.

2
Herko
Re: help in xoops error reporting
  • 2004/6/27 20:00

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


XOOPS can't change the php configuration. It just doesn't have those rights nor the code to do that. So I think you have to look at other causes as well.

As for showing PHP errors, go to system admin -> preferences -> general settings, and that's where you can set the Debug type to PHP debug (it is set to 'none' by default).

Herko

3
wwang
Re: help in xoops error reporting
  • 2004/6/27 20:15

  • wwang

  • Just popping in

  • Posts: 11

  • Since: 2004/2/21


First, thanks for reply me

Second, It does not change my server config (if it does, I will be real pissed) it does change my php error reporting for entire server. I am not talking about display php error under XOOPS site (i am trying to remove this junk, sorry to say this but this is true for me, after use it for five month, it just gives me too much trouble), I am talking display php error in my other site.

4
Mithrandir
Re: help in xoops error reporting

I agree with Herko... nothing in XOOPS should be able to affect other scripts.

if no XOOPS files are accessed or included, nothing in XOOPS can affect the script you are running.

5
wwang
Re: help in xoops error reporting
  • 2004/6/27 20:31

  • wwang

  • Just popping in

  • Posts: 11

  • Since: 2004/2/21


OK, from sourcing code, XOOPS does change php error reporting. don't deny it, source can tell this. if you still deny it, go to source then check php menu, if you still think you are right, copy source, and write test code, run it. IF you still say XOOPS does not change php error reporting, I have nothing else can tell.

All I want is: simply display php errors for my other site.

6
Mithrandir
Re: help in xoops error reporting

Xoops code changes PHP error reporting. WHEN RUN!

I cannot see how XOOPS code, which is not run, can affect other scripts. If that was the case, we could simply have a file run every time the debug settings were changed and leave out the error level setting in include/common.php - but we cannot.

7
tl
Re: help in xoops error reporting
  • 2004/6/27 20:36

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Any proof of your rumbling? Ask others to show proof, shouldn't you show the proof first?! If things did not work, try to figure it out why. Don't try the blame game.

As Herko and Mithrandir said, XOOPS does not affect other scripts unless you included XOOPS in your other scripts.

8
wwang
Re: help in xoops error reporting
  • 2004/6/27 20:48

  • wwang

  • Just popping in

  • Posts: 11

  • Since: 2004/2/21


ok, I have two servers installed XOOPS (live and dev), right after I install it, php error reporting's changed. I went to XOOPS source, there are few place code XOOPS change php error reporting to XOOPS error reporting style. It does affect my other site (virtual host), none of my sites can display php error, this is beyond pain if you are programmer. Also I would just recommand you look php error reporting related functions.

9
tl
Re: help in xoops error reporting
  • 2004/6/27 20:56

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


php error reporting is controlled by php.ini file. XOOPS can not change that file. XOOPS merely changes the way the errors are reported when it is CALLED/RUN.

If your other site has no relationship with xoops, then XOOPS does not have anything to do with error reporting by the other site. You need to figure out why it is not reporting.

10
Mithrandir
Re: help in xoops error reporting

Quote:

wwang wrote:
I went to XOOPS source, there are few place code XOOPS change php error reporting to XOOPS error reporting style. [...] Also I would just recommand you look php error reporting related functions.

XOOPS uses error_reporting(), which is described in the manual as:
Quote:

The error_reporting() function sets the error_reporting directive at runtime. PHP has many levels of errors, using this function sets that level for the duration (runtime) of your script

Login

Who's Online

370 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 370


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits