julie Posted November 5, 2005 Posted November 5, 2005 I just upgraded to MT 3.2 today and suddenly it seems that my php includes aren't working on some pages at www.aftertastebliss.com When you click on any of the Month archives, the sidebar should show up on the right hand side. It seems to show up on some pages, but not all. Any ideas why?? Quote
TweezerMan Posted November 5, 2005 Posted November 5, 2005 I had to go back to Aug. 2005 to find an example of what you're describing: >http://www.aftertastebliss.com/archives/2005/08/ The sidebar is not appearing because the PHP include for it is not getting processed. This is in the HTML source for the Aug. 2005 monthly archive page: ><?php include "http://www.aftertastebliss.com/sidebar.php"; ?> As to why this is occurring: It appears that in some cases, you have both an index.html and an index.php version of your monthly archive pages. With URLs like you are using above (no file name at the end of the URL), if an index.html page exists, it will be retrieved even if an index.php page exists, and PHP code in the page will not be processed. Both of these pages exist on your server: >http://www.aftertastebliss.com/archives/2005/08/index.html http://www.aftertastebliss.com/archives/2005/08/index.php The index.html page does not display the right sidebar; the index.php page does display it. The easiest solution would be to delete the index.html versions of your monthly archive pages from server, leaving the index.php versions to be displayed. Hope this helps... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.