I have four folders within JoomDOC3 root:
- Annual Accounts
- Magazines
- Member Files
- Public Files
When I search for documents using Joomla Search any document that is in Magazines that appears in the results list works, but documents in other folders don't and I get an error when I try to click on the link.
For example, the generated link for a magazine would be:
-
www.mysite.com/magazine/mytestmagazine/detail
But the generated link for a
-
www.mysite.com/about-us/annual-accounts-...ytestdocument/detail
See how it seems to have added in some strange additional directories?
The error I get is:
403 - JERROR_ALERTNOAUTHOR /var/www/vhosts/mysite.com/secure/documents/Annual Accounts/public-files/mytestdocument /var/www/vhosts/mysite.com/secure/documents/Annual Accounts
I've tried disabling the search engine friendly URLs and although the generated URL is different I still get the same error.
Non SEO URLs:
-
www.mysite.com/index.php?option=com_joom...gazine&Itemid=40
-
www.mysite.com/index.php?option=com_joom...ument&Itemid=279
Interesting how the magazine does not include the path bit the public file document does - I still get the same error from the public files document though.
Finally, if I create and article and use the JoomDOC plugin to add a document the links generated are as follows:
-
www.mysite.com/index.php?option=com_joom...nes/testmagazine.pdf
-
www.mysite.com/index.php?option=com_joom...les/testdocument.pdf
And both of these links work.
Definitely looks like a search plugin issue
Any ideas / suggestions?