Page 1 of 2

Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 21 Feb 2012, 07:50
by gwmbox
As per my (long) title I would like to know if anyone else is having issues with the phoca gallery plugin working with the Smart Search indexer for Joomla.

I have done an isolation test by turning off all the content plugins and then starting each one up individually, everything works until I get to the phoca gallery plugin which causes the indexer to stop.

Hoe someone has a fix

Cheers

GW

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 22 Feb 2012, 00:42
by Jan
Hi, if you enable php error reporting and debug mode, do you get some error?

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 14 Mar 2012, 13:16
by meditant
I have the same problem, but the solution is here :
http://forum.joomla.org/viewtopic.php?t=695793

From mbabker :
Have him add this check to the beginning of his onContentPrepare method in the plugin. I don't think we documented it anywhere, but this context check will determine if the event is being called within the indexer context and exit, helpful for plugins that have issues with the indexer (this same check is used in the e-mail cloaking and load module plugins).

Code:
// Don't run this plugin when the content is being indexed
if ($context == 'com_finder.indexer') {
return true;
}

I have make the change, thats work great !

Best regards

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 19 Mar 2012, 21:27
by Jan
Ok

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 13 Aug 2012, 09:03
by gomi
i had the same error with phoca maps and phoca gallery.
it is possible to add the code to the plugins ?
(this would help save time...)

wbr

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 14 Aug 2012, 12:33
by Jan
Hi, added to feature request list.
I will implement it to next versions of plugins.

Jan

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 25 Aug 2013, 22:26
by onejungle
Dear Jan,

I have been looking on your forum, but see not updates about this "smart search phoca gallery plugin" topic. Only this post from 10 Nov. 2007.

Have you developed the plugin?


Regards
Ismael

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 29 Aug 2013, 14:25
by Jan

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 29 Aug 2013, 21:47
by onejungle
Thanks Jan,

You are the best ;-)

Re: Smart Search Indexing fails with Phoca Gallery Plugin

Posted: 31 Aug 2013, 01:57
by onejungle
I have tested your plugins but noticed they are for J3.0 not for J2.5. They install with no problems on J2.5, but i do not see them at smart search "Content Map" even plugins are enabled.

Any advice?