-
AuthorPosts
-
July 18, 2011 at 10:50 am #166406
i was aked to disable my T3 cache but after 2 weeks still the error surfaces once again…
and the site has been moved to this new location: http://mhb.lucidwebdesignmalta.com
If you want a quick how-to on this bug just go to the front end search module and change the city from valletta to sliema – click search =results ok
and back again from sliema to valletta => result set NOT OK.Basically everthing is fine for the first search but then on the 2nd 3rd searches nothing works and the dropdown reverts to the old value. Result set is always related to first time round search too!
Problems problems problems with t3 caching…….
I need this simple searchbox to work……James.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 19, 2011 at 3:59 pm #401902Hi jmart
Could you provide me ftp & admin account of your site?
July 25, 2011 at 5:45 pm #402969Hi,:)
I have updated ticket: #XOS-956-99301 with the details for how to access my dev site. Is this OK?Can you give me direction on this issue related to JAT3 and k2 Filter as this search module is inoperable due to this issue. I would appreciate if you can advicewi or at least give direction rather then us be left in the dark. I need to inform my client too please.
Regards,
James.Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
July 26, 2011 at 9:55 am #403082Hi jmart
This is a bug so I added to bug tracking system. You can follow it via http://pm.joomlart.com/browse/JAECPLGKIISEARCH-22
July 27, 2011 at 8:44 am #4032731. When will it be fixed?
2. Can you give me a login to your bug system
3. Is this a T3 or K2 Search Bug?Kndly answer previous message. Regards.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 28, 2011 at 1:27 am #403362Hi jmart
1. Because this is a hard bug so we are trying to fix it.
2. I changed security level of this bug, so you can see it now.
3. This is K2 search bug.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 17, 2011 at 7:16 am #406647Hi jmart
I found the solution. You could follow below steps to fix this issue:
1. Open file plugins/search/jak2_filter.php
2. Find onSearchAreas function and comment below line
$mainframe->addCustomHeadTag( $js );
3. Add below line
$areas['jak2_filter'] .= $js;
after line
$areas = array('jak2_filter'=>$this->_params->get('searcharea_label',JText::_('JAK2 Filter')));
4. Save and surf your site.Note: It work in disabled cache T3 mode. Otherwise, you must add component=com_search in exclude cache
August 20, 2011 at 9:04 pm #407345im sorry… i got this error now… i have updated the plugins/search/jak2_filter.php as you have described (see below) and have tried all various settings in template setup, that is with cache disabled/enabled & also using the exclude….
Parse error: syntax error, unexpected T_RETURN in /home/falcon/public_html/mh/plugins/search/jak2_filter.php on line 105
here is my plugin file:
100 #$mainframe->addCustomHeadTag( $js );
101 $mainframe->addCustomHeadTag( JHTML::script (‘script.js’, JURI::root().’plugins/search/jak2_filter/’, true) );
102 $mainframe->addCustomHeadTag( JHTML::stylesheet(‘style.css’,JURI::root().’plugins/search/jak2_filter/’, true) );
103 $areas = array(‘jak2_filter’=>$this->_params->get(‘searcharea_label’,JText::_(‘JAK2 Filter’)));
104 $areas[‘jak2_filter’] .= $js
105 return $areas;Regards & hope for the best,
James.PS you may visit the error at: http://maltahotelnet.lucidwebdesignmalta.com/
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 22, 2011 at 8:48 am #407597Hi James
You miss “;” at the end of line 104.
August 24, 2011 at 8:49 pm #408236i have updated the semi colin at the end of the file and then the search crashes. View the website at http://maltahotelnet.lucidwebdesignmalta.com to see the outcome of the crash.
#$mainframe->addCustomHeadTag( $js );
$mainframe->addCustomHeadTag( JHTML::script (‘script.js’, JURI::root().’plugins/search/jak2_filter/’, true) );
$mainframe->addCustomHeadTag( JHTML::stylesheet(‘style.css’,JURI::root().’plugins/search/jak2_filter/’, true) );
$areas = array(‘jak2_filter’=>$this->_params->get(‘searcharea_label’,JText::_(‘JAK2 Filter’)));
$areas[‘jak2_filter’] .= $js;
return $areas;its been 5 months now. The amount of hassles iv bee through with this plugin are unbearable – i think you should give me special attention lets close this once and for all.
pls note the domain name change when testing…. ftp and admin have remained the same.:((
August 24, 2011 at 8:53 pm #408237I have update line with the semicolon however the site crashes after clicking search. You can see the crash at http://maltahotelnet.lucidwebdesignmalta.com . Pls note the domain name chnge of the testing site. admin & ftp have remained the same.
This has been going on for 5 months now and has become toally umbearable.!!!
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
August 26, 2011 at 2:31 am #408607Hi jmart
Your issue was fixed. I saw you comment block code render search form .
You shouldn’t comment it, if you want hide it, please add attribute style=”display:none” into tag.And you shouldn’t customize com_search folder, you should follow below steps:
1. Create com_search folder in templates/<ja template>/html
2. Copy all files from /components/com_search/views/search/tmpl.
3. And now you can customize com_search in templates/<ja template>/html/com_searchSeptember 14, 2011 at 11:28 am #412626Hi Do Ha,
I have followed you instructions. The search form is completely visible & works fine with cache DISABLED…
The moment I enable system cache plugin i get the same error. This is NO GO for me as the site has caching ENABLED and will remain this way. Any solution for having this extension working with SYSTEM CACHE ENABLED please?
PN Site has moved to http://maltahotelbak.retailservices-malta.com
James.chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
September 18, 2011 at 3:46 pm #413417Hi jmart
If you enable T3 cache, you should type this line in Cache exclude
component=com_search
Save template settings and surf your website.
September 20, 2011 at 12:09 pm #413874i have enabled T3 cache and added this line in Cache exclude : component=com_search
systemcache plugin is enabled and needs to stay that way……
Unfortunataly the issue shows up again you can see it at http://maltahotelbak.retailservices-malta.com
🙁
-
AuthorPosts
This topic contains 20 replies, has 3 voices, and was last updated by chavan 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum