{"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-11-05T09:54:44","modified_gmt":"2026-11-05T09:54:44","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\">Your website\u2019s error logs in Hostinger are stored in the .logs folder of your hosting plan, in a file named <code>error_log_<\/code> followed by the domain or subdomain name. Open the folder from your hosting plan\u2019s home folder in File Manager to read the PHP errors logged since error logging was enabled.<\/p>\n<h2 id=\"h-where-to-find-your-websites-error-logs\" class=\"no-margin\">Where to find your website&#8217;s error logs<\/h2>\n<p class=\"no-margin\">To reach the .logs folder, open <b><a data-click-id=\"hgr-post-content-link-file-manager\" class=\"intercom-content-link\" href=\"\/support\/4548688-basic-actions-in-the-file-manager-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">File Manager<\/a><\/b> and click the Home folder icon (\u2302) at the start of the file path:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-24621\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-31_1.png\" alt=\"\" width=\"1579\" height=\"795\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-31_1.png 1579w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-31_1-300x151.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-31_1-1024x516.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-31_1-768x387.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_13-31_1-1536x773.png 1536w\" sizes=\"(max-width: 1579px) 100vw, 1579px\" \/><\/div>\n<p>Then open .logs folder:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-24682\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-53.png\" alt=\"\" width=\"333\" height=\"671\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-53.png 333w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-53-149x300.png 149w\" sizes=\"(max-width: 333px) 100vw, 333px\" \/><\/p>\n<p class=\"no-margin\">Your website\u2019s error log file name will be composed of \u201c<b>error_log_<\/b>\u201d and the name of the domain or subdomain. The content of the file will look similar to this:<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-24683\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-54.png\" alt=\"\" width=\"1546\" height=\"727\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-54.png 1546w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-54-300x141.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-54-1024x482.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-54-768x361.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-05_16-54-1536x722.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<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>\n<p class=\"no-margin\">If the <b>error_log<\/b> file does not exist or is empty, first, double-check that you have<a data-click-id=\"hgr-post-content-link-enabled-php-error-logging\" href=\"\/support\/4259219-how-to-display-php-error-messages-in-hostinger\/\"> enabled PHP error logging<\/a>. Errors will start being registered from the moment you enable error logging onward. Previous errors will not be added to the log.<\/p>\n<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>\n<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>Find your website\u2019s error logs in Hostinger in the .logs folder via File Manager, and learn why an error_log file may be missing or empty.<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","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-BR","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-\u0434\u0435-\u0437\u043d\u0430\u0439\u0442\u0438-\u0456\u0441\u0442\u043e\u0440\u0456\u044e-\u043f\u043e\u043c\u0438\u043b\u043e\u043a-\u0441\u0430\u0439\u0442\u0443-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":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"predecessor-version":[{"id":24684,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540\/revisions\/24684"}],"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}]}}