I was playing around with different ideas, methods, etc. to log errors. So I was reading the following tutorial:
http://www.spunkyjones.com/tracking-php-errors/
So I executed this code:
<h3><?php echo $_SERVER['DOCUMENT_ROOT']; ?></h3>
but that seemed to cause a lock on my account because I could upload files but they would not display and the site I was working on isn't updating visually. Also, I try to upload a new directory and got a 404 error.
Apologies
Thanks.
Hello,
I was playing around with different ideas, methods, etc. to log errors. So I was reading the following tutorial:
http://www.spunkyjones.com/tracking-php-errors/
So I executed this code:
<h3><?php echo $_SERVER['DOCUMENT_ROOT']; ?></h3>
but that seemed to cause a lock on my account because I could upload files but they would not display and the site I was working on isn't updating visually. Also, I try to upload a new directory and got a 404 error.
Apologies
Thanks.
I was playing around with different ideas, methods, etc. to log errors. So I was reading the following tutorial:
http://www.spunkyjones.com/tracking-php-errors/
So I executed this code:
<h3><?php echo $_SERVER['DOCUMENT_ROOT']; ?></h3>
but that seemed to cause a lock on my account because I could upload files but they would not display and the site I was working on isn't updating visually. Also, I try to upload a new directory and got a 404 error.
Apologies
Thanks.
Now the site is back up but it doesn't record my error logging.
I'm tying different methods:
error_log($error_details, 3, "./logs/errors.log");
file_put_contents("./logs/my-errors.log", $error_details, FILE_APPEND | LOCK_EX);
both methods work on a different host but I know Zymic has their own rules.
Is file writing not allowed?
Thanks.
