BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Coding and development discussion => Topic started by: Xenixa on April 25, 2006, 10:22:34 pm

Title: PHP Error Logging/Trouble shooting
Post by: Xenixa on April 25, 2006, 10:22:34 pm
On another topic it came to light why I use a pause in my batch file. Then the little light over my head went on in the form of a question mark. "Why are you not logging errors for easier trouble shooting?" *smacks own forehead*

Anyway, changed my php.ini for Bebot v0.3.2
May I suggest we use this in future releases:
php.ini
Code: [Select]
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 0
error_log = ./log/php_errors.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

memory_limit = 20M
extension_dir = ./php_extension/

Would make it easier to troubleshoot problems and other users with questions that don't know how to fix could paste the relevant errors to us here on the forums from the log.
Title: Re: PHP Error Logging/Trouble shooting
Post by: Khalem on May 23, 2006, 10:40:02 am
Duly noted and added to SVN for 0.3. Will add to 0.2.x later :)
SimplePortal 2.3.7 © 2008-2024, SimplePortal