Re: [xwiki-users] Xwiki in FreeBSD jail?

2017-01-30 Thread Patrick M. Hausen
Hello,

> I am reading these
> 
> installation instructions. Is installing Xwiki inside a freebsd jail
>  the recommended method? I.e.
> is it "strongly" recommend or is there not much to gain either way.

Jails are just a form of leightweight VMs or containers (the new buzzword)
and I'd recommend using one to "contain" the application even if you do
not need it right now. At any time in the future you can e.g. just archive
the entire jail, transfer it to a different machine and just boot it ...

The problem with the cited document is different:

It's completely outdated! Neither is 
diablo-caffe-freebsd7-amd64-1.6.0_07-b02.tar.bz2
a recommended current JRE nor is Tomcat 6 a recommended version
of Tomcat to run a current Xwiki.

And the document doesn't even mention ZFS which gives so much
more power to the jail architecture. And iocage ... and ...

If you are familiar with FreeBSD, I'd recommend setting up a
jail on FreeBSD 11 or 10.3, installing Tomcat and MySQL and then
trying to follow a generic "how to deploy Xwiki in Tomcat" document.

Personally, even though we are running our entire hosting on
FreeBSD, set up single application servers on whatever
is best supported and requires the least work. And since
apt based installation of Xwiki is so much simpler, I run it on
Ubuntu.

HTH,
Patrick

Re: [xwiki-users] Can XWiki works on windows xp

2017-01-30 Thread hamiazuhk26
Hi Thomas,
There is no jre for windows xp 32 bit. I am using server windowx xp but
cannot donwload this jre. How is it?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Can-XWiki-works-on-windows-xp-tp7602577p7602604.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


[xwiki-users] Xwiki in FreeBSD jail?

2017-01-30 Thread Oliver Angélil
Dear all,

I am reading these

installation instructions. Is installing Xwiki inside a freebsd jail
 the recommended method? I.e.
is it "strongly" recommend or is there not much to gain either way.

Thanks,
Oliver


[xwiki-users] XWiki 6.1 - Share page by email - error

2017-01-30 Thread Sully, Henri-Robert
Hi,

We have an xwiki 6.1 installation and we can't figure out the « Share page by 
email » function.

It works very well for Admin users, but it doesn't work for regular users. We 
get an error message saying "Error: The message could not be sent to userX : 
email server error." (Or in French : Le message n'a pas pu être envoyé à UserX 
: Erreur du serveur email.)

It's the same error message seen for this problem (look at the error.png 
attachment) : http://jira.xwiki.org/browse/XE-1451

It looks like a permission problem, but I don't where to look. The stack trace 
on the other hand says that there is an illegal semicolon somewhere in the 
address field, which prevents the MailSenderPlugin from sending the email. 
Again, only for regular users, Admins are OK. I've intercepted the http 
requests with Fiddler, even look at the POST payload and I don't see any 
semicolon.


View the stack trace here: 
https://gist.github.com/anonymous/acafd8dfd501596ff94c2277982867d4

Can someone provide some insight?

Best regards,
Henri-Robert Sully



Re: [xwiki-users] FAQ Tutorial - Custom Creation Form

2017-01-30 Thread Jesse Bright
Thanks Vincent. I must have made a mistake while following along. 

Regards,

Jesse

> On Jan 30, 2017, at 8:11 AM, Vincent Massol  wrote:
> 
> Hi Jesse,
> 
>> On 30 Jan 2017, at 16:36, Jesse Bright  wrote:
>> 
>> I figured this out while fixing the live table. The tutorial code references 
>> the class and template pages as "FAQ.FAQClass" and "FAQ.FAQTemplate". 
>> However the pages actually created from the Class Editor wizard have a 
>> space: "FAQ.FAQ Class" and "FAQ.FAQ Template". After adding the space 
>> everything is working as expected. I may have made a mistake in following 
>> the tutorial but it didn't feel like it. Perhaps the tutorial needs updated 
>> to reflect changes in the Class Editor. 
> 
> What tutorial are you referring to? Is it the one at 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/FAQTutorialManual?
> 
> If so, I have checked it and the section entitled “Create the FAQ Class” 
> (http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/FAQTutorialManual#HCreatetheFAQClass)
>  creates a FAQ class with a reference of FAQ.FAQClass. The title is “FAQ 
> Class” but the reference is FAQ.FAQClass.
> 
> Thanks
> -Vincent
> 
> PS: I’ve updated the tutorial slightly to make it more clear.
> 
>> Regards,
>> 
>> Jesse Bright
>> 
>> 
>> Regards,
>> 
>> Jesse
>> 
>>> On Jan 30, 2017, at 6:00 AM, Jesse  wrote:
>>> 
>>> I am trying to follow along while modifying the code to reflect my app 
>>> location which is “Corrections.2016” and it all seems to work fine until I 
>>> try to do the custom form creation, which when submitted takes me to an 
>>> "about blank” page. Any thoughts on what I did wrong?
>>> 
>>> #if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
>>> {{warning}}The target document already exists. Please choose a different 
>>> name, or [[view the existing document>>$targetDocName]]{{/warning}}
>>> #elseif("$!targetDocName" != '')
>>> {{warning}}You don't have permission to create that document{{/warning}}
>>> #end
>>> 
>>> {{html}}
>>> 
>>>  
>>>
>>>>> value="Corrections.2016.2016Template"/>
>>>
>>>
>>>Code Section: 
>>>
>>>  
>>> 
>>> {{/html}}
>>> 
>>> Regards,
>>> 
>>> Jesse Bright
>> 
>> 
> 




Re: [xwiki-users] FAQ Tutorial - Custom Creation Form

2017-01-30 Thread Vincent Massol
Hi Jesse,

> On 30 Jan 2017, at 16:36, Jesse Bright  wrote:
> 
> I figured this out while fixing the live table. The tutorial code references 
> the class and template pages as "FAQ.FAQClass" and "FAQ.FAQTemplate". However 
> the pages actually created from the Class Editor wizard have a space: 
> "FAQ.FAQ Class" and "FAQ.FAQ Template". After adding the space everything is 
> working as expected. I may have made a mistake in following the tutorial but 
> it didn't feel like it. Perhaps the tutorial needs updated to reflect changes 
> in the Class Editor. 

What tutorial are you referring to? Is it the one at 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/FAQTutorialManual?

If so, I have checked it and the section entitled “Create the FAQ Class” 
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial/FAQTutorialManual#HCreatetheFAQClass)
 creates a FAQ class with a reference of FAQ.FAQClass. The title is “FAQ Class” 
but the reference is FAQ.FAQClass.

Thanks
-Vincent

PS: I’ve updated the tutorial slightly to make it more clear.

> Regards,
> 
> Jesse Bright
> 
> 
> Regards,
> 
> Jesse
> 
>> On Jan 30, 2017, at 6:00 AM, Jesse  wrote:
>> 
>> I am trying to follow along while modifying the code to reflect my app 
>> location which is “Corrections.2016” and it all seems to work fine until I 
>> try to do the custom form creation, which when submitted takes me to an 
>> "about blank” page. Any thoughts on what I did wrong?
>> 
>> #if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
>> {{warning}}The target document already exists. Please choose a different 
>> name, or [[view the existing document>>$targetDocName]]{{/warning}}
>> #elseif("$!targetDocName" != '')
>> {{warning}}You don't have permission to create that document{{/warning}}
>> #end
>> 
>> {{html}}
>> 
>>   
>> 
>> > value="Corrections.2016.2016Template"/>
>> 
>> 
>> Code Section: 
>> 
>>   
>> 
>> {{/html}}
>> 
>> Regards,
>> 
>> Jesse Bright
> 
> 



Re: [xwiki-users] FAQ Tutorial - Custom Creation Form

2017-01-30 Thread Pascal BASTIEN
Hello,

If you are certain of an error in FAQ Tutorial, you can edit the page and fix 
it IMO.
Xwiki is ... a wiki.

Thxs.

Pascal B


En date de : Lun 30.1.17, Jesse Bright  a écrit :

 Objet: Re: [xwiki-users] FAQ Tutorial - Custom Creation Form
 À: "XWiki Users" 
 Date: Lundi 30 janvier 2017, 16h36
 
 I figured this out while
 fixing the live table. The tutorial code references the
 class and template pages as "FAQ.FAQClass" and
 "FAQ.FAQTemplate". However the pages actually
 created from the Class Editor wizard have a space:
 "FAQ.FAQ Class" and "FAQ.FAQ Template".
 After adding the space everything is working as expected. I
 may have made a mistake in following the tutorial but it
 didn't feel like it. Perhaps the tutorial needs updated
 to reflect changes in the Class Editor. 
 
 Regards,
 
 Jesse
 Bright
 
 
 Regards,
 
 Jesse
 
 >
 On Jan 30, 2017, at 6:00 AM, Jesse 
 wrote:
 > 
 > I am
 trying to follow along while modifying the code to reflect
 my app location which is “Corrections.2016” and it all
 seems to work fine until I try to do the custom form
 creation, which when submitted takes me to an "about
 blank” page. Any thoughts on what I did wrong?
 > 
 >
 #if("$!targetDocName" != '' &&
 $xwiki.exists($targetDocName))
 > 
 {{warning}}The target document already exists. Please choose
 a different name, or [[view the existing
 document>>$targetDocName]]{{/warning}}
 > #elseif("$!targetDocName" !=
 '')
 >  {{warning}}You don't
 have permission to create that document{{/warning}}
 > #end
 > 
 > {{html}}
 >  
 >   
 
 >      
 >      
 >      
 >      
 >      Code Section: 
 >      
 >    
 > 
 
 > {{/html}}
 > 
 > Regards,
 > 
 > Jesse Bright
 
 


Re: [xwiki-users] FAQ Tutorial - Custom Creation Form

2017-01-30 Thread Jesse Bright
I figured this out while fixing the live table. The tutorial code references 
the class and template pages as "FAQ.FAQClass" and "FAQ.FAQTemplate". However 
the pages actually created from the Class Editor wizard have a space: "FAQ.FAQ 
Class" and "FAQ.FAQ Template". After adding the space everything is working as 
expected. I may have made a mistake in following the tutorial but it didn't 
feel like it. Perhaps the tutorial needs updated to reflect changes in the 
Class Editor. 

Regards,

Jesse Bright


Regards,

Jesse

> On Jan 30, 2017, at 6:00 AM, Jesse  wrote:
> 
> I am trying to follow along while modifying the code to reflect my app 
> location which is “Corrections.2016” and it all seems to work fine until I 
> try to do the custom form creation, which when submitted takes me to an 
> "about blank” page. Any thoughts on what I did wrong?
> 
> #if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
>  {{warning}}The target document already exists. Please choose a different 
> name, or [[view the existing document>>$targetDocName]]{{/warning}}
> #elseif("$!targetDocName" != '')
>  {{warning}}You don't have permission to create that document{{/warning}}
> #end
> 
> {{html}}
>  
>
>  
>   value="Corrections.2016.2016Template"/>
>  
>  
>  Code Section: 
>  
>
>  
> {{/html}}
> 
> Regards,
> 
> Jesse Bright




[xwiki-users] FAQ Tutorial - Custom Creation Form

2017-01-30 Thread Jesse
I am trying to follow along while modifying the code to reflect my app location 
which is “Corrections.2016” and it all seems to work fine until I try to do the 
custom form creation, which when submitted takes me to an "about blank” page. 
Any thoughts on what I did wrong?

#if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
  {{warning}}The target document already exists. Please choose a different 
name, or [[view the existing document>>$targetDocName]]{{/warning}}
#elseif("$!targetDocName" != '')
  {{warning}}You don't have permission to create that document{{/warning}}
#end

{{html}}
  

  
  
  
  
  Code Section: 
  

  
{{/html}}

Regards,

Jesse Bright