|P is for Practical|
Re^2: Perl and Mysql logsby PierreForget (Initiate)
|on Mar 19, 2013 at 14:11 UTC||Need Help??|
Hi and thank you for the reply.
The clientpreno is a voluntary mistake, so that the system will generate a Mysql error. Otherwise, the Perl script gets executed without generating any error. The purpose is to be able to get Mysql errors when there is an error in the code. Actually, I am not able to debug the Mysql code in Perl, because it doesn't generate any Mysql error when the script is called from a browser. If it's called from root, I get the Mysql error. If it's called from root with a chroot, I still get the error.
Called from root:
Called from root with a chroot:
Called from a browser (results from the Apache logs):
Just like I said in the previous post, if I make a Perl error, I get the usual "Premature end of script headers".