Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: Backend search works, frontend does not yet

Backend search works, frontend does not yet 29 Dec 2011 16:44 #29

I found that a lot of queries on documents does not display results in the frontend, but when I search the same query in the backend the system does display results.

for instance, check: www.orangehilltest.nl/dbconderhoud/index...query=war&Itemid=325
so search on 'war'

you see the first result from jifile: 2005-05-03_format_dossier_innovatie.doc

but if you search for: 'innovatie' the third word in the document, the system does not find it.

In the backend this does work perfectly. Why is there a difference in backend and frontend results?
The administrator has disabled public write access.

Re: Backend search works, frontend does not yet 29 Dec 2011 17:21 #30

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Hi,
Might be a problem of url, You should help me understand:
try momentarily change the following file:
plugins/search/jifile/jifile.php
comment the line 98:
if(!file_exists($pathD) || !$filename) {
//	continue;
}
Retry search now and tell me if you get hit a few more results and copy the link before did not come out and write me, and then restore the file.

thanks for your support!
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
The administrator has disabled public write access.

Re: Backend search works, frontend does not yet 29 Dec 2011 17:55 #31

I tried this, but no difference. I found another problem: capitals! If I search for 'Innovatie' (which is in the text of the document with a capital) I do not find it in the frontend. I do find it with 'innovatie'!!!

In the backend the search query is rewritten to small letters, so no capitals are used. that's why it works!
The administrator has disabled public write access.
The following user(s) said Thank You: Antonio

Re: Backend search works, frontend does not yet 29 Dec 2011 18:21 #32

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
It's true!
There is a serious bug, thanks!
The library of indexing works (by default) in case-insensitive.

To solve while we release the new version, edit the file:
plugins/search/jifile/jifile.php
change the line 61
$searchText = $text;
*** to ***
$text = JString::strtolower($text);

Thanks again for your cooperation and resolution of bugs!
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie
Help us by voting our extensions on Joomla.org:
JiFile
JoomPhoto Mobile
Easy Language
The administrator has disabled public write access.

Re: Backend search works, frontend does not yet 30 Dec 2011 09:24 #36

That works. tnx
The administrator has disabled public write access.