art1c0 / mooha

Automatically exported from code.google.com/p/mooha
0 stars 0 forks source link

Null size for error.log #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install 0.3b version on a server
2. Connect on the server with a bad id

What is the expected output? What do you see instead?
I expect some error information in "error.log", but he has a null size. By the 
way, "mooha.log" contains informations.

What version of the product are you using? On what operating system?
0.3b on a synology server (linux)

Please provide any additional information below.

Original issue reported on code.google.com by kloryd...@gmail.com on 30 Aug 2010 at 3:48

GoogleCodeExporter commented 9 years ago
Did you make the error.log file writable for the webserver / php user? I get 
errors as expected in error.log, so it's not completely broken.

Original comment by matthijskooijman@gmail.com on 31 Aug 2010 at 9:59

GoogleCodeExporter commented 9 years ago
in config.php file line 33 change the false value to true.
CMIIMW.

Original comment by friz...@gmail.com on 19 Sep 2010 at 7:13

GoogleCodeExporter commented 9 years ago
error.log is writable like mooha.log.

And my line 33 :
// do not show errors in pages (must be FALSE in production)
ini_set('display_errors', TRUE);

But despite I get some errors (407, 404...), the size is always zero.

Original comment by kloryd...@gmail.com on 8 Oct 2010 at 2:35

GoogleCodeExporter commented 9 years ago
I had to add this to config.php
// enable error logging
ini_set('log_errors', TRUE);

Original comment by pl4nk...@gmail.com on 10 Oct 2010 at 1:26

GoogleCodeExporter commented 9 years ago
Same here.
This is because upper in my directory structure, I had the following .htaccess 
instruction :
php_flag  log_errors off

Adding log_errors init_set directive to the config file for further releases 
might by handy.

Original comment by vbouil...@gmail.com on 3 Dec 2010 at 2:07