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
  • Page:
  • 1
  • 2

TOPIC: No results in front end search - back end ok

Re: No results in front end search - back end ok 18 Oct 2012 20:21 #724

  • Giampaolo
  • Giampaolo's Avatar
  • OFFLINE
  • Administrator
  • Posts: 465
  • Thank you received: 42
Hi,
see images:

This image is hidden for guests. Please log in or register to see it.


JiFile search properly in front-end.
We think that the problem may be the configuration of the search plugins.

It seems that, in you site, JiFile plugin is not invoked from Joomla!
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: No results in front end search - back end ok 18 Oct 2012 20:29 #725

OK - I appreciate your attempts to figure this out.
I went ahead and disabled almost every other plugin on the site, but still not joy. You are probably correct that it is something to do with my configuration. If I figure out what was incompatible and why I'll be sure to post the reason.
Thanks again. Alex
The administrator has disabled public write access.

Re: No results in front end search - back end ok 18 Oct 2012 20:36 #726

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
If you can, try to change the file "plugins\search\jifile\jifile.php" as follows:
about line 94
$pathD = jifilehelper::retrievePath($doc->getFieldValue('filename'));
die($pathD); // add this line
if($pathD && !file_exists($su.$pathD)) {
   continue;
}
try again to perform a search and write the result (via e-mail if you can not here)
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: 18 Oct 2012 20:37 by Antonio.
The administrator has disabled public write access.

Re: No results in front end search - back end ok 18 Oct 2012 20:41 #727

FYI. That area of code currently has the line you refer to commented out. It looks like this right now:
//                      $pathD = jifilehelper::retrievePath($doc->getFieldValue('filename'));
                        $pathD = jifilehelper::getCorrectFilename($doc->getFieldValue('path'));
 
                        if(!$pathD) {
                                continue;
                        }

Changing it to what you suggested did not help.
Last Edit: 18 Oct 2012 20:43 by Alex Zelter.
The administrator has disabled public write access.

Re: No results in front end search - back end ok 21 Nov 2012 10:40 #774

  • InDemand
  • InDemand's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Having the same Problem, after a while of messing with the error log and access log on the server i found another file to make a change to...

(libraries/ifile/IFileConfig.php)
protected function checkRootApplication ($root) {
		$root = "[i]serverroot/websiteroot[/i]"; // hard coded to my servers config... (/var/www/clients/****/****/web)
		if (!is_dir(realpath($root))) {
			require_once 'IFile_Exception.php';
			throw new IFile_Exception('Root-application does not exist');
		}
	}
This is just a very quick fix - specific for my servers... but might let ou get a bit closer to the solution.

Can U access the error log file? Check for : Realpath(): open_basedir restriction in effect. ... my website hotel root is not the same as the website root ... I have encapsuled ftp_files, web, mail, log, statistics in a seperate root for each site.

Hope this helpes
The administrator has disabled public write access.

Re: No results in front end search - back end ok 21 Nov 2012 16:07 #776

Thanks for the comments. I have dropped this for the moment as I need to have smart search enabled on my site and therefore cannot use the JiFile search system.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2