{"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-10-15T09:12:20","modified_gmt":"2026-10-15T09:12:20","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&rsquo;s error logs in Hostinger are stored in the <strong>.logs<\/strong> folder of your hosting plan, in a file named <strong>error_log_<\/strong> followed by the domain or subdomain name. Open the folder from the<strong> Access all files of your web hosting<\/strong> option in File Manager to read the PHP errors logged since error logging was enabled.<\/p><h2 class=\"no-margin\" id=\"h-where-to-find-your-websites-error-logs\">Where to find your website&rsquo;s error logs<\/h2><p class=\"no-margin\">You can reach <b>.logs<\/b> from the <b>Access all files of your web hosting<\/b> option on <b><a data-click-id=\"hgr-post-content-link-file-manager\" class=\"intercom-content-link\" href=\"\/support\/4548688-basic-actions-in-file-manager\/\" target=\"_blank\" rel=\"noopener\">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\" alt=\"Hostinger File Manager with Files menu and File Manager highlighted, plus hosting plan access card highlighted\" data-media-id=\"5341\"><\/div><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<a data-click-id=\"hgr-post-content-link-enabled-php-error-logging\" href=\"https:\/\/www.hostinger.com\/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><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\">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":{"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":4,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540\/revisions"}],"predecessor-version":[{"id":20745,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1540\/revisions\/20745"}],"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}]}}