Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread vinc...@massol.net
Hi Keith,

On 10 Oct 2015 at 15:31:29, Keith Davis 
(keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:

> Created a new page with just this content:
>  
> {{velocity}}
> Your username is $xcontext.getUser(), welcome to the site.
> {{/velocity}}
>  
> That works:
>  
> "Your username is XWiki.Admin, welcome to the site."
>  
> I installed Xwiki originally, but a user that is no longer here (and the user 
> has been deleted) has done most of the upgrades for some time. Is it possible 
> that because his account is missing, there are no rights to these scripts?

Indeed, that’s a possibility and what Edy was suggesting, see 
http://markmail.org/message/et34vg63fuul33xc

I’ve also created http://jira.xwiki.org/browse/XWIKI-12676 to remember to 
handle this.

Thanks
-Vincent

> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:29 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> " Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
> webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
> upgrade [3]?)"
>  
> I have 7 of these in the lib folder.
>  
> " Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
> since it is located in ApplicationResources.properties which is located in 
> xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
> wiki would not be running."
>  
> I have these 2, but no "xwiki-platform-oldcore-7.2.jar" file.
>  
> xwiki-platform-legacy-oldcore-7.2.jar
> xwiki-platform-filter-instance-oldcore-7.2.jar
>  
> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:24 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> Ran the DW as the admin user, still getting these:
>  
> Failed to register the wiki component located in the document [Home 
> AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: 
> Registering UI extensions at wiki level requires wiki administration rights 
> Failed to register the wiki
>  
> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:14 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> This is so broken. Even when I go to Edit a page, the Title shows this:
>  
> $msg.get("xe.home.title")
>  
> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:12 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> I tried logging in as admin and doing the Distribution Wizard, but now it 
> won't come up. Is there a way to force that?
>  
> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of 
> vinc...@massol.net
> Sent: Saturday, October 10, 2015 8:06 AM
> To: XWiki Users
> Cc: Keith Davis
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
>  
> On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
> (vinc...@massol.net(mailto:vinc...@massol.net)) wrote:
>  
> > On 10 Oct 2015 at 14:41:01, Keith Davis 
> > (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
> >
> > > "Also, is your user account able to execute scripts? Have you tried 
> > > creating a new page with a simple script to test that?"
> > >
> > > How do I do that? Is there a simple script that I can use? I have not 
> > > written any velocity scripts on my own?
> >
> > Maybe this can help:
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> > hts
>  
> See also 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions
>  
> Thanks
> -Vincent
>  
> > Thanks
> > -Vincent
> >
> > > Keith Davis (214) 906-5183
> > >
> > >
> > > -Original Message-
> > > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith
> > > Davis
> > > Sent: Saturday, October 10, 2015 7:36 AM
> > > To: XWiki Users
> > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > >
> > > Scrolling through that list, I found a bunch more of those same errors. 
> > > Why does it not think I am an administrator?
> > >
> > > Keith Davis (214) 906-5183
> > >
> > >
> > > -Original Message-
> > > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith
> > > Davis
> > > Sent: Saturday, October 10, 2015 7:35 AM
> > > To: XWiki Users
> > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > >
> > > I finally got a chance to work on this today. I switched back to XWiki 
> > > 7.2 and I got the Distribution 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
And what about the "localization" errors? 

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 2:11 PM
To: vinc...@massol.net
Cc: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

But what do I do to fix this issue now or are we stuck on 7.1.2 until this is 
fixed?

Keith Davis - (214) 906-5183 -
http://pridedallas.com

On Oct 10, 2015, at 11:35 AM, "vinc...@massol.net" 
> wrote:

Hi Keith,

On 10 Oct 2015 at 15:31:29, Keith Davis 
(keithda...@pridedallas.com(mailto:keithda...@pridedallas.com))
 wrote:

> Created a new page with just this content:
>
> {{velocity}}
> Your username is $xcontext.getUser(), welcome to the site.
> {{/velocity}}
>
> That works:
>
> "Your username is XWiki.Admin, welcome to the site."
>
> I installed Xwiki originally, but a user that is no longer here (and the user 
> has been deleted) has done most of the upgrades for some time. Is it possible 
> that because his account is missing, there are no rights to these scripts?

Indeed, that’s a possibility and what Edy was suggesting, see 
http://markmail.org/message/et34vg63fuul33xc

I’ve also created http://jira.xwiki.org/browse/XWIKI-12676 to remember to 
handle this.

Thanks
-Vincent

> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:29 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> " Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
> webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
> upgrade [3]?)"
>
> I have 7 of these in the lib folder.
>
> " Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
> since it is located in ApplicationResources.properties which is located in 
> xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
> wiki would not be running."
>
> I have these 2, but no "xwiki-platform-oldcore-7.2.jar" file.
>
> xwiki-platform-legacy-oldcore-7.2.jar
> xwiki-platform-filter-instance-oldcore-7.2.jar
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:24 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> Ran the DW as the admin user, still getting these:
>
> Failed to register the wiki component located in the document [Home 
> AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: 
> Registering UI extensions at wiki level requires wiki administration 
> rights Failed to register the wiki
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:14 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> This is so broken. Even when I go to Edit a page, the Title shows this:
>
> $msg.get("xe.home.title")
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:12 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> I tried logging in as admin and doing the Distribution Wizard, but now it 
> won't come up. Is there a way to force that?
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of 
> vinc...@massol.net
> Sent: Saturday, October 10, 2015 8:06 AM
> To: XWiki Users
> Cc: Keith Davis
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
>
> On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
> (vinc...@massol.net(mailto:vinc...@massol.net)) 
> wrote:
>
> > On 10 Oct 2015 at 14:41:01, Keith Davis 
> > (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com))
> >  wrote:
> >
> > > "Also, is your user account able to execute scripts? Have you tried 
> > > creating a new page with a simple script to test that?"
> > >
> > > How do I do that? Is there a simple script that I can use? I have not 
> > > written any velocity scripts on my own?
> >
> > Maybe this can help:
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HR
> > ig
> > hts
>
> See also 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissio
> ns
>
> Thanks
> -Vincent
>
> > Thanks
> > -Vincent
> >
> > > Keith Davis (214) 906-5183
> > >
> > >
> > > -Original Message-
> > > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > > Davis
> > > 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
But what do I do to fix this issue now or are we stuck on 7.1.2 until this is 
fixed?

Keith Davis - (214) 906-5183 -
http://pridedallas.com

On Oct 10, 2015, at 11:35 AM, "vinc...@massol.net" 
> wrote:

Hi Keith,

On 10 Oct 2015 at 15:31:29, Keith Davis 
(keithda...@pridedallas.com(mailto:keithda...@pridedallas.com))
 wrote:

> Created a new page with just this content:
>
> {{velocity}}
> Your username is $xcontext.getUser(), welcome to the site.
> {{/velocity}}
>
> That works:
>
> "Your username is XWiki.Admin, welcome to the site."
>
> I installed Xwiki originally, but a user that is no longer here (and the user 
> has been deleted) has done most of the upgrades for some time. Is it possible 
> that because his account is missing, there are no rights to these scripts?

Indeed, that’s a possibility and what Edy was suggesting, see 
http://markmail.org/message/et34vg63fuul33xc

I’ve also created http://jira.xwiki.org/browse/XWIKI-12676 to remember to 
handle this.

Thanks
-Vincent

> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:29 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> " Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
> webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
> upgrade [3]?)"
>
> I have 7 of these in the lib folder.
>
> " Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
> since it is located in ApplicationResources.properties which is located in 
> xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
> wiki would not be running."
>
> I have these 2, but no "xwiki-platform-oldcore-7.2.jar" file.
>
> xwiki-platform-legacy-oldcore-7.2.jar
> xwiki-platform-filter-instance-oldcore-7.2.jar
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:24 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> Ran the DW as the admin user, still getting these:
>
> Failed to register the wiki component located in the document [Home 
> AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: 
> Registering UI extensions at wiki level requires wiki administration rights 
> Failed to register the wiki
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:14 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> This is so broken. Even when I go to Edit a page, the Title shows this:
>
> $msg.get("xe.home.title")
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 8:12 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
> I tried logging in as admin and doing the Distribution Wizard, but now it 
> won't come up. Is there a way to force that?
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of 
> vinc...@massol.net
> Sent: Saturday, October 10, 2015 8:06 AM
> To: XWiki Users
> Cc: Keith Davis
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>
>
> On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
> (vinc...@massol.net(mailto:vinc...@massol.net)) 
> wrote:
>
> > On 10 Oct 2015 at 14:41:01, Keith Davis 
> > (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com))
> >  wrote:
> >
> > > "Also, is your user account able to execute scripts? Have you tried 
> > > creating a new page with a simple script to test that?"
> > >
> > > How do I do that? Is there a simple script that I can use? I have not 
> > > written any velocity scripts on my own?
> >
> > Maybe this can help:
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> > hts
>
> See also 
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions
>
> Thanks
> -Vincent
>
> > Thanks
> > -Vincent
> >
> > > Keith Davis (214) 906-5183
> > >
> > >
> > > -Original Message-
> > > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith
> > > Davis
> > > Sent: Saturday, October 10, 2015 7:36 AM
> > > To: XWiki Users
> > > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> > >
> > > Scrolling through that list, I found a bunch more of those same errors. 
> > > Why does it not think I am an administrator?
> > >
> > > Keith Davis (214) 906-5183
> > >
> > >
> > > 

Re: [xwiki-users] Converting MediaWiki to Xwiki

2015-10-10 Thread Paul Libbrecht
Thanks Vincent for the reminder,

Tausif, I've shared my script using the tags migration and confluence on:
   
http://extensions.xwiki.org/xwiki/bin/view/Extension/DownloadFromOtherWikiPage
If it is effective for you to migrate mediawiki, then please add the tag
mediawiki.

thanks

Paul

> vinc...@massol.net 
> 10 octobre 2015 13:43
> Hi Tausif,
>
> You could check some of the extensions
> there: 
> http://extensions.xwiki.org/xwiki/bin/view/Main/Tags?do=viewTag=migration
>
> Beware that their level of quality may vary.
>
> Also note that XWiki supports the medawiki syntax natively,
> see 
> htHtp://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HChoosingaSyntax
>
> Thanks
> -Vincent
>
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> Tausif Hasan 
> 9 octobre 2015 22:27
> Hi all,
>
> I was wondering if anyone knew of any methods to convert mediawiki
> pages to xwiki pages. Preferably with the assistance of a tool as I am
> looking to convert about 200 or so pages. Thanks to anyone who knows a
> solution to this!
>
> Regards,
> Tausif
>
> Tausif Hasan | Intern
> New York Genome Center
> 101 Avenue of the Americas
> New York, NY 10013
> tha...@nygenome.org
> This electronic message is intended for the use of the named recipient
> only, and may contain information that is confidential, privileged or
> protected from disclosure under applicable law. If you are not the
> intended recipient, or an employee or agent responsible for delivering
> this message to the intended recipient, you are hereby notified that
> any reading, disclosure, dissemination, distribution, copying or use
> of the contents of this message including any of its attachments is
> strictly prohibited. If you have received this message in error or are
> not the named recipient, please notify us immediately by contacting
> the sender at the electronic mail address noted above, and destroy all
> copies of this message. Please note, the recipient should check this
> email and any attachments for the presence of viruses. The
> organization accepts no liability for any damage caused by any virus
> transmitted by this email.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] happy user

2015-10-10 Thread SAPIBEL T.V
-- 
sapibe...@gmail.com 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Converting MediaWiki to Xwiki

2015-10-10 Thread vinc...@massol.net
Hi Tausif,

You could check some of the extensions there: 
http://extensions.xwiki.org/xwiki/bin/view/Main/Tags?do=viewTag=migration

Beware that their level of quality may vary.

Also note that XWiki supports the medawiki syntax natively, see 
http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HChoosingaSyntax

Thanks
-Vincent


On 9 Oct 2015 at 22:27:37, Tausif Hasan 
(tha...@nygenome.org(mailto:tha...@nygenome.org)) wrote:

> Hi all,
>  
> I was wondering if anyone knew of any methods to convert mediawiki pages to 
> xwiki pages. Preferably with the assistance of a tool as I am looking to 
> convert about 200 or so pages. Thanks to anyone who knows a solution to this!
>  
> Regards,
> Tausif

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
I finally got a chance to work on this today. I switched back to XWiki 7.2 and 
I got the Distribution Wizard interface telling me that the 7.1.2 UI is invalid 
and to upgrade (again). Is that supposed to happen? I never did anything to 
"downgrade" the UI.

This time, I noticed that I get these errors:

Failed to register the wiki component located in the document [Home » 
AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: Registering 
UI extensions at wiki level requires wiki administration rights
Failed to register the wiki component located in the document [Home » Stats » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights
Failed to register the wiki component located in the document [Home » Scheduler 
» ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights
Failed to register the wiki component located in the document [Home » XWiki » 
UserDirectoryApplicationsPanelEntry]: WikiComponentException: Registering UI 
extensions at wiki level requires wiki administration rights
Failed to register the wiki component located in the document [Home » Blog » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights
Failed to register the wiki component located in the document [Home » Panels » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights

I am an administrator - maybe this is the problem?

Keith Davis (214) 906-5183

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard Moraru
Sent: Tuesday, October 06, 2015 4:10 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

Keith, have you tried to create a new page with the source [1] of the content 
author checking app I mentioned above?

Also, is your user account able to execute scripts? Have you tried creating a 
new page with a simple script to test that?

If your user can not execute the scripts he writes, then you could try enabling 
the superadmin [2] account and log in with that one in order to create the 
content author checking app page (with the mentioned source code).

We are at a debugging step here, since we can not reproduce what you describe, 
from the information you are giving us. I ran an upgrade of a clean 7.1.2 
instance to a 7.2 version, through the Distribution Wizard without issues, so 
my conclusion is that there is a problem with your particular instance's state, 
probably due to some incomplete upgrade steps.

Since you are the only one with access to your instances, we need more 
information of what is going on to find out what went wrong. Alternatively, you 
could also re-attempt the upgrade and making sure that, while resolving any 
conflicts during the Distribution Wizard's upgrade step, you include/merge the 
changes coming from the 7.2 version of the conflicting documents.


Re things like "$services.localization.render..." there could be 2 causes
here:
1) Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
upgrade [3]?)
2) Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
since it is located in ApplicationResources.properties which is located in 
xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
wiki would not be running.

Hope this helps getting to the bottom of this.

-Eduard

--
[1]
http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Content+Author#HSource
[2]
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSuperadminaccount
[3] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade

On Mon, Oct 5, 2015 at 6:45 PM, Keith Davis 
wrote:

> Maybe we are not talking about the same thing. None of the scripts 
> work, that includes the panel scripts, like My Recent Modifications, 
> Backlinks and Recently Modified. Are you saying that the last Author 
> of the that page is Author of the panel scripts as well, though those 
> are shown on every page??? We don't write or create any velocity 
> scripts - we are only using the ones that came with XWiki or installed via 
> Extensions.
>
> Also, the extension managements pages are broken (I sent that in the 
> first email that did not go through). Under Extension Manager, Add 
> Extensions is listed, but is broken (I think, I'm back on 7.1.2 right 
> now), but the other links all are like this:
>
> $services.localization.render
> ('admin.xwiki.installedextensions')
>
> Those definitely do no work.
>
>
> Keith Davis (214) 906-5183
>
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard 
> Moraru
> Sent: Monday, October 05, 2015 10:18 AM
> To: XWiki Users
> 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
Scrolling through that list, I found a bunch more of those same errors. Why 
does it not think I am an administrator?

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 7:35 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

I finally got a chance to work on this today. I switched back to XWiki 7.2 and 
I got the Distribution Wizard interface telling me that the 7.1.2 UI is invalid 
and to upgrade (again). Is that supposed to happen? I never did anything to 
"downgrade" the UI.

This time, I noticed that I get these errors:

Failed to register the wiki component located in the document [Home » 
AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: Registering 
UI extensions at wiki level requires wiki administration rights Failed to 
register the wiki component located in the document [Home » Stats » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights Failed to register the wiki 
component located in the document [Home » Scheduler » ApplicationsPanelEntry]: 
WikiComponentException: Registering UI extensions at wiki level requires wiki 
administration rights Failed to register the wiki component located in the 
document [Home » XWiki » UserDirectoryApplicationsPanelEntry]: 
WikiComponentException: Registering UI extensions at wiki level requires wiki 
administration rights Failed to register the wiki component located in the 
document [Home » Blog » ApplicationsPanelEntry]: WikiComponentException: 
Registering UI extensions at wiki level requires wiki administration rights 
Failed to register the wiki component located in the document [Home » Panels » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights

I am an administrator - maybe this is the problem?

Keith Davis (214) 906-5183

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard Moraru
Sent: Tuesday, October 06, 2015 4:10 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

Keith, have you tried to create a new page with the source [1] of the content 
author checking app I mentioned above?

Also, is your user account able to execute scripts? Have you tried creating a 
new page with a simple script to test that?

If your user can not execute the scripts he writes, then you could try enabling 
the superadmin [2] account and log in with that one in order to create the 
content author checking app page (with the mentioned source code).

We are at a debugging step here, since we can not reproduce what you describe, 
from the information you are giving us. I ran an upgrade of a clean 7.1.2 
instance to a 7.2 version, through the Distribution Wizard without issues, so 
my conclusion is that there is a problem with your particular instance's state, 
probably due to some incomplete upgrade steps.

Since you are the only one with access to your instances, we need more 
information of what is going on to find out what went wrong. Alternatively, you 
could also re-attempt the upgrade and making sure that, while resolving any 
conflicts during the Distribution Wizard's upgrade step, you include/merge the 
changes coming from the 7.2 version of the conflicting documents.


Re things like "$services.localization.render..." there could be 2 causes
here:
1) Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
upgrade [3]?)
2) Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
since it is located in ApplicationResources.properties which is located in 
xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
wiki would not be running.

Hope this helps getting to the bottom of this.

-Eduard

--
[1]
http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Content+Author#HSource
[2]
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSuperadminaccount
[3] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade

On Mon, Oct 5, 2015 at 6:45 PM, Keith Davis 
wrote:

> Maybe we are not talking about the same thing. None of the scripts 
> work, that includes the panel scripts, like My Recent Modifications, 
> Backlinks and Recently Modified. Are you saying that the last Author 
> of the that page is Author of the panel scripts as well, though those 
> are shown on every page??? We don't write or create any velocity 
> scripts - we are only using the ones that came with XWiki or installed via 
> Extensions.
>
> Also, the extension managements pages are broken (I sent that in the 
> first email that did not go through). Under Extension Manager, Add 
> Extensions is listed, but is broken (I think, I'm back on 7.1.2 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
"Also, is your user account able to execute scripts? Have you tried creating a 
new page with a simple script to test that?"

How do I do that? Is there a simple script that I can use? I have not written 
any velocity scripts on my own? 

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 7:36 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

Scrolling through that list, I found a bunch more of those same errors. Why 
does it not think I am an administrator?

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 7:35 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

I finally got a chance to work on this today. I switched back to XWiki 7.2 and 
I got the Distribution Wizard interface telling me that the 7.1.2 UI is invalid 
and to upgrade (again). Is that supposed to happen? I never did anything to 
"downgrade" the UI.

This time, I noticed that I get these errors:

Failed to register the wiki component located in the document [Home » 
AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: Registering 
UI extensions at wiki level requires wiki administration rights Failed to 
register the wiki component located in the document [Home » Stats » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights Failed to register the wiki 
component located in the document [Home » Scheduler » ApplicationsPanelEntry]: 
WikiComponentException: Registering UI extensions at wiki level requires wiki 
administration rights Failed to register the wiki component located in the 
document [Home » XWiki » UserDirectoryApplicationsPanelEntry]: 
WikiComponentException: Registering UI extensions at wiki level requires wiki 
administration rights Failed to register the wiki component located in the 
document [Home » Blog » ApplicationsPanelEntry]: WikiComponentException: 
Registering UI extensions at wiki level requires wiki administration rights 
Failed to register the wiki component located in the document [Home » Panels » 
ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
wiki level requires wiki administration rights

I am an administrator - maybe this is the problem?

Keith Davis (214) 906-5183

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard Moraru
Sent: Tuesday, October 06, 2015 4:10 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

Keith, have you tried to create a new page with the source [1] of the content 
author checking app I mentioned above?

Also, is your user account able to execute scripts? Have you tried creating a 
new page with a simple script to test that?

If your user can not execute the scripts he writes, then you could try enabling 
the superadmin [2] account and log in with that one in order to create the 
content author checking app page (with the mentioned source code).

We are at a debugging step here, since we can not reproduce what you describe, 
from the information you are giving us. I ran an upgrade of a clean 7.1.2 
instance to a 7.2 version, through the Distribution Wizard without issues, so 
my conclusion is that there is a problem with your particular instance's state, 
probably due to some incomplete upgrade steps.

Since you are the only one with access to your instances, we need more 
information of what is going on to find out what went wrong. Alternatively, you 
could also re-attempt the upgrade and making sure that, while resolving any 
conflicts during the Distribution Wizard's upgrade step, you include/merge the 
changes coming from the 7.2 version of the conflicting documents.


Re things like "$services.localization.render..." there could be 2 causes
here:
1) Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
upgrade [3]?)
2) Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
since it is located in ApplicationResources.properties which is located in 
xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
wiki would not be running.

Hope this helps getting to the bottom of this.

-Eduard

--
[1]
http://extensions.xwiki.org/xwiki/bin/view/Extension/Check+Content+Author#HSource
[2]
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Security#HSuperadminaccount
[3] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade

On Mon, Oct 5, 2015 at 6:45 PM, Keith Davis 
wrote:

> Maybe we are not talking about the same thing. None of the scripts 
> work, that includes the panel scripts, like My Recent Modifications, 
> Backlinks and Recently 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread vinc...@massol.net
 




On 10 Oct 2015 at 14:41:01, Keith Davis 
(keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:

> "Also, is your user account able to execute scripts? Have you tried creating 
> a new page with a simple script to test that?"
>  
> How do I do that? Is there a simple script that I can use? I have not written 
> any velocity scripts on my own?

Maybe this can help: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRights

Thanks
-Vincent

> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 7:36 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> Scrolling through that list, I found a bunch more of those same errors. Why 
> does it not think I am an administrator?
>  
> Keith Davis (214) 906-5183
>  
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> Sent: Saturday, October 10, 2015 7:35 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> I finally got a chance to work on this today. I switched back to XWiki 7.2 
> and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> invalid and to upgrade (again). Is that supposed to happen? I never did 
> anything to "downgrade" the UI.
>  
> This time, I noticed that I get these errors:
>  
> Failed to register the wiki component located in the document [Home » 
> AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: 
> Registering UI extensions at wiki level requires wiki administration rights 
> Failed to register the wiki component located in the document [Home » Stats » 
> ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
> wiki level requires wiki administration rights Failed to register the wiki 
> component located in the document [Home » Scheduler » 
> ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
> wiki level requires wiki administration rights Failed to register the wiki 
> component located in the document [Home » XWiki » 
> UserDirectoryApplicationsPanelEntry]: WikiComponentException: Registering UI 
> extensions at wiki level requires wiki administration rights Failed to 
> register the wiki component located in the document [Home » Blog » 
> ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions at 
> wiki level requires wiki administration rights Failed to register the wiki 
> component located in the document [Home » Panels » ApplicationsPanelEntry]: 
> WikiComponentException: Registering UI extensions at wiki level requires wiki 
> administration rights
>  
> I am an administrator - maybe this is the problem?
>  
> Keith Davis (214) 906-5183
>  
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard Moraru
> Sent: Tuesday, October 06, 2015 4:10 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
>  
> Keith, have you tried to create a new page with the source [1] of the content 
> author checking app I mentioned above?
>  
> Also, is your user account able to execute scripts? Have you tried creating a 
> new page with a simple script to test that?
>  
> If your user can not execute the scripts he writes, then you could try 
> enabling the superadmin [2] account and log in with that one in order to 
> create the content author checking app page (with the mentioned source code).
>  
> We are at a debugging step here, since we can not reproduce what you 
> describe, from the information you are giving us. I ran an upgrade of a clean 
> 7.1.2 instance to a 7.2 version, through the Distribution Wizard without 
> issues, so my conclusion is that there is a problem with your particular 
> instance's state, probably due to some incomplete upgrade steps.
>  
> Since you are the only one with access to your instances, we need more 
> information of what is going on to find out what went wrong. Alternatively, 
> you could also re-attempt the upgrade and making sure that, while resolving 
> any conflicts during the Distribution Wizard's upgrade step, you 
> include/merge the changes coming from the 7.2 version of the conflicting 
> documents.
>  
>  
> Re things like "$services.localization.render..." there could be 2 causes
> here:
> 1) Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in 
> your webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper 
> war upgrade [3]?)
> 2) Missing 'admin.xwiki.installedextensions' translation, but that is 
> unlikely since it is located in ApplicationResources.properties which is 
> located in xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without 
> which your wiki would not be running.
>  
> Hope this helps getting to the bottom of this.
>  
> -Eduard
>  
> --
> [1]
> 

[xwiki-users] Job's and queues

2015-10-10 Thread Peter Huisman
Hi guys,

I am looking for an example on how to create / use a queue for my custom jobs 
and how to add jobs in the queue (preferably an example in Java). I can’t find 
an example I can use - except for the job Executor description in the 
Extensions area. Can anyone supply me with an example?

With kind regards,

Peter


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread vinc...@massol.net

On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> On 10 Oct 2015 at 14:41:01, Keith Davis 
> (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
>  
> > "Also, is your user account able to execute scripts? Have you tried 
> > creating a new page with a simple script to test that?"
> >
> > How do I do that? Is there a simple script that I can use? I have not 
> > written any velocity scripts on my own?  
>  
> Maybe this can help: 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRights 

See also 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions

Thanks
-Vincent

> Thanks  
> -Vincent
>  
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> > Sent: Saturday, October 10, 2015 7:36 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Scrolling through that list, I found a bunch more of those same errors. Why 
> > does it not think I am an administrator?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
> > Sent: Saturday, October 10, 2015 7:35 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I finally got a chance to work on this today. I switched back to XWiki 7.2 
> > and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> > invalid and to upgrade (again). Is that supposed to happen? I never did 
> > anything to "downgrade" the UI.
> >
> > This time, I noticed that I get these errors:
> >
> > Failed to register the wiki component located in the document [Home » 
> > AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: 
> > Registering UI extensions at wiki level requires wiki administration rights 
> > Failed to register the wiki component located in the document [Home » Stats 
> > » ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed to 
> > register the wiki component located in the document [Home » Scheduler » 
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions 
> > at wiki level requires wiki administration rights Failed to register the 
> > wiki component located in the document [Home » XWiki » 
> > UserDirectoryApplicationsPanelEntry]: WikiComponentException: Registering 
> > UI extensions at wiki level requires wiki administration rights Failed to 
> > register the wiki component located in the document [Home » Blog » 
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions 
> > at wiki level requires wiki administration rights Failed to register the 
> > wiki component located in the document [Home » Panels » 
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI extensions 
> > at wiki level requires wiki administration rights
> >
> > I am an administrator - maybe this is the problem?
> >
> > Keith Davis (214) 906-5183
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard Moraru
> > Sent: Tuesday, October 06, 2015 4:10 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Keith, have you tried to create a new page with the source [1] of the 
> > content author checking app I mentioned above?
> >
> > Also, is your user account able to execute scripts? Have you tried creating 
> > a new page with a simple script to test that?
> >
> > If your user can not execute the scripts he writes, then you could try 
> > enabling the superadmin [2] account and log in with that one in order to 
> > create the content author checking app page (with the mentioned source 
> > code).
> >
> > We are at a debugging step here, since we can not reproduce what you 
> > describe, from the information you are giving us. I ran an upgrade of a 
> > clean 7.1.2 instance to a 7.2 version, through the Distribution Wizard 
> > without issues, so my conclusion is that there is a problem with your 
> > particular instance's state, probably due to some incomplete upgrade steps.
> >
> > Since you are the only one with access to your instances, we need more 
> > information of what is going on to find out what went wrong. Alternatively, 
> > you could also re-attempt the upgrade and making sure that, while resolving 
> > any conflicts during the Distribution Wizard's upgrade step, you 
> > include/merge the changes coming from the 7.2 version of the conflicting 
> > documents.
> >
> >
> > Re things like "$services.localization.render..." there could be 2 causes
> > here:
> > 1) Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in 
> > your webapps/xwiki/WEB-INF/lib installation folder (maybe due to an 
> > improper war upgrade [3]?)
> > 2) 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
I tried logging in as admin and doing the Distribution Wizard, but now it won't 
come up. Is there a way to force that?

Keith Davis (214) 906-5183


-Original Message-
From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: Saturday, October 10, 2015 8:06 AM
To: XWiki Users
Cc: Keith Davis
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors


On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> On 10 Oct 2015 at 14:41:01, Keith Davis 
> (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
>  
> > "Also, is your user account able to execute scripts? Have you tried 
> > creating a new page with a simple script to test that?"
> >
> > How do I do that? Is there a simple script that I can use? I have not 
> > written any velocity scripts on my own?  
>  
> Maybe this can help: 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> hts

See also 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions

Thanks
-Vincent

> Thanks
> -Vincent
>  
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:36 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Scrolling through that list, I found a bunch more of those same errors. Why 
> > does it not think I am an administrator?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:35 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I finally got a chance to work on this today. I switched back to XWiki 7.2 
> > and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> > invalid and to upgrade (again). Is that supposed to happen? I never did 
> > anything to "downgrade" the UI.
> >
> > This time, I noticed that I get these errors:
> >
> > Failed to register the wiki component located in the document [Home 
> > » AppWithinMinutes » ApplicationsPanelEntry]: 
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Stats » 
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Scheduler » ApplicationsPanelEntry]: WikiComponentException: 
> > Registering UI extensions at wiki level requires wiki administration 
> > rights Failed to register the wiki component located in the document 
> > [Home » XWiki » UserDirectoryApplicationsPanelEntry]: 
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Blog » 
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Panels » ApplicationsPanelEntry]: WikiComponentException: 
> > Registering UI extensions at wiki level requires wiki administration 
> > rights
> >
> > I am an administrator - maybe this is the problem?
> >
> > Keith Davis (214) 906-5183
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard 
> > Moraru
> > Sent: Tuesday, October 06, 2015 4:10 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Keith, have you tried to create a new page with the source [1] of the 
> > content author checking app I mentioned above?
> >
> > Also, is your user account able to execute scripts? Have you tried creating 
> > a new page with a simple script to test that?
> >
> > If your user can not execute the scripts he writes, then you could try 
> > enabling the superadmin [2] account and log in with that one in order to 
> > create the content author checking app page (with the mentioned source 
> > code).
> >
> > We are at a debugging step here, since we can not reproduce what you 
> > describe, from the information you are giving us. I ran an upgrade of a 
> > clean 7.1.2 instance to a 7.2 version, through the Distribution Wizard 
> > without issues, so my conclusion is that there is a problem with your 
> > particular instance's state, probably due to some incomplete upgrade steps.
> >
> > Since you are the only one with access to your instances, we need more 
> > information of what is going on to find out what went wrong. Alternatively, 
> > you could also re-attempt the upgrade and making sure that, while resolving 
> > any conflicts during the 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
This is so broken. Even when I go to Edit a page, the Title shows this:

$msg.get("xe.home.title")

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:12 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

I tried logging in as admin and doing the Distribution Wizard, but now it won't 
come up. Is there a way to force that?

Keith Davis (214) 906-5183


-Original Message-
From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: Saturday, October 10, 2015 8:06 AM
To: XWiki Users
Cc: Keith Davis
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors


On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> On 10 Oct 2015 at 14:41:01, Keith Davis 
> (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
>  
> > "Also, is your user account able to execute scripts? Have you tried 
> > creating a new page with a simple script to test that?"
> >
> > How do I do that? Is there a simple script that I can use? I have not 
> > written any velocity scripts on my own?  
>  
> Maybe this can help: 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> hts

See also 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions

Thanks
-Vincent

> Thanks
> -Vincent
>  
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:36 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Scrolling through that list, I found a bunch more of those same errors. Why 
> > does it not think I am an administrator?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:35 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I finally got a chance to work on this today. I switched back to XWiki 7.2 
> > and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> > invalid and to upgrade (again). Is that supposed to happen? I never did 
> > anything to "downgrade" the UI.
> >
> > This time, I noticed that I get these errors:
> >
> > Failed to register the wiki component located in the document [Home 
> > » AppWithinMinutes » ApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Stats »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Scheduler » ApplicationsPanelEntry]: WikiComponentException:
> > Registering UI extensions at wiki level requires wiki administration 
> > rights Failed to register the wiki component located in the document 
> > [Home » XWiki » UserDirectoryApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Blog »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Panels » ApplicationsPanelEntry]: WikiComponentException:
> > Registering UI extensions at wiki level requires wiki administration 
> > rights
> >
> > I am an administrator - maybe this is the problem?
> >
> > Keith Davis (214) 906-5183
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard 
> > Moraru
> > Sent: Tuesday, October 06, 2015 4:10 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Keith, have you tried to create a new page with the source [1] of the 
> > content author checking app I mentioned above?
> >
> > Also, is your user account able to execute scripts? Have you tried creating 
> > a new page with a simple script to test that?
> >
> > If your user can not execute the scripts he writes, then you could try 
> > enabling the superadmin [2] account and log in with that one in order to 
> > create the content author checking app page (with the mentioned source 
> > code).
> >
> > We are at a debugging step here, since we can not reproduce what you 
> > describe, from the information you are giving us. I ran an upgrade of a 
> > clean 7.1.2 instance to a 7.2 version, through the Distribution Wizard 
> > without issues, so my conclusion is that there is a problem with your 
> > 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
Ran the DW as the admin user, still getting these:

Failed to register the wiki component located in the document [Home 
AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: Registering 
UI extensions at wiki level requires wiki administration rights Failed to 
register the wiki

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:14 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

This is so broken. Even when I go to Edit a page, the Title shows this:

$msg.get("xe.home.title")

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:12 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

I tried logging in as admin and doing the Distribution Wizard, but now it won't 
come up. Is there a way to force that?

Keith Davis (214) 906-5183


-Original Message-
From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: Saturday, October 10, 2015 8:06 AM
To: XWiki Users
Cc: Keith Davis
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors


On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> On 10 Oct 2015 at 14:41:01, Keith Davis 
> (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
>  
> > "Also, is your user account able to execute scripts? Have you tried 
> > creating a new page with a simple script to test that?"
> >
> > How do I do that? Is there a simple script that I can use? I have not 
> > written any velocity scripts on my own?  
>  
> Maybe this can help: 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> hts

See also 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions

Thanks
-Vincent

> Thanks
> -Vincent
>  
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:36 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Scrolling through that list, I found a bunch more of those same errors. Why 
> > does it not think I am an administrator?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:35 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I finally got a chance to work on this today. I switched back to XWiki 7.2 
> > and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> > invalid and to upgrade (again). Is that supposed to happen? I never did 
> > anything to "downgrade" the UI.
> >
> > This time, I noticed that I get these errors:
> >
> > Failed to register the wiki component located in the document [Home 
> > » AppWithinMinutes » ApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Stats »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Scheduler » ApplicationsPanelEntry]: WikiComponentException:
> > Registering UI extensions at wiki level requires wiki administration 
> > rights Failed to register the wiki component located in the document 
> > [Home » XWiki » UserDirectoryApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Blog »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Panels » ApplicationsPanelEntry]: WikiComponentException:
> > Registering UI extensions at wiki level requires wiki administration 
> > rights
> >
> > I am an administrator - maybe this is the problem?
> >
> > Keith Davis (214) 906-5183
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Eduard 
> > Moraru
> > Sent: Tuesday, October 06, 2015 4:10 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Keith, have you tried to create a new page with the source [1] of the 
> > content author checking app I mentioned above?
> >
> > Also, is your user account able to execute scripts? Have you tried creating 
> > a new page with a simple script to test that?
> >
> > If your user 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
" Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
upgrade [3]?)"

I have 7 of these in the lib folder.

" Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
since it is located in ApplicationResources.properties which is located in 
xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
wiki would not be running."

I have these 2, but no "xwiki-platform-oldcore-7.2.jar" file.

xwiki-platform-legacy-oldcore-7.2.jar
xwiki-platform-filter-instance-oldcore-7.2.jar

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:24 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

Ran the DW as the admin user, still getting these:

Failed to register the wiki component located in the document [Home 
AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: Registering 
UI extensions at wiki level requires wiki administration rights Failed to 
register the wiki

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:14 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

This is so broken. Even when I go to Edit a page, the Title shows this:

$msg.get("xe.home.title")

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:12 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

I tried logging in as admin and doing the Distribution Wizard, but now it won't 
come up. Is there a way to force that?

Keith Davis (214) 906-5183


-Original Message-
From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: Saturday, October 10, 2015 8:06 AM
To: XWiki Users
Cc: Keith Davis
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors


On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> On 10 Oct 2015 at 14:41:01, Keith Davis 
> (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
>  
> > "Also, is your user account able to execute scripts? Have you tried 
> > creating a new page with a simple script to test that?"
> >
> > How do I do that? Is there a simple script that I can use? I have not 
> > written any velocity scripts on my own?  
>  
> Maybe this can help: 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> hts

See also 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions

Thanks
-Vincent

> Thanks
> -Vincent
>  
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:36 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Scrolling through that list, I found a bunch more of those same errors. Why 
> > does it not think I am an administrator?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:35 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I finally got a chance to work on this today. I switched back to XWiki 7.2 
> > and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> > invalid and to upgrade (again). Is that supposed to happen? I never did 
> > anything to "downgrade" the UI.
> >
> > This time, I noticed that I get these errors:
> >
> > Failed to register the wiki component located in the document [Home 
> > » AppWithinMinutes » ApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Stats »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki administration rights Failed 
> > to register the wiki component located in the document [Home » 
> > Scheduler » ApplicationsPanelEntry]: WikiComponentException:
> > Registering UI extensions at wiki level requires wiki administration 
> > rights Failed to register the wiki component located in the document 
> > [Home » XWiki » UserDirectoryApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Blog »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires wiki 

Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

2015-10-10 Thread Keith Davis
Created a new page with just this content:

{{velocity}}
Your username is $xcontext.getUser(), welcome to the site.
{{/velocity}}

That works:

"Your username is XWiki.Admin, welcome to the site."

I installed Xwiki originally, but a user that is no longer here (and the user 
has been deleted) has done most of the upgrades for some time. Is it possible 
that because his account is missing, there are no rights to these scripts?

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:29 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

" Missing xwiki-platform-localization-(script/api/etc.)-7.2.jar files in your 
webapps/xwiki/WEB-INF/lib installation folder (maybe due to an improper war 
upgrade [3]?)"

I have 7 of these in the lib folder.

" Missing 'admin.xwiki.installedextensions' translation, but that is unlikely 
since it is located in ApplicationResources.properties which is located in 
xwiki-platform-oldcore-7.2.jar in your WEB-INF/lib folder, without which your 
wiki would not be running."

I have these 2, but no "xwiki-platform-oldcore-7.2.jar" file.

xwiki-platform-legacy-oldcore-7.2.jar
xwiki-platform-filter-instance-oldcore-7.2.jar

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:24 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

Ran the DW as the admin user, still getting these:

Failed to register the wiki component located in the document [Home 
AppWithinMinutes » ApplicationsPanelEntry]: WikiComponentException: Registering 
UI extensions at wiki level requires wiki administration rights Failed to 
register the wiki

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:14 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

This is so broken. Even when I go to Edit a page, the Title shows this:

$msg.get("xe.home.title")

Keith Davis (214) 906-5183


-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith Davis
Sent: Saturday, October 10, 2015 8:12 AM
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors

I tried logging in as admin and doing the Distribution Wizard, but now it won't 
come up. Is there a way to force that?

Keith Davis (214) 906-5183


-Original Message-
From: Vincent Massol [mailto:vmas...@gmail.com] On Behalf Of vinc...@massol.net
Sent: Saturday, October 10, 2015 8:06 AM
To: XWiki Users
Cc: Keith Davis
Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors


On 10 Oct 2015 at 14:47:10, vinc...@massol.net 
(vinc...@massol.net(mailto:vinc...@massol.net)) wrote:

> On 10 Oct 2015 at 14:41:01, Keith Davis 
> (keithda...@pridedallas.com(mailto:keithda...@pridedallas.com)) wrote:
>  
> > "Also, is your user account able to execute scripts? Have you tried 
> > creating a new page with a simple script to test that?"
> >
> > How do I do that? Is there a simple script that I can use? I have not 
> > written any velocity scripts on my own?  
>  
> Maybe this can help: 
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Script+Macro#HRig
> hts

See also 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HPermissions

Thanks
-Vincent

> Thanks
> -Vincent
>  
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:36 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > Scrolling through that list, I found a bunch more of those same errors. Why 
> > does it not think I am an administrator?
> >
> > Keith Davis (214) 906-5183
> >
> >
> > -Original Message-
> > From: users [mailto:users-boun...@xwiki.org] On Behalf Of Keith 
> > Davis
> > Sent: Saturday, October 10, 2015 7:35 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] XWiki 7.2 - Velocity Script Errors
> >
> > I finally got a chance to work on this today. I switched back to XWiki 7.2 
> > and I got the Distribution Wizard interface telling me that the 7.1.2 UI is 
> > invalid and to upgrade (again). Is that supposed to happen? I never did 
> > anything to "downgrade" the UI.
> >
> > This time, I noticed that I get these errors:
> >
> > Failed to register the wiki component located in the document [Home 
> > » AppWithinMinutes » ApplicationsPanelEntry]:
> > WikiComponentException: Registering UI extensions at wiki level 
> > requires wiki administration rights Failed to register the wiki 
> > component located in the document [Home » Stats »
> > ApplicationsPanelEntry]: WikiComponentException: Registering UI 
> > extensions at wiki level requires