Hi, 

I tested your solution but it did not help... 

Connected with the subwiki admin, I opened the URL 
"localhost:8080/xwiki/wiki/mywiki/view/Main/SolrSearch" and tried a search 
: it succeeded and listed the results. But when I try the same search with 
the upper-right "search" field in the page (just under the login/profile 
toolbox), it raises the error : 

2014-08-13 11:13:07,821 [
http://localhost:8080/xwiki/wiki/mywiki/get/XWiki/Sug 
gestSolrService?query=fq%3Dtype%3ADOCUMENT%0Aqf%3Dtitle%5E2+name&nb=3&outputSynt
 

ax=plain&input=rdp] ERROR o.x.v.i.DefaultVelocityEngine  - Exception in 
macro #g 
etSearchSuggestResults called at octaedre:XWiki.SuggestSolrService[line 2, 
colum 
n 1] 

This search field uses the url : "
http://localhost:8080/xwiki/wiki/mywiki/view/Main/Search?y=7&text=rdp&x=10&f_type=DOCUMENT&f_locale=fr&f_locale=&r=1
" 

I tried the same thing connected with a main wiki admin and got the same 
results. 

Re-saving the document with admin rights do not changes nothing. 

But this search field works well when used in the main wiki, with admin ou 
subwiki admin : "
http://localhost:8080/xwiki/bin/view/Main/Search?text=rdp&f_type=DOCUMENT&f_locale=fr&f_locale=&r=1
" 

How can I repair my subwiki? 

Thanks a lot. 



"Eduard Moraru-2 [via XWiki]" <[email protected]> 
13/08/2014 10:48

A
pef <[email protected]>
cc

Objet
Re: Error during searches






Hi, 

You`ve just replied on nabble to a mail that did not make it to the list, 
but I eventually found the original mail you were referencing in your 
message. 

The problem seems to be that your Main.SolrSearch document is not saved 
with programming rights, hence lacking the privileges to function 
properly. 
To fix it, you need to save that document with a user that has programming 

rights, usually an admin on the main wiki. 

If you are just an admin of a subwiki inside a multiwiki environment, you 
need to contact your environment's admin and have him save that document. 
If you are a main wiki admin (either in a multiwiki or a single wiki 
environment), then go ahead and re-save it yourself to fix it. 

Hope this helps, 
Eduard 


On Mon, Aug 11, 2014 at 12:42 PM, zzeroo <[hidden email]> wrote: 

> I get exact the same error. 
> 
> My Setup: 
> - XWiki Enterprise 6.0.1 on debian 7 installed via apt-get 
> - Postgres SQL server installed via apt-get 
> 
> 
> 
> 
> -- 
> View this message in context: 
> 
http://xwiki.475771.n2.nabble.com/Error-during-searches-tp7591316p7591625.html

> Sent from the XWiki- Users mailing list archive at Nabble.com. 
> _______________________________________________ 
> users mailing list 
> [hidden email] 
> http://lists.xwiki.org/mailman/listinfo/users
> 
_______________________________________________ 
users mailing list 
[hidden email] 
http://lists.xwiki.org/mailman/listinfo/users



If you reply to this email, your message will be added to the discussion 
below:
http://xwiki.475771.n2.nabble.com/Error-during-searches-tp7591316p7591652.html 

To unsubscribe from Error during searches, click here.
NAML 




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Error-during-searches-tp7591316p7591659.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to