As the title suggests I am seeing an odd issue with CMS attachments, I am not entirely convinced that this is an issue with VBSEO however it is definately and issue with hooks/plugins/rewrites so it seemed sensible to post here while I continue to investigate.
In summary, when a user visit the CMS section listings / homepage or article the included attachment images are not shown. As an example I have a section page that includes the following attachment img markup:
If I enter the image URL into a browser the request hangs. Now this is where is gets odd, when I say browser I mean Internet Explorer as the URL works fine under Firefox. Under firefox the image is displayed and the image URL is rewritten to:Code:<img class="cms_article_preview_image" src="http://www.mysite.com/attachment.php?attachmentid=13431&cid=18" alt="Article Preview" /></a>
If I enter the rewritten URL into Internet Explorer the image is displayed correctly.Code:http://www.mysite.com/content/attachments/13431-dummy.jpg.html
As a test, I can disable hooks via query string parameters - so if I enter the following URL into Internet Explorer the image is displayed correct and not rewritten
Notice the "nohooks=true" this effectively sets the following:Code:http://www.mysite.com/attachment.php?attachmentid=13431&cid=18&nohooks=true
So there you have it, the problem lies with a combination of some hook and Internet Explorer. Does anybody have any ideas what this might be?Code:define('DISABLE_HOOKS', true);
My current setup is VB 4.0.6 & VBSEO 3.5.1 PL1. I am also using all the default VBSEO CMS settings, it is hard enough trying to get the CMS to work as a decent CMS - so I haven't even looked at the VBSEO CMS settings until this issue came to light.


LinkBack URL
About LinkBacks





Reply With Quote


