{"id":1540,"date":"2019-02-08T10:35:56","date_gmt":"2019-02-08T10:35:56","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583298-where-to-find-your-website-s-error-logs-in-hostinger\/"},"modified":"2026-03-16T12:12:17","modified_gmt":"2026-03-16T12:12:17","slug":"1583298-where-to-find-your-website-s-error-logs-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583298-where-to-find-your-website-s-error-logs-in-hostinger\/","title":{"rendered":"Where to Find Your Website&#8217;s Error Logs in Hostinger"},"content":{"rendered":"<p class=\"no-margin\">The error log provides valuable information to identify and troubleshoot issues within your website&rsquo;s PHP code. If you have <b><a href=\"\/support\/4259219-how-to-turn-on-php-error-messages-in-hpanel\" target=\"_blank\" class=\"intercom-content-link\">enabled PHP error logging<\/a><\/b>, your error log file will be located in the <b>.logs<\/b> folder. <br>&#8203;<br>You can reach <b>.logs<\/b> from the <b>Access all files of your web hosting<\/b> option on <b><a href=\"\/support\/4548688-basic-actions-in-file-manager\" target=\"_blank\" class=\"intercom-content-link\">File Manager<\/a><\/b>:<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/14a0fc3d-67e4-454e-b253-26103b8fa6b9.jpg\"><\/div><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/blog.hostinger.io\/pt\/support\/wp-content\/uploads\/sites\/59\/2022\/08\/20591166-1c8f-4737-8c42-0e71f05802d4.jpg\" alt=\"The .logs folder on the File Manager\"><\/div><p class=\"no-margin\">Your website&rsquo;s error log file name will be composed of &ldquo;<b>error_log_<\/b>&rdquo; and the name of the domain or subdomain. The content of the file will look similar to this: <\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/blog.hostinger.io\/pt\/support\/wp-content\/uploads\/sites\/59\/2022\/08\/3736e162-a290-4c00-b5c6-e5b764d8295d.jpg\" alt=\"The file editor displaying a sample error log file\"><\/div><h2 id=\"what-if-logerrors-is-enabled-but-errorlog-file-does-not-exist-what-is-the-file-is-empty-\">Missing or Empty error_log Files <\/h2><p class=\"no-margin\">If the <b>error_log<\/b> file does not exist or is empty, first, double-check that you have enabled PHP error logging. Errors will start being registered from the moment you enable error logging onward. Previous errors will not be added to the log.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">In addition, <b>error_log<\/b> files will only register PHP errors, such as <b>Warnings, Deprecated, Notices<\/b>, etc., and will not store other types of errors, like server, resource-related, database, domain-related, or similar errors.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If your <b>error_log<\/b> file is empty or does not exist, it means that <b>there are no PHP errors<\/b> on your website since you started logging.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tracking your website errors through the PHP error log files<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[231],"tags":[],"class_list":["post-1540","post","type-post","status-publish","format-standard","hentry","category-php-errors"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583298-where-to-find-your-website-s-error-logs-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583298-donde-puedo-encontrar-registros-de-errores-de-mi-sitio-web-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583298-comment-puis-je-trouver-les-journaux-d-erreurs-de-mon-site-web-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583298-di-mana-saya-bisa-mencari-error-logs-untuk-website-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583298-onde-encontrar-os-logs-de-erro-do-seu-site-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583298------hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1540"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"predecessor-version":[{"id":5346,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540\/revisions\/5346"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}