So you have a website and its all looking amazing and running really fast, or is it?

Even though your website may appear to be working fine there may be an issue happening every time a page is loaded by a single user, so if you think about it if you have 10 pages and a user views them once and you have 100 users doing the same thing every day, that can total up to and if not more than 1,000 errors.

So now you're thinking if your site looks ok and appears to be working ok, how do i know? Well most websites these days run on PHP and every website will have some sort of log to go with it. If you have hosting with us or on your VPS with Linux hosting with cPanel you can also find a PHP error log which will log the errors also.

Here is an example of something you can expect;

[26-Feb-2020 12:45:03 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:45:03 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:46:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:46:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:47:01 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:47:01 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:48:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:48:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:49:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:49:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:50:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:50:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:51:01 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:51:01 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:52:01 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:52:01 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268
[26-Feb-2020 12:53:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1265
[26-Feb-2020 12:53:02 UTC] PHP Warning:  Cannot modify header information - headers already sent in /wp-includes/pluggable.php on line 1268

The log file this was taken from had 469,152 lines in just like the above and was only 5 days worth of errors and the website owner was not aware of this. Some of them can be minor issues where others can be serious security breaches so its good to make sure you can act on these as soon as you can.

For DanumHost users you can find a log file like the one reported above by logging into your cPanel account, clicking on file manager, then go into the logs folder and then you will have 1 log file for every domain you have in your cPanel account with the archived ones compressed in a .gz file.

Don't worry if you open your logfile and there is nothing in there are this is a good thing as no PHP errors are been picked up.

Also having small log files also helps on your storage if you ever think you are running low. These can always be deleted safely without affecting your account as new ones will be generated when the next error occurs.

If you would like assistance in locating this file or would like this file making available to you by an easier route please contact a member of our team.

 



Wednesday, February 26, 2020





« Back