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: [SOLVED] No results in front end - back end ok

[SOLVED] No results in front end - back end ok 17 Jan 2013 21:47 #898

  • Aaron
  • Aaron's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
I've seen 2 other topics with the same problem, and there isn't any solutions in either of them. I'm getting the same problem. Files index fine in the backend, but no results show on the front end.

I have all smart search plugins disabled and I have "Search - Content" and "Search - JiFile plugins enabled."

I have created a menu item as "Search » Search Form or Search Results"

None of the indexed files show up in the results on the front end of the site.

Please advise!



Last Edit: 01 Feb 2013 13:08 by Giampaolo.
The administrator has disabled public write access.

No results in front end search - back end ok 19 Jan 2013 12:30 #900

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
We check the log, and you do know
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.

No results in front end search - back end ok 19 Jan 2013 13:31 #901

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
From the log it all seems ok except the server configuration 32 bit since your server is 64-bit, but since it works on the backend, you can leave it.

We can only debug the code to understand where is the problem:
plugins/search/jifile/jifile.php at line 95 about, add this line
...
$pathD = jifilehelper::getCorrectFilename($doc->getFieldValue('path'));
die($pathD); //add this
...
then do a search and tell me what you print.
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
Last Edit: 19 Jan 2013 13:38 by Antonio.Reason: add file
The administrator has disabled public write access.

No results in front end search - back end ok 19 Jan 2013 14:48 #902

  • Aaron
  • Aaron's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Yea, for some reason, if I set it to 64-bit, all of the PDF's fail to index in the backend.

Nothing happened when I added die($pathD); //add this
The administrator has disabled public write access.

No results in front end search - back end ok 19 Jan 2013 15:02 #903

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
Ok, then try adding the following code to the line 83:
...
$lucene = $model->search($text, null, $phrase, null, null, $limit);
die($text.'  '.var_dump(empty($lucene))); //add tihs
...

If here does nothing to put the following at line 77:
...
$model = JModel::getInstance('JifileModelLucene');
die($text.'  '.var_dump($model->getError())); //add tihs
...
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.

No results in front end search - back end ok 19 Jan 2013 16:49 #904

  • Aaron
  • Aaron's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
nothing happened when I added the first suggestion from above, but when I added the second suggestion, I got this, on a blank page:

string(31) "Root-application_does_not_exist" 4860
Last Edit: 19 Jan 2013 16:52 by Aaron.
The administrator has disabled public write access.

No results in front end search - back end ok 19 Jan 2013 17:18 #905

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
mmm... there has never happened...
Now we can do two things, you can give a user to log in via FTP to your site in order to act directly, or continue as now and going to add debugging code.

Let us know.
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.

No results in front end search - back end ok 21 Jan 2013 00:49 #907

  • Matthias
  • Matthias's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi, I´m having the exact same problem as Aaron.
Backend indexing is fine, automatic as well as manual - server set to 64 bit and the server uses 64 bit.
No results in front end search.

I already added the code you suggested for line 95 but still nothing.

Joomla 2.5.8, three different templates. Backend and standard frontend language is German, the site is bilingual (German and English).
The language of all German articles is set to "German".
I´m using Joomla´s standard search and it also finds e. g. keywords from JComments.
My ISP said I am using XCache and this wouldn´t work..?

Any help is much appreciated.

Thanks, Matthias
The administrator has disabled public write access.