{"id":49527,"date":"2015-06-19T07:56:18","date_gmt":"2015-06-19T11:56:18","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=49527"},"modified":"2017-07-31T10:38:15","modified_gmt":"2017-07-31T14:38:15","slug":"joomla-how-to-deal-with-warnings-that-appear-just-after-installation","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/joomla-how-to-deal-with-warnings-that-appear-just-after-installation.html","title":{"rendered":"Joomla. How to deal with warnings that appear just after installation"},"content":{"rendered":"<p>\r\n<p>This tutorial is going to explain you how to deal with warnings that can appear just after Joomla template installation.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=un_gOo_FbhI?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla. How to deal with warnings that appear just after installation<\/a><\/p>\r\n<p>Sometimes right after the template installation you can see additional messages on your site. For example, see the screenshot below:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation-300x169.jpg\" alt=\"joomla_how_to_deal_with_warnings_after_installation\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49528\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Joomla uses PHP code and when PHP has problems, it reports them to you. There are three main ways in which PHP will report the problems:<\/p>\r\n<ol>\r\n<li>\r\n<p><strong>Strict Standards<\/strong> warnings are not errors and they do not impact the site functionality. Joomla extensions were written for PHP 4 and PHP 5. Mostly PHP 4 code caused these warnings. It is not possible to change all the code to new rules set in PHP 5.3, PHP 5.4 or newest immediately) &#8211; e.g. if some extension has over 50.000 lines of code. So, these are messages for developers and such messages should not be enabled on a production site.<\/p>\r\n<\/li>\r\n<li>\r\n<p><strong>Notices<\/strong> are neither warnings nor errors. When a PHP Notice occurs, it just tells that some PHP code could be written in a better way. Nothing is wrong, remember that. The code could just be optimized a bit better. But this is just a suggestion, it&#8217;s not a requirement.<\/p>\r\n<\/li>\r\n<li>\r\n<p>However, if a <strong>PHP Warning<\/strong> or <strong>PHP Error<\/strong> occurs, the situation is more serious. When a PHP Error occurs, the PHP script stops right away and you will have a problem. But with a PHP Warning, there is no error yet, but the PHP engine thinks there might be one soon. In both cases, it&#8217;s better to contact our Technical Support Team via <a href=\"http:\/\/template-help.com\/chat\" target=\"_blank\">the chat<\/a> or <a href=\"http:\/\/support.template-help.com\/index.php?\/Tickets\/Submit\" target=\"_blank\">submit a ticket<\/a> for them.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>To disable such PHP messages on your site, you should perform the following steps:<\/p>\r\n<p>If you are using <strong>Joomla 2.5.x:<\/strong><\/p>\r\n<ol>\r\n<li>\r\n<p>Log into your Joomla admin panel as super administrator.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>Site -&gt; Global Configuration<\/strong> and open <strong>Server<\/strong> tab.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Find <strong>Error Reporting<\/strong> option and change its value to <strong>Simple<\/strong> or <strong>None<\/strong>. Don&#8217;t forget to save the changes.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>If you are using <strong>Joomla 3.x:<\/strong><\/p>\r\n<ol>\r\n<li>\r\n<p>Log into your Joomla admin panel as administrator.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <strong>System -&gt; Global Configuration<\/strong> and open <strong>Server<\/strong> tab.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Find <strong>Error Reporting<\/strong> option and change its value to <strong>Simple<\/strong> or <strong>None<\/strong>. Don&#8217;t forget to save the changes:<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation2-300x169.jpg\" alt=\"joomla_how_to_deal_with_warnings_after_installation2\" width=\"300\" height=\"169\" class=\"aligncenter size-medium wp-image-49529\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/06\/joomla_how_to_deal_with_warnings_after_installation2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Now you can refresh your site. The errors should disappear and your site will look properly.<\/p>\r\n<p>This is the end of the tutorial. Now you know how to deal with warnings that appear just after Joomla template installation. <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=un_gOo_FbhI?width=1280&amp;height=720\" rel=\"prettyPhoto\">Joomla. How to deal with warnings that appear just after installation<\/a><\/p>\r\n<p><\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/cart.php?addOffer=587\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-1-(500-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to explain you how to deal with warnings that can appear just after Joomla template installation.<\/p>\n","protected":false},"author":53,"featured_media":49532,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[1241,483,690],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/49527"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=49527"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/49527\/revisions"}],"predecessor-version":[{"id":82374,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/49527\/revisions\/82374"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/49532"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=49527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=49527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=49527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}