By guzabi on Sunday, 06 December 2015
Replies 6
Likes 0
Views 1.1K
Votes 0

PHP Version : 5.5.30
MySQL Version : 5.5.5-10.0.22-MariaDB
Server Information : Linux nali.fr.planethoster.net 2.6.32-604.30.3.lve1.3.63.el6.x86_64 #1 SMP Sun Sep 27 06:34:10 EDT 2015 x86_64
Fix jQuery? : No
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 5000
Club code set? : Yes
User Agent : Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Joomla : 3.4.5
component_com_jevents : 3.4.4
component_com_jce : 2.5.11
module_mod_jevents_cal : 3.4.4
module_mod_jevents_custom : 3.4.4
module_mod_jevents_filter : 3.4.4
module_mod_jevents_latest : 3.4.4
module_mod_jevents_legend : 3.4.4
module_mod_jevents_switchview : 3.4.4
plugin_content_jevents : 3.4.4
plugin_finder_jevents : 3.4.4 (not enabled)
plugin_search_eventsearch : 3.4.4
plugin_system_gwejson : 3.4.4


Hi there,

Strange problem installing JEvents on a new Joomla 3.4.5 website : I have just one page which displays a monthly view of a remote ICS calendar. The calendar is displayed ok, but I have two annoying problem :

1. the page URL, which should be (mysitebaseurl)/calendrier/ reads (mysitebaseurl)/calendrier/month.calendar/201/12/06/- which is a problem for all sort of things (SEO would be one) ;

2. The base href tag is also wrong, displaying the same URL. This, of course, breaks any relative path (CSS, images, etc.)

This is really annoying.

I tried enabling/disabling JQuery compatibility mode and it didn't change anything.

Strangest thing : if I clear the cache and refresh my page, code is not correct but relative URLs are fixed and do work. If I refresh the page a second time, it doesn't work anymore.

I am using a Warp 7 Yootheme template, admin tools (htaccess is correct, no unloaded resources), akeeba backup (not visible in frontend), JCE (latest), OSMap (not used in frontend yet), Phoca Gallery (latest, works ok and not on same pages as calendar).

The site is multilingual (native Joomla! 3) and still trying to figure this out, but the problem happens on the working part of the website, which is french (default for the site).

Could someone please help ?
Thanks in advance!
Tried PHP 5.6 just to see, no change... Here is updates support info

PHP Version : 5.6.15
MySQL Version : 10.0.22-MariaDB
Server Information : Linux nali.fr.planethoster.net 2.6.32-604.30.3.lve1.3.63.el6.x86_64 #1 SMP Sun Sep 27 06:34:10 EDT 2015 x86_64
Fix jQuery? : No
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : Yes
User Agent : Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Joomla : 3.4.5
component_com_jevents : 3.4.4
component_com_jce : 2.5.11
module_mod_jevents_cal : 3.4.4
module_mod_jevents_custom : 3.4.4
module_mod_jevents_filter : 3.4.4
module_mod_jevents_latest : 3.4.4
module_mod_jevents_legend : 3.4.4
module_mod_jevents_switchview : 3.4.4
plugin_content_jevents : 3.4.4
plugin_finder_jevents : 3.4.4 (not enabled)
plugin_search_eventsearch : 3.4.4
plugin_system_gwejson : 3.4.4
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Come on, guys. Nobody? TonyP? Geraint? Please, please help…
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

We are willing to help but also work Monday - Friday and when we can at weekends.


1. Have you enabled the JEvents New SEF system?

2. Do you mean the Base Meta tag? If so this is caused by Joomla! and we implemented a fix for next release JEvents 3.4.5.

Many thanks
Tony
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tonyp, sorry I was in a rush.
Didn't mean to sound rude. Apologies.

1. New SEF system was not enabled. Enabling it solves the problem partially.
2. I mean the <base href="" /> tag in the <head> section (generated with setbase() method).

In the meantime, I did fix it by inserting this :

$document =& JFactory::getDocument();
$document->setBase(htmlspecialchars(JURI::base()));

in my template's rendering page, before this :

echo $this['template']->render('head'); ?>

I'm not too happy about this but hey, that's life <!-- s;-) --><img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
the new SEF system should show (mysitebaseurl)/calendrier for your menu item (without the trailing / ) and the base tag should be set to the same.
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Geraint,

Yes it does, but I thought the base href should not be <mysitebaseurl> and not <mysitebaseurl>/calendrier … Well never mind, that is solved now, it's a very small website, I'll double check this later on other, more significant projects.

Thanks for your time, guys. And once again, sorry for my impatience <!-- s;-) --><img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";-)" title="Wink" /><!-- s;-) -->
·
9 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post