-
Not so smart error log
Error log on cpanel is pretty well un-intelligent.
It's scanning files for errors when the file is an include in a php script, but it scans the file before it's included causing the error log to flood with errors of missing files (mainly images).
Is it supposed to be designed this way? I've got multiple CSS included into PHP that give pathing to their image folders as /images/ but it doesn't exist at root and that appears to be what the error log is checking for. It's relative to the location of the PHP, which is established in the PHP file it self.
Just really annoying to have to weed through fake errors to find any real ones. Anyway to have it ignore this?
Any case I'm not going to rely on the error log at all. It's just not accurate at all. I've found maybe 2 bugs of real missing files, but I've made my own error logger now that properly gives me real error logs.
Anyway, just thought I'd share lol.
Can we at least turn the error log off though, because this is posing a huge problem as the site appears to stop or slow down significantly trying to frantically find the stupid file that already exists just not where the error log wants it.
-
-
I've found this log to be useless before, and looking at it again now I remember why. I mean, hundreds of errors that really don't seem to be errors. Very confusing.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules