-
AuthorPosts
-
November 5, 2011 at 3:00 pm #170419
I am a complete rookie to Joomla and just installed my first JoomlArt template. I understand CSS but do not know PHP. Any help or direction I can get with this problem is appreciated.
The first time an article or category page (that is more than 2 levels deep) loads, all the images appear fine. If you refresh the page or come back to it after the initial load, the images do not show and the logo image link tries to go to index.php in the current folder (http://www.familyrave.com/activities/activities-projects/index.php) instead of to the homepage in the root folder (http://www.familyrave.com/index.php).
Every time I clear the cache, the page images and logo link work properly until the page gets loaded a second time again.
For example:
try this page http://www.familyrave.com/activities/activities-projects/lemonadestand (of course after the first person loads it, the next person will not see the images, so if you do not see the images then try one of the other articles listed in the Activities ! menu)
The first time it loads the IMG tags looks like this
<img class=”img-border right” src=”/images/stories/familycapers/lemonade-glass.png” border=”2″ alt=”Glass of Lemonade” title=”Glass of Lemonade” style=”padding: 10px;”>The subsequent loads look like this
<img class=”img-border right” src=”images/stories/familycapers/lemonade-glass.png” border=”2″ alt=”Glass of Lemonade” title=”Glass of Lemonade” style=”padding: 10px;”>I see that the first slash is added to the beginning of the path on the first page load and missing in the next. I fixed this by adding an extra slash in the front of all IMG paths in the content editor but this does not fix the root issue or the LOGO link problem. Also, the image in the mega menu does not show on later loads and I cannot control that IMG path.
Here is the html from the logo on the first load:
<h1 class=”logo”>
<a href=”/index.php” title=”Family Capers”><span>Family Capers</span></a>
</h1>
Here is the html from the logo on the subsequent loads:
<h1 class=”logo”>
<a href=”index.php” title=”Family Capers”><span>Family Capers</span></a>
</h1>Again, the slash is only being placed at the beginning of the path on the initial page open. All future page opens drop the slash.
I have included screenshots of the template and system settings.
Again, I deeply appreciate any help with this.
-
November 9, 2011 at 6:07 pm #423864
Ugh. :(( It has been several days and no one has responded to my plea for help. I have tried to engage support directly but we are not having much luck either. I was really hoping that someone else has experienced this with their JoomlArt template and had the answer.
If a Joomla angel exists out there, I would really appreciate a miracle.
After more investigation here is where I am at with this issue . . .
I could manually go through every IMG tag and add the slash to the front of the path in the editor. This includes Articles, Category descriptions, and Modules (HTML). Every time we add content that contains an image, we will need to add the beginning slash since it does not go in automatically. This is a hack work-around but I am desperate to complete the site and make it live. I am concerned that other content publishers and authors on my site will forget the slash and cause their images to not show on the second time a page loads.
I still have an issue with the template’s LOGO link HREF tag at the top which is supposed to point back to homepage. Because the HREF path does not include the beginning slash (after the page loads the first time), the link is broken and always tries to open index.php in the current folder. This returns a 404 and is a really bad thing. If a slash is added to the beginning of the path, it naturally goes to the root folder and opens index.php there.
Both of these have the exact same issue which I would like to resolve the root cause. This appears to be something about the way the template manages the cache of the page when SEF is turned on.
Here is what we know:
1) When any page loads the first time, everything works perfectly. Images are retrieved with the proper path and HREF links are created properly.
2) On the next page refresh all images do not show and the LOGO link is bad. (the front slash is gone?)
3) If an administrator goes into Maintenance and Clears Cache, the page will load fine the next time it loads but breaks again on the second load / refresh. So clearing the cache makes it work one time.
4) If we turn off SEF the problem goes away. However, this is not an option since SEF is necessary for my site.
5) The page needs to be in at least 1 subfolder in the SEF URL to display these symptoms. This is obvious since a missing slash at the front will make the resource look in the current folder for its object. Anything not in a subfolder will obviously be in the root folder.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 9, 2011 at 7:58 pm #423887Which JATC Template are you working with?
November 9, 2011 at 8:04 pm #423888JA Community Plus
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 9, 2011 at 8:09 pm #423889<em>@familycapers 281726 wrote:</em><blockquote>JA Community Plus</blockquote>
Okay … I am looking into this issue for you and will get back to you a.s.a.p.November 9, 2011 at 9:29 pm #423897<em>@TomC 281727 wrote:</em><blockquote>Okay … I am looking into this issue for you and will get back to you a.s.a.p.</blockquote>
Thanks! I’ll email you a coffee shop gift card when you figure this out!
November 10, 2011 at 3:52 am #423939<em>@TomC 281727 wrote:</em><blockquote>Okay … I am looking into this issue for you and will get back to you a.s.a.p.</blockquote>
Hello TomC,
It looks like support may have fixed it. I am waiting to hear back what was done so I can post the fix here for others. It may have been the .htaccess file but I am not sure. The pages are doing this weird thing now where each page appears to load twice really fast when it is refreshed.
I’ll keep you posted. please let me know if you think of anything else.
Thanks!
November 10, 2011 at 3:57 pm #424056Hooray. It looks like the issue was found and fixed. Actually, I am quite surprised that I did not find this info while searching around for a solution. Documentation may exist but I was unable to find it, so I recommend JA team make this information easier to find.
The solution was that JAT3 is not compatible with Joomla Cache Plugin.
From support (Manos Paschalakis):
“Also about the main problem that caused the issue on your website at first place i have to tell you that Joomla Cache plugin is not compatible with JAT3 framework and cache system so i only had to disable the joomla cache plugin in order for your website to work as it should.
JAT3 framework has it’s own cache system and that’s the only reason that joomla cache plugin is causing trouble when it’s enabled.”Now as a benefit my pages load much faster. Yeah!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 2 voices, and was last updated by TomC 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-