{"id":41,"date":"2009-12-28T05:41:00","date_gmt":"2009-12-28T05:41:00","guid":{"rendered":"http:\/\/www.codeboss.in\/web-funda\/?p=41"},"modified":"2009-12-28T05:41:00","modified_gmt":"2009-12-28T05:41:00","slug":"zen-cart-header_php-file-not-updating","status":"publish","type":"post","link":"https:\/\/codeboss.in\/web-funda\/2009\/12\/28\/zen-cart-header_php-file-not-updating\/","title":{"rendered":"Zen Cart header_php File Not Updating"},"content":{"rendered":"<p>I faced a problem last day while updating the header_php.php file for one of the pages I created in Zen Cart. Even after making changes in the header_php file, the changes were not reflected when I viewed the page in browser.<\/p>\n<p>The header_php.php file is present in <br \/>\\includes\\modules\\pages\\{page_name}\\<br \/>where {page_name} should be replaced by the name of the page.<\/p>\n<p>The problem was I kept backups of older header_php files on server in the same directory. And Zen Cart automatically includes all the files present in this folder. Hence my updates were overwritten by the old file.<\/p>\n<p>Solution :: <span style=\"font-weight:bold;\">Never keep backup files in \\includes\\modules\\pages\\{page_name}\\<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I faced a problem last day while updating the header_php.php file for one of the pages I created in Zen Cart. Even after making changes in the header_php file, the changes were not reflected when I viewed the page in browser. The header_php.php file is present in \\includes\\modules\\pages\\{page_name}\\where {page_name} should be replaced by the name&hellip; <a class=\"more-link\" href=\"https:\/\/codeboss.in\/web-funda\/2009\/12\/28\/zen-cart-header_php-file-not-updating\/\">Continue reading <span class=\"screen-reader-text\">Zen Cart header_php File Not Updating<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[57,66],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-php","tag-zen-cart","entry"],"_links":{"self":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":0,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"wp:attachment":[{"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeboss.in\/web-funda\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}