Joomla tags

a real free joomla tag system

  • Increase font size
  • Default font size
  • Decrease font size
Error
  • Request Forbidden
  • Request Forbidden
 Joomla Tags Support Forum :: Bugs Report
Welcome Guest   
 Subject :Compatibility issues with "System - Cache" on Joomla 1.5.14,.. 2009-09-20 01:00:10 
rob_clark
Apprentice
Joined: 2009-09-20 06:34:40
Posts: 2
Location
Subject :Compatibility issues with "System - Cache" on Joomla 1.5.14, CssJsCompress 3.2

<p>Using versions : Joomla 1.5.14 Stable, CssJsCompress 3.2</p>
<p>I have been using SEF and the "System - Cache" plugin together without any problems.  I added CssJsCompress 3.2 and mostly it worked excellent, but then I noticed some of my article images were disappearing.  After playing around I found the following menu structure and combination causes this problem:</p>
<p>TopMenu (Category/blog) -> SubMenuItem (Article)</p>
<p>First I'll describe how it works with SEF + System Cache, then what happens when CssJsCompress is added.</p>
<p>1. Ensure the SubMenuItem article has an image embedded using the html editor.  The image is added with a relative path, i.e. src  equals images/stories/foo/bar.png.  (I tried typing this as an attribute with the = sign but this editor keeps inserting a leading / in the quoted area!)</p>
<p>2. Browse to TopMenu -> SubMenu.  Everything renders well.</p>
<p>3. Inspect the image <img> tag.  Notice how the "src" attribute has been rewritten to be absolute.</p>
<p>Now activate CssJsCompress (my configuration does not exclude any components) and clear the System Cache.  Perform the above steps 1-3 again.</p>
<p>At step (3), the "src" attribute is now relative.  This is a problem because the browser now assembles the "base" url and the relative image path and tries to find the image in a location such as the following:</p>
<p>http://my-domain/top-menu-alias/article-alias/images/stories/foo/bar.png</p>
<p>When I turn off System Cache, and keep on CssJsCompress, there is no problem.</p>
<p>Shouldn't we be able to configure both System Cache and CssJsCompress and have the embedded image src locations resolve correctly?  There seems to be some kind of interaction between these components that is causing the image url to remain relative when they are both activated.</p>
<p> </p>
IP Logged
Last Edited On: 2009-09-20 01:00:10 By rob_clark for the Reason retyped without quotes to stop editor inserting leading / in example text.
 Subject :Re:Compatibility issues with "System - Cache" on Joomla 1.5... 2009-09-25 21:58:16 
joomlatags
Master
Joined: 2009-02-15 12:36:41
Posts: 581
Location
Subject :Re:Compatibility issues with "System - Cache" on Joomla 1.5.14, CssJsCompress 3.2

<p>Does CssJsCompress's order is before Cache?</p>
<p> </p>
IP Logged
 Subject :Re:Compatibility issues with "System - Cache" on Joomla 1.5... 2009-09-26 01:59:25 
rob_clark
Apprentice
Joined: 2009-09-20 06:34:40
Posts: 2
Location
Subject :Re:Compatibility issues with "System - Cache" on Joomla 1.5.14, CssJsCompress 3.2

<p>I tried your suggestion to give CssJsCompress a lower order than System - Cache and everything now works, thanks!  The speed-up with these components working together is really noticable.</p>
<p>When I logged this bug both these components had order 0.  And I also tried System - Cache with a lower order than CssJsCompress, and sure enough the bad behivour returns.  (If you have this error it doesn't show with the first content view, but all subsequent views of cached content show the error.)</p>
IP Logged
 Subject :Re:Compatibility issues with "System - Cache" on Joomla 1.5... 2010-01-26 02:23:36 
johnm
Apprentice
Joined: 2010-01-26 09:09:07
Posts: 1
Location
Subject :Re:Compatibility issues with "System - Cache" on Joomla 1.5.14, CssJsCompress 3.2

<p>I am having the same problem.</p>
<p>At the end of my article is the tags.</p>
<p>I click on the tag, and it shows a list of other articles.</p>
<p>If I click on one of the articles on the list, it shows the article, but no images on the rest of the site.</p>
<p>I cleaned my cache, and refreshed the page and the images came back.</p>
<p>This even happens with cache turned off.</p>
<p>I am not using CssJss compress, but I am using smart optimiser.</p>
<p>This is an excellent component, but its breaking my site, and unfortunatly I am not a professional and have no idea whats really happening.</p>
<p>If anyone wants the keys to the car and wishes to take a look at what I got going that would be great.  I would be willing to compensate anyone who can fix this.</p>
<p>I will keep studying how to fix this.</p>
<p>Thanks</p>
<p> </p>
<p>John</p>
<p> </p>
IP Logged
Page # 


Powered by ccBoard


Newsletter

Please subscribe to our newsletter to stay up-to-date with the latest news and release notifications delivered to your inbox.
Tags for Joomla



Joomla Plugin:ReadMoreExt