GetSimple Support Forum
PHP error_log - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: PHP error_log (/showthread.php?tid=127)



PHP error_log - ccagle8 - 2009-09-06

http://www.php.net/manual/en/function.error-log.php

Does anyone have any experience in implementing this feature? I think this would help us tremendously in catching some of the problems that seem to be falling thru the cracks lately. I am hoping it will just be as simple as adding this line in between lines 10-17 of the /admin/inc/functions.php file, but I'm not sure.

Code:
ini_set("log_errors", 1);
ini_set("error_log", "../data/other/logs/errorlog.txt");

Edit: i found this link, and it seems to have walked me thru adding it. So i did, within the functions.php file above, and I've added it to 1.7beta3 - i just need to know if it works now or not.


PHP error_log - crashfellow - 2009-09-06

Very nice!