Huge file "error.log" and growing all the time

Our support will answer all your general questions here.

Moderator: Rock

Post Reply
dimitry
Posts: 17
Joined: Fri May 30, 2014 5:28 pm

Huge file "error.log" and growing all the time

Post by dimitry »

On one of my sites I have problem with file .../tedata/error.log - it contains of tons of similar lines like
---
[28-Aug-2017 11:19:02 UTC] PHP Notice: [obfuscated](): Timezone ID 'System/Localtime' is invalid in /home/clients/ftp0/domains/mydomain.com/html/v/x.php on line 0
---
How to avoid these errors or limit the size of error.log file?
texpert
Site Admin
Posts: 719
Joined: Sat Mar 14, 2009 5:54 pm

Re: Huge file "error.log" and growing all the time

Post by texpert »

Hello dimitry, if this is the only error in the log file that is filling it up please set the timezone correctly in the php.ini file or ask your host to do it, the parameter should be date.timezone. You can always delete the log via ftp, if you have any other questions please contact us on ICQ.


Best regards,
Alex
Post Reply