{"id":660,"date":"2017-03-15T20:18:48","date_gmt":"2017-03-15T20:18:48","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=article&#038;p=660"},"modified":"2020-08-05T18:41:45","modified_gmt":"2020-08-05T18:41:45","slug":"view-error-log","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/view-error-log\/","title":{"rendered":"How to View the Error Log in cPanel"},"content":{"rendered":"<p>cPanel allows the users to view errors generated by their website. The error log in cPanel shows HTTP errors that occur when visitors try to view your site, this log contains the time, date, error message, \u00a0visitor\u2019s IP address, directory\u00a0path, and domain name. It&#8217;s a good idea to check you error log frequently to fix problems that affect your search engine ranking and website functionality.<\/p>\n<p>In this article, we will review how to view your error logs for both Apache and PHP from within cPanel.<\/p>\n<p><strong>1)\u00a0<\/strong><a href=\"https:\/\/chemicloud.com\/kb\/article\/login-cpanel-whm-account\/\">Log into cPanel<\/a>.<\/p>\n<p><strong>2)<\/strong> Look for the \u201c<strong>METRICS<\/strong>\u201d section and click on\u00a0<strong>\u201cErrors\u201d<\/strong>.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/08\/alakazam.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2020\/08\/alakazam.png\" width=\"2088\" height=\"608\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>3)<\/strong> The Error page will show the last 300 error log messages on your website.<\/p>\n<p><a href=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/Screenshot-12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-662\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2017\/03\/Screenshot-12-1024x183.png\" alt=\"error log cpanel\" width=\"840\" height=\"150\" \/><\/a><\/p>\n<p>Checking this log frequently can help keep your site running smoothly.<\/p>\n<p><strong>If you have further questions or need\u00a0assistance, please do not hesitate to contact our support team.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cPanel allows the users to view errors generated by their website. The error log in cPanel shows HTTP errors that occur when visitors try to view your site, this log contains the time, date, error message, \u00a0visitor\u2019s IP address, directory\u00a0path, and domain name. It&#8217;s a good idea to check you&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[34],"ht-kb-tag":[],"class_list":["post-660","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=660"}],"version-history":[{"count":5,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/660\/revisions"}],"predecessor-version":[{"id":3207,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/660\/revisions\/3207"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=660"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=660"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}