Jump to content

Recommended Posts

Posted

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??

Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...