Page 1 of 1

Problem with Phoca Download and Smart Search component

Posted: 27 Jul 2016, 22:07
by mapi
Hi I'm using Phoca Download and Smart Search component. My files are public and everything works normally when I access files from the site pages, but when I do a search for a file loaded in phoca download, I do not have permission to access the file category. This happens when in Phoca Download Search Plugin is "link = file view", if "link view = category" the same category is visible to all users.
Does anyone know if there is a solution?

Re: Problem with Phoca Download and Smart Search component

Posted: 28 Jul 2016, 13:16
by mapi
I set Phoca Download Finder Plugin (Files) to direct download of the file. The behavior is always the same, it does not work. The error seems to be due to faulty construction of the path of the file in the Search Results screen. In fact in the path name, the document filename is taken erroneously as a phoca download category.
I see a breadcrumb like this: Home> CategoryA> CategoryA> FileName.
CategoryA is the category of the file and it is repeated twice (error)
Filename is the file searched but it is also seen as a category because in the page it is displayed as a link to go up to one level, to the parent category.
I hope I was clear. Help!

Re: Problem with Phoca Download and Smart Search component

Posted: 28 Jul 2016, 22:47
by Jan
Hi, normaly, the search detects the menu link of Phoca Download and then based on this search it creates a link to the file. Then it depends on component's rights if it will be accessible or not.

Can you paste here the link from search result and link from standard menu link?
Which version of component and which version of module do you run?

Jan

Re: Problem with Phoca Download and Smart Search component

Posted: 02 Apr 2018, 19:17
by jburkart
I am having a similar issue. Smart Search is only indexing 4 of my phoca documents available on my site. It does however index all the categories. Here's a link to one of the documents that is NOT indexed. https://ccctechcenter.org/trave-form-in ... -employees. Here is a link to a search result where one of the phoca documents does show up. https://ccctechcenter.org/component/fin ... ce&Search=

Re: Problem with Phoca Download and Smart Search component

Posted: 03 Apr 2018, 14:18
by Jan
Hi, when the smart indexing works in Joomla! administration, try to see javascript console if there is no javascript error ( https://www.phoca.cz/documents/16-jooml ... -conflicts )

Try to see if javascript console, or javascript network (in e.g. Firefox or Chrome Developer Tools does not return error message.

Jan

Re: Problem with Phoca Download and Smart Search component

Posted: 06 Apr 2018, 00:14
by jburkart
No Javascript errors and all XHR commands succeeded. It's strange because some of the documents are picked up in the search index.

Re: Problem with Phoca Download and Smart Search component

Posted: 08 Apr 2018, 13:46
by Jan
Hmmm, really hard to say, I don't know any limit which should be applied there - are all the files which are not indexed, published, authorized - is the category where they belong to, published?

Jan