Jump to content


Photo

Huge php notice files


  • Please log in to reply
3 replies to this topic

#1 Mateobus

Mateobus
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts

Posted 29 October 2006 - 03:31 AM

hello I have recently switched to a dedicated server. Since then, My php scripts have outputted huge multi gigabyte files with php notices and errors such as undefined var errors. Is there a way to turn this off so that these files stop eating up my server space? Maybe a php.ini line or something?

#2 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 29 October 2006 - 03:39 AM

See php.ini settings:

http://us2.php.net/m...error-reporting

http://us2.php.net/m....display-errors

within script:

http://us2.php.net/m...r-reporting.php

http://us2.php.net/m...ion.ini-set.php

Try and look at what the notices are and fix it in the code because some of the notices might indicates serious flaws in code/logic.


#3 Mateobus

Mateobus
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts

Posted 01 November 2006 - 09:48 PM

So if I didnt want to log any errors, the line would be log_errors = 0, correct?

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 02 November 2006 - 06:28 PM

Yes. However use Off rather than 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users