Yes its strange,
This has happened since migrating from version 2.7 to 3.2. The import of the
wiki pages via
Exported xar files seemed to work ok, and the attachments are listed at the
bottom of the wiki pages, butwhen you cick on them to view the attachments
the wiki displays aa error message that the "The attachment does not exist."
Has anyone any idea what's happened and how to fix it?
Thanks.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 13 January 2012 17:32
To: XWiki Users
Subject: Re: [xwiki-users] Can't attach files to wiki
Hi Richard,
Are you talking about the standard Attachments tab at the bottom of a wiki
page? Does it happen all the time? You should get this only if the session
expires. See
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise
32#HCSRFpreventionisenabledbydefault
. In XWiki Enterprise 3.2 CSRF has been enabled by default. I haven't heard
any complains so far, at least not related to the attachments upload form.
Hope this helps,
Marius
On Fri, Jan 13, 2012 at 2:36 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> When try to attach files to a wiki page get the following warning page
....
>
>
> Warning
>
> This request contains an invalid authentication information.
>
> This might happen in the following situations:
>
> * You left the editor open in another window/tab and logged off and
> on again
> * Your authentication token exipired after a long period of
> inactivity
> * Somebody tried to perform a CSRF attack
>
> If you are sure that none of these situations apply in your case, you
> might have found a bug. We are sorry about that, please report it on
> XWiki JIRA
>
> Do you want to resend the request? If unsure, say No.
> no
>
>
> ... Anyone know what's happening and how to fix it? I'm using XWIKI
> 3.2, Tomcat 5.5 and MySQL 5.
>
> Thanks.
>
> Regards,
>
> Richard
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of goldring, richard
> Sent: 13 January 2012 09:25
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Backing up xwiki using mysql
>
> Thanks Guillaume - it worked a treat - I'll setting up the my.cnf
> another time, but at least I can backup now!
>
> Does anyone know more about the recycle bin - don't seem able to
> access from the wiki, and (I guess any deleted wiki pages or
> attachments go into it?) the code snippet didn't seem to empty it from
> the database - any ideas how to empty it?
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Guillaume Fenollar
> Sent: 13 January 2012 08:55
> To: XWiki Users
> Subject: Re: [xwiki-users] Backing up xwiki using mysql
>
> Hi Richard,
>
> Here a quickfix: use max_allow_packet directive directly into your
> dump command.
>
> mysqldump --max_allowed_packet=512m nms_wiki > backup.sql
>>
>
> If you want to understand this more, you should try to change my.cnf,
> in the section [mysqldump] (just like there is [client], you could
> create it if you
> haven't) and try the command without putting max_allowed_packet into
> the command, it should work too.
>
> Sincerely,
>
> --
> Guillaume Fenollar
> XWiki SysAdmin
> Tel : +33 (0)1.83.62.65.97
>
> 2012/1/13 goldring, richard <richard.goldring(a)uk.thalesgroup.com>
>
>> Hi All,
>>
>> Running ...
>> mysqldump nms_wiki > backup.sql
>>
>> Returns ...
>> mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet'
>> bytes when dumping table `xwikiattrecyclebin` at row: 2
>>
>> I did have some rather large import attachments - which I deleted but
>> they seem to have gone into the recycle bin - so I used the code
>> snippet
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
>>
>> To supposedly empty the bin, but get the same error above when I try
>> and dump the database seeming to indicate the recycle bin isn't empty.
>>
>> Tried increasing the max_allowed_packet when I run mysql, but doesn't
>> seem to have any affect - is something overriding it? We're running
>> on
> Solaris.
>>
>> Any ideas/help would be appreciated so I can backup the wiki
>> successfully on mysql!!!!
>>
>> Thanks.
>>
>> Regards,
>>
>> Richard
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi!
Thanks a lot for the new XWiki version.
As for: "New default color theme" - http://jira.xwiki.org/browse/XWIKI-6982 It's the old one, but looks actual still.
Great thanks for: "* Special characters in attachment name". I checked cyrillic names - works fine.
Also I checked an issue we couldn't reproduce earlier. It failed to work again. http://jira.xwiki.org/browse/XWIKI-7399
Kindly ask somebody to reproduce steps in this JIRA issue and prove the bug or clarify how to avoid it. Till now I failed to get it working :-(
Thanks in advance,
Dmitry
13 января 2012, 22:00 от Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>:
> The XWiki development team is proud to announce the availability of
> XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
> XWiki Enterprise Manager 3.4 Milestone 1.
>
> This is the first and only milestone of the 3.4 version. We're getting
> closer to the end of the 3.x cycle and the goal of this release (and
> the following one, which will be the last of the cycle) is to improve
> the current features. The highlights of this release are:
>
> * New default color theme
> * XWiki 2.1 is the default page syntax
> * Delete space menu
> * Simple space templates
> * Special characters in attachment name
> * Minimized action menu
> * Display macro
> * Improved Extension Manager UI
>
> See the full release notes at
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
> for more details.
>
> Thanks
> -The XWiki dev team
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi,
This has probably been asked before, but I can't seem to find a clear
answer in the archives. Is there a way to configure the statistics
extension (or something else in xwiki) to keep track of how many times
an attachment is downloaded?
Am I stuck doing something like editing htmlheader.vm and
attachmentsinline.vm to insert Google Analytics code and keeping track
myself? Has anyone out there already done this?
Thanks,
aaron
I am out of the office until 01/16/2012.
Out on MLK Day January 16; back in the office on Tuesday, January 17.
Note: This is an automated response to your message "users Digest, Vol 54,
Issue 36" sent on 1/14/2012 7:00:02.
This is the only notification you will receive while this person is away.
Hello,
first, thanks to XWiki SAS for hosting my Wiki, it works really fine !
I wonder if it's possible to get some stats about visitors, but I came
across a page saying I need to edit "xwiki.cfg" :
http://xhe.myxwiki.org/xwiki/bin/view/Stats/WebHome
Afaik, I do no have shell/filesystem access to the server and can't do
this modification. Am I wrong ? Is there a way for myxwiki users to
modify this setting ?
Regards,
Nicolas
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.4 Milestone 1.
This is the first and only milestone of the 3.4 version. We're getting
closer to the end of the 3.x cycle and the goal of this release (and
the following one, which will be the last of the cycle) is to improve
the current features. The highlights of this release are:
* New default color theme
* XWiki 2.1 is the default page syntax
* Delete space menu
* Simple space templates
* Special characters in attachment name
* Minimized action menu
* Display macro
* Improved Extension Manager UI
See the full release notes at
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
for more details.
Thanks
-The XWiki dev team
When try to attach files to a wiki page get the following warning page ....
Warning
This request contains an invalid authentication information.
This might happen in the following situations:
* You left the editor open in another window/tab and logged off and on
again
* Your authentication token exipired after a long period of inactivity
* Somebody tried to perform a CSRF attack
If you are sure that none of these situations apply in your case, you might
have found a bug. We are sorry about that, please report it on XWiki JIRA
Do you want to resend the request? If unsure, say No.
no
... Anyone know what's happening and how to fix it? I'm using XWIKI 3.2,
Tomcat 5.5 and MySQL 5.
Thanks.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: 13 January 2012 09:25
To: 'XWiki Users'
Subject: Re: [xwiki-users] Backing up xwiki using mysql
Thanks Guillaume - it worked a treat - I'll setting up the my.cnf another
time, but at least I can backup now!
Does anyone know more about the recycle bin - don't seem able to access from
the wiki, and (I guess any deleted wiki pages or attachments go into it?)
the code snippet didn't seem to empty it from the database - any ideas how
to empty it?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Guillaume Fenollar
Sent: 13 January 2012 08:55
To: XWiki Users
Subject: Re: [xwiki-users] Backing up xwiki using mysql
Hi Richard,
Here a quickfix: use max_allow_packet directive directly into your dump
command.
mysqldump --max_allowed_packet=512m nms_wiki > backup.sql
>
If you want to understand this more, you should try to change my.cnf, in the
section [mysqldump] (just like there is [client], you could create it if you
haven't) and try the command without putting max_allowed_packet into the
command, it should work too.
Sincerely,
--
Guillaume Fenollar
XWiki SysAdmin
Tel : +33 (0)1.83.62.65.97
2012/1/13 goldring, richard <richard.goldring(a)uk.thalesgroup.com>
> Hi All,
>
> Running ...
> mysqldump nms_wiki > backup.sql
>
> Returns ...
> mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet'
> bytes when dumping table `xwikiattrecyclebin` at row: 2
>
> I did have some rather large import attachments - which I deleted but
> they seem to have gone into the recycle bin - so I used the code
> snippet
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
>
> To supposedly empty the bin, but get the same error above when I try
> and dump the database seeming to indicate the recycle bin isn't empty.
>
> Tried increasing the max_allowed_packet when I run mysql, but doesn't
> seem to have any affect - is something overriding it? We're running on
Solaris.
>
> Any ideas/help would be appreciated so I can backup the wiki
> successfully on mysql!!!!
>
> Thanks.
>
> Regards,
>
> Richard
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
As of know my xwiki version is 3.2. Now we are planning to move on 3.3. Now
as admin user we have done lot of customization regarding
user,group,space creation and their right management. We have created some
content and attachment also under some user created spaces and pages.
Though everything is part of xwiki databse as i have not explicity done
any settinsg to save any stuff on disk
Now when i am migrating to 3.3 i am doing fresh installation. Till here
fine. Now i want to migrate all 3.2 xwiki data to 3.3 xwiki.
As per admin guide there seems two be two approaches :-
*Approach1:-*Export 3.2 xwiki data to xar file and then import it in 3.3
xwiki. *But it did not work for me*, as after migration i do not see some
stuff like
main space web homepage same as it used to be in 3.2 xwiki.
*Approach2:-* Take back up of complete 3.2 xwiki database . Now for 3.3
xwiki just make empty 3.3 schema and restore it to 3.2 xwiki data dump.
*It worked for me.* Every thing is same in 3.3 which was there in 3.2(that
is what i wanted) Now my question is it the right approach? Do i have to
take some precaution or need to be careful while doing this approach? *One
last question on this say there are some database configuration changes in
3.3 like deletion/addition of some table, or deltion/addition of some
column etc , in that case What will be consequences of this approach?*
Thanks Guillaume - it worked a treat - I'll setting up the my.cnf another
time, but at least I can backup now!
Does anyone know more about the recycle bin - don't seem able to access from
the wiki, and (I guess any deleted wiki pages or attachments go into it?)
the code snippet didn't seem to empty it from the database - any ideas how
to empty it?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Guillaume Fenollar
Sent: 13 January 2012 08:55
To: XWiki Users
Subject: Re: [xwiki-users] Backing up xwiki using mysql
Hi Richard,
Here a quickfix: use max_allow_packet directive directly into your dump
command.
mysqldump --max_allowed_packet=512m nms_wiki > backup.sql
>
If you want to understand this more, you should try to change my.cnf, in the
section [mysqldump] (just like there is [client], you could create it if you
haven't) and try the command without putting max_allowed_packet into the
command, it should work too.
Sincerely,
--
Guillaume Fenollar
XWiki SysAdmin
Tel : +33 (0)1.83.62.65.97
2012/1/13 goldring, richard <richard.goldring(a)uk.thalesgroup.com>
> Hi All,
>
> Running ...
> mysqldump nms_wiki > backup.sql
>
> Returns ...
> mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet'
> bytes when dumping table `xwikiattrecyclebin` at row: 2
>
> I did have some rather large import attachments - which I deleted but
> they seem to have gone into the recycle bin - so I used the code
> snippet
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
>
> To supposedly empty the bin, but get the same error above when I try
> and dump the database seeming to indicate the recycle bin isn't empty.
>
> Tried increasing the max_allowed_packet when I run mysql, but doesn't
> seem to have any affect - is something overriding it? We're running on
Solaris.
>
> Any ideas/help would be appreciated so I can backup the wiki
> successfully on mysql!!!!
>
> Thanks.
>
> Regards,
>
> Richard
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi All,
Running ...
mysqldump nms_wiki > backup.sql
Returns ...
mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes
when dumping table `xwikiattrecyclebin` at row: 2
I did have some rather large import attachments - which I deleted but they
seem to have gone into the recycle bin - so I used the code snippet
http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
To supposedly empty the bin, but get the same error above when I try and
dump the database seeming to indicate the recycle bin isn't empty.
Tried increasing the max_allowed_packet when I run mysql, but doesn't seem
to have any affect - is something overriding it? We're running on Solaris.
Any ideas/help would be appreciated so I can backup the wiki successfully on
mysql!!!!
Thanks.
Regards,
Richard
Thankyou for your help Marius your suggeation helped.
I reinstalled the wiki as a separate tomcat app and the link problem
disappeared, but the problem still appeared in the origianal wiki tomcat app
even when looking at the new wiki mysql database created for the second
working wiki!!! So I don't know quite what's happening - but I'm just glad
its working!
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 10 January 2012 07:15
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
On Mon, Jan 9, 2012 at 5:40 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> The problem occurs even on xwiki default pages rather than on user
> generated pages.
>
> I'd like to keep the current wiki running for users so as not to
> distrupt them and build up a new separate installation so I can try
> isolate what the problem is as you suggest.
>
> Can install another xwiki using the same mysql but using a differently
> names xwiki database? If so how might I config it?
You can edit WEB-INF/hibernate.cfg.xml (from where you deployed XWiki) and
change the database (scheme) name in the connection URL (look for the
"connection.url" property in the MySQL configuration section).
E.g. replace jdbc:mysql://localhost/xwiki with
jdbc:mysql://localhost/test_xwiki
You may have to create the new database (e.g. test_xwiki) first as per
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HInsta
llationSteps
but I think you can use the same user/password when granting rights.
Hope this helps,
Marius
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Sergiu Dumitriu
> Sent: 09 January 2012 14:36
> To: XWiki Users
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> On 01/09/2012 09:28 AM, Marius Dumitru Florea wrote:
>> I'm sure you have xwiki-platform-wysiwyg-server-3.2.jar (it has been
>> renamed since 2.7.1) because otherwise the WYSIWYG editor wouldn't
>> load at all. If you can insert a macro, which uses GWT-RPC services,
>> then the problem is elsewhere. Could be related to your configuration.
>> I would take a clean XE war and redo the installation steps to see at
>> which point the WYSIWYG editor stops working properly.
>
> Could it be the content that's breaking the functionality? Like some
> unescaped characters? Some HTTP request dumps (for example from
> Firebug) would be helpful.
>
>> Hope this helps,
>> Marius
>>
>> On Mon, Jan 9, 2012 at 4:11 PM, goldring, richard
>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>> I can insert a macro but can't insert an attached image - get the
>>> same error
>>> message: "There was an error loading the data".
>>>
>>> So maybe under
>>> /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
>>> xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1
>>> version) - is this the jar that I need? Maybe this 'missing' jar is
>>> causing the problem??
>>> It's not in the 3.2 war file - how do I get it?
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of Marius Dumitru Florea
>>> Sent: 09 January 2012 10:12
>>> To: XWiki Users
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> As I said, if XWiki.WysiwygEditorConfig page was broken (bad
>>> permission or invalid configuration) then the WYSIWYG editor
>>> wouldn't load at all. I don't see how it can affect only the
>>> Recently Modified and Search tabs of the link to wiki page feature.
>>>
>>> The code that is called when you open those tabs is in GWT-RPC
>>> services, so Java classes, which can't be affected by a XAR import
>>> (at least I don't see how). There's no wiki/Java macro. All the code
>>> is
> in the WYSIWYG server jar.
>>> Can you insert an image or a macro? If these features work (they
>>> also use GWT-RPC services) then the problem is strictly related to
>>> the code that queries the database. But if you say that the code I
>>> pasted works fine then I don't have any clues..
>>>
>>> On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>> Wondering if it's a permission problem - when I visit the
>>>> XWiki.WysiwygEditorConfig page (as Admin) I get the following
>>>> displayed: This configuration cannot be displayed because it was
>>>> last edited by Admin who doesn't have permission to edit this
>>>> page.XWiki.WysiwygEditorConfig:
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>> Behalf Of goldring, richard
>>>> Sent: 09 January 2012 08:39
>>>> To: 'XWiki Users'
>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>
>>>> Yes - the code seemed to work fine and listed sall recent page
>>>> edits ... So I'm not sure where to look next ...what code get's
>>>> called by the Link dialog My recent changes abd Search tabs ... Is it a
macro?
>>>> Which one? All I can think is it might be something to do with
>>>> copying material from the my previous wiki installation???
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>> Behalf Of Marius Dumitru Florea
>>>> Sent: 09 January 2012 08:30
>>>> To: XWiki Users
>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>
>>>> On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>> Could importing the wiki pages from my older version of Xwiki have
>>>>> overwritten wiki pages that could be causing this issue? (The
>>>>> previous version was the standalone version using Jetty and HSQL).
>>>>
>>>> I don't see how. You can break the WYSIWYG editor by messing up its
>>>> configuration (XWiki.WysiwygEditorConfig) but then the editor won't
>>>> load at all. You can't break *only* the Recently Modified / Search
>>>> tabs of the link feature. Have you run the code I pasted?
>>>>
>>>> Hope this helps,
>>>> Marius
>>>>
>>>>> If so what wiki pages do I need to reinstate?
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>>> Behalf Of Marius Dumitru Florea
>>>>> Sent: 06 January 2012 12:51
>>>>> To: XWiki Users
>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>
>>>>> Sure, here you go:
>>>>>
>>>>> ----------8<----------
>>>>> {{groovy}}
>>>>> import com.xpn.xwiki.web.Utils;
>>>>> import java.util.List;
>>>>> import org.xwiki.query.Query;
>>>>> import org.xwiki.query.QueryManager;
>>>>>
>>>>> int offset = 0;
>>>>> int limit = 20;
>>>>>
>>>>> String statement = "select distinct doc.space, doc.name, doc.date
>>>>> from XWikiDocument as doc where doc.author = :author order by
>>>>> doc.date desc, doc.space, doc.name"; QueryManager queryManager =
>>>>> Utils.getComponent(QueryManager.class);
>>>>> Query query = queryManager.createQuery(statement, Query.HQL);
>>>>> query.setOffset(offset).setLimit(limit);
>>>>> query.bindValue("author", xcontext.getUser());
>>>>>
>>>>> List<Object[]> results = query.execute(); for (Object[] result :
>>>>> results) {
>>>>> println(result[0] + "." + result[1]); } {{/groovy}}
>>>>> ---------->8----------
>>>>>
>>>>> Hope this helps,
>>>>> Marius
>>>>>
>>>>> On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
>>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>> Ah my company's fire wall won't let me see
>>>>>> http://pastebin.com/Yj8kQ3qU - can you directly email me a copy
>>>>>> of the code to paste into my wiki page to try ..
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>>>> Behalf Of goldring, richard
>>>>>> Sent: 06 January 2012 12:34
>>>>>> To: 'XWiki Users'
>>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>>
>>>>>> Thanks will try that on when I get back on Monday ...
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>>>> Behalf Of Marius Dumitru Florea
>>>>>> Sent: 06 January 2012 12:25
>>>>>> To: XWiki Users
>>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>>
>>>>>> The code used to retrieve the list of recently modified pages is
>>>>>> this
>>>>>> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/x
>>>>>> w
>>>>>> ik
>>>>>> i
>>>>>> -
>>>>>> platfo
>>>>>> rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/
>>>>>> m
>>>>>> ai
>>>>>> n
>>>>>> /
>>>>>> java/o
>>>>>> rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L9
>>>>>> 7 . You can try to execute it separately in Groovy to see what's
>>>>>> the
>>>>> problem.
>>>>>> You can start with http://pastebin.com/Yj8kQ3qU which works fine
>>>>>> for me (put it in a wiki page).
>>>>>>
>>>>>> Hope this helps,
>>>>>> Marius
>>>>>>
>>>>>> On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
>>>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>>> Not that I can see
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
>>>>>>> On Behalf Of Marius Dumitru Florea
>>>>>>> Sent: 06 January 2012 11:29
>>>>>>> To: XWiki Users
>>>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>>>
>>>>>>> Is there any exception logged on the server side?
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Marius
>>>>>>>
>>>>>>> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
>>>>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
>>>>>> installed...
>>>>>>>>
>>>>>>>> When editing in WYSIWYG editor and select to insert a link get
>>>>>>>> the following error on Link dialog tabs "My recent changes" and
> "Search" :
>>>>>>>> "There was an error loading the data". The All pages tab works
>>>>>>>> fine and displays all pages in the selected space though.
>>>>>>>>
>>>>>>>> Does anyone know what's happening and how to get it working??
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> Richard
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello,
I decided to upgrade my xwiki from 3.1 to 3.3 today, only to find out
that since 3.2 postgresql support in the wiki is broken. That's two
stable releases that have this problem, is this being worked on or is
postgresql support dead?
Below is the error, searching around i see other people complaining
about this, but no fix.
Thanks.
---
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886, version2=1, version1=4}]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate
execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886, version2=1, version1=4}]
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:419)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:488)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
I have a question regarding the location of storage of different content in
xwiki.(I mean does it get stored in xwiki databse which we mention in
hibernate.cfg.xml or somewhere else on disc?)Where does below contents gets
stored in xwiki :-
1)Space and page contents
2)Atachment under spaces/pages
3)Users ,groups, spaces
4)Rights given to Users ,groups, spaces
5)Any modification done from admin user like changes in main Page
configuration/Look and Fell , changing the default colour theme or
addition of new colour theme.
Thanks.
I did fresh installation of xwiki . After performing all the steps
mentioned in xwiki admin guide, when i hit the xwiki url i get below error.
Wrapped Exception:
com.jnetdirect.jsql.JSQLException: Invalid object name 'xwikistrings'.
at
com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85)
at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547)
at com.jnetdirect.jsql.JSQLConnection.prePrepare(JSQLConnection.java:2620)
at
com.jnetdirect.jsql.JSQLConnection.getPreparedStatementHandle(JSQLConnection.java:2553)
at
com.jnetdirect.jsql.JSQLPreparedStatement.executeQuery(JSQLPreparedStatement.java:359)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1953)
*Basically it creates all the table when i hit the URL first time but not
the table 'xwikistrings'.* I tried to do installation 3 time, Every time i
get same error.
I had to create this table manually after taking table description from hbm
file. *Is it a known issue or i am missing something here?*
When i take my mouse on user name link (that we see in front of profile on
the page just after log in), i see list of options profiles,preferences,
watchlist,network,my dashboard. I want to cofigure it so that this option
does not show up for specific group users. Can i configure it?
The reason why i want to this because if these options are shoen then user
can edit some stuff like change password, edit profile etch which i dont
want for specific group/user.
If it is not possible, can we restrict the specific group/user from editing
profile,change password( which is possible right now if user click
on profile or preferences option under user name link on top right corner
of welcome page) .Thanks.
Hi guys,
sorry for so many emails but here seems to be the cause of why the
Global Wiki Admin panel isn't working properly:
Jan 11, 2012 12:58:03 AM org.apache.tomcat.util.http.Parameters
processParameters
INFO: Invalid chunk starting at byte [0] and ending at byte [0] with a
value of [null] ignored
2012-01-11 00:58:03,570
[http://www.optiplex-networks.com/xwiki/bin/edit/Main/WebHome?&editor=wysiwyg]
WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:Main.WebHome@2,42
2012-01-11 00:58:04,494 [http-8180-1] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getXMLEncoded] in
xwiki:Main.DocumentDoesNotExist@2,42
2012-01-11 00:59:38,316
[http://www.optiplex-networks.com/xwiki/bin/view/Main/WebHome] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:Main.WebHome@2,42
2012-01-11 01:00:31,970
[http://www.optiplex-networks.com/xwiki/bin/admin/XWiki/XWikiPreferences] WARN
o.x.v.i.DefaultVelocityEngine - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:XWiki.XWikiPreferences@2,42
Now that the upgrades have all been put in, does this mean that the
Xwiki environment is unstable?
Current Xwiki version is 3.1.1.....
Would an upgrade to 3.3 solve this or are there intermediate steps to
perform before I can go forward?
Regards,
Kaya
Hello,
This message to request a wiki on the myxwiki farm, basically to try it
out, and to see if/how I could use it around some of the ideas presented
below :
http://iiscn.wordpress.com/about/
(basically a proposal for an ID space for IT in general, also allowing to
attach current ones(UNICODE code points and other concept/items, ISBNs, for
example), strictly "as is".
myxwiki.org user's name : yves trmlt
login : yt75
wiki server name wished : iiscn
Brgds,
Yves Trémolet
Hi guys,
whew, a lot of work today :-)
I upgraded my main www site to Xwiki 3.1.1 in doing so I performed these
steps:
* cp old hibernate.cfg.xml file across to new xwiki dir
* cp old xwiki.cfg file across to new xwiki dir
* cp postgresql-8.3-603.jdbc4.jar to new xwiki dir
* cp skins/toucan to new xwiki dir
Now when I login, my login pic covers the first letter of the Title on
the page.....?
Is this because the CSS or cfg files have been altered in the new release?
Meaning I need to re-add my previous customizations to the new format?
Regards,
Kaya
Hi All,
As soon as l gets login , i enter to main space webhome page . I want to
change this default main space to some user created space (Basically what i
need is as soon as user logs in, he should enter to user created
space instead of main space) Is it configurable? Thanks.
The problem occurs even on xwiki default pages rather than on user generated
pages.
I'd like to keep the current wiki running for users so as not to distrupt
them and build up a new separate installation so I can try isolate what the
problem is as you suggest.
Can install another xwiki using the same mysql but using a differently names
xwiki database? If so how might I config it?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sergiu Dumitriu
Sent: 09 January 2012 14:36
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
On 01/09/2012 09:28 AM, Marius Dumitru Florea wrote:
> I'm sure you have xwiki-platform-wysiwyg-server-3.2.jar (it has been
> renamed since 2.7.1) because otherwise the WYSIWYG editor wouldn't
> load at all. If you can insert a macro, which uses GWT-RPC services,
> then the problem is elsewhere. Could be related to your configuration.
> I would take a clean XE war and redo the installation steps to see at
> which point the WYSIWYG editor stops working properly.
Could it be the content that's breaking the functionality? Like some
unescaped characters? Some HTTP request dumps (for example from Firebug)
would be helpful.
> Hope this helps,
> Marius
>
> On Mon, Jan 9, 2012 at 4:11 PM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
>> I can insert a macro but can't insert an attached image - get the
>> same error
>> message: "There was an error loading the data".
>>
>> So maybe under
>> /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
>> xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1
>> version) - is this the jar that I need? Maybe this 'missing' jar is
>> causing the problem??
>> It's not in the 3.2 war file - how do I get it?
>>
>> -----Original Message-----
>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>> Behalf Of Marius Dumitru Florea
>> Sent: 09 January 2012 10:12
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>
>> As I said, if XWiki.WysiwygEditorConfig page was broken (bad
>> permission or invalid configuration) then the WYSIWYG editor wouldn't
>> load at all. I don't see how it can affect only the Recently Modified
>> and Search tabs of the link to wiki page feature.
>>
>> The code that is called when you open those tabs is in GWT-RPC
>> services, so Java classes, which can't be affected by a XAR import
>> (at least I don't see how). There's no wiki/Java macro. All the code is
in the WYSIWYG server jar.
>> Can you insert an image or a macro? If these features work (they also
>> use GWT-RPC services) then the problem is strictly related to the
>> code that queries the database. But if you say that the code I pasted
>> works fine then I don't have any clues..
>>
>> On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>> Wondering if it's a permission problem - when I visit the
>>> XWiki.WysiwygEditorConfig page (as Admin) I get the following
>>> displayed: This configuration cannot be displayed because it was
>>> last edited by Admin who doesn't have permission to edit this
>>> page.XWiki.WysiwygEditorConfig:
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of goldring, richard
>>> Sent: 09 January 2012 08:39
>>> To: 'XWiki Users'
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> Yes - the code seemed to work fine and listed sall recent page edits
>>> ... So I'm not sure where to look next ...what code get's called by
>>> the Link dialog My recent changes abd Search tabs ... Is it a macro?
>>> Which one? All I can think is it might be something to do with
>>> copying material from the my previous wiki installation???
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of Marius Dumitru Florea
>>> Sent: 09 January 2012 08:30
>>> To: XWiki Users
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>> Could importing the wiki pages from my older version of Xwiki have
>>>> overwritten wiki pages that could be causing this issue? (The
>>>> previous version was the standalone version using Jetty and HSQL).
>>>
>>> I don't see how. You can break the WYSIWYG editor by messing up its
>>> configuration (XWiki.WysiwygEditorConfig) but then the editor won't
>>> load at all. You can't break *only* the Recently Modified / Search
>>> tabs of the link feature. Have you run the code I pasted?
>>>
>>> Hope this helps,
>>> Marius
>>>
>>>> If so what wiki pages do I need to reinstate?
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>> Behalf Of Marius Dumitru Florea
>>>> Sent: 06 January 2012 12:51
>>>> To: XWiki Users
>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>
>>>> Sure, here you go:
>>>>
>>>> ----------8<----------
>>>> {{groovy}}
>>>> import com.xpn.xwiki.web.Utils;
>>>> import java.util.List;
>>>> import org.xwiki.query.Query;
>>>> import org.xwiki.query.QueryManager;
>>>>
>>>> int offset = 0;
>>>> int limit = 20;
>>>>
>>>> String statement = "select distinct doc.space, doc.name, doc.date
>>>> from XWikiDocument as doc where doc.author = :author order by
>>>> doc.date desc, doc.space, doc.name"; QueryManager queryManager =
>>>> Utils.getComponent(QueryManager.class);
>>>> Query query = queryManager.createQuery(statement, Query.HQL);
>>>> query.setOffset(offset).setLimit(limit);
>>>> query.bindValue("author", xcontext.getUser());
>>>>
>>>> List<Object[]> results = query.execute(); for (Object[] result :
>>>> results) {
>>>> println(result[0] + "." + result[1]); } {{/groovy}}
>>>> ---------->8----------
>>>>
>>>> Hope this helps,
>>>> Marius
>>>>
>>>> On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>> Ah my company's fire wall won't let me see
>>>>> http://pastebin.com/Yj8kQ3qU - can you directly email me a copy
>>>>> of the code to paste into my wiki page to try ..
>>>>>
>>>>> Thanks.
>>>>>
>>>>> -----Original Message-----
>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>>> Behalf Of goldring, richard
>>>>> Sent: 06 January 2012 12:34
>>>>> To: 'XWiki Users'
>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>
>>>>> Thanks will try that on when I get back on Monday ...
>>>>>
>>>>> -----Original Message-----
>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>>> Behalf Of Marius Dumitru Florea
>>>>> Sent: 06 January 2012 12:25
>>>>> To: XWiki Users
>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>
>>>>> The code used to retrieve the list of recently modified pages is
>>>>> this
>>>>> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xw
>>>>> ik
>>>>> i
>>>>> -
>>>>> platfo
>>>>> rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/m
>>>>> ai
>>>>> n
>>>>> /
>>>>> java/o
>>>>> rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
>>>>> . You can try to execute it separately in Groovy to see what's the
>>>> problem.
>>>>> You can start with http://pastebin.com/Yj8kQ3qU which works fine
>>>>> for me (put it in a wiki page).
>>>>>
>>>>> Hope this helps,
>>>>> Marius
>>>>>
>>>>> On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
>>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>> Not that I can see
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>>>> Behalf Of Marius Dumitru Florea
>>>>>> Sent: 06 January 2012 11:29
>>>>>> To: XWiki Users
>>>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>>>
>>>>>> Is there any exception logged on the server side?
>>>>>>
>>>>>> Thanks,
>>>>>> Marius
>>>>>>
>>>>>> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
>>>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
>>>>> installed...
>>>>>>>
>>>>>>> When editing in WYSIWYG editor and select to insert a link get
>>>>>>> the following error on Link dialog tabs "My recent changes" and
"Search" :
>>>>>>> "There was an error loading the data". The All pages tab works
>>>>>>> fine and displays all pages in the selected space though.
>>>>>>>
>>>>>>> Does anyone know what's happening and how to get it working??
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Richard
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi All,
When i search some pdf document (attached with some page/space) on the
welcome screen and click on the attchment name, it opens the pdf document
in the same window. It happening when i log in as admin user other for any
other user pdf attchment gets opened up in new window.Thanks.
Hi guys,
I migrated to the XWiki version 3.30, and once i have imported the backup (. Xar) of my old XWiki, I can not use the wysiwyg.
Every time I try to edit some content, the loading icon keeps loading up forever.
Has anyone had this problem? Can you help me?
Thanks in advance.
Bruno Calhau
Hi,
just checked through my logs and found this:
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xar&name=XWiki.ResetPasswordRequestClass&pages=XWiki.ResetPasswordRequestClass}])
but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.
it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?
I can insert a macro but can't insert an attached image - get the same error
message: "There was an error loading the data".
So maybe under
/var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
xwiki-web-gwt-wysiwyg-server .jar is missing (was in Xwiki 2.7.1 version) -
is this the jar that I need? Maybe this 'missing' jar is causing the
problem??
It's not in the 3.2 war file - how do I get it?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 10:12
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
As I said, if XWiki.WysiwygEditorConfig page was broken (bad permission or
invalid configuration) then the WYSIWYG editor wouldn't load at all. I don't
see how it can affect only the Recently Modified and Search tabs of the link
to wiki page feature.
The code that is called when you open those tabs is in GWT-RPC services, so
Java classes, which can't be affected by a XAR import (at least I don't see
how). There's no wiki/Java macro. All the code is in the WYSIWYG server jar.
Can you insert an image or a macro? If these features work (they also use
GWT-RPC services) then the problem is strictly related to the code that
queries the database. But if you say that the code I pasted works fine then
I don't have any clues..
On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> Wondering if it's a permission problem - when I visit the
> XWiki.WysiwygEditorConfig page (as Admin) I get the following
> displayed: This configuration cannot be displayed because it was last
> edited by Admin who doesn't have permission to edit this
> page.XWiki.WysiwygEditorConfig:
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of goldring, richard
> Sent: 09 January 2012 08:39
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> Yes - the code seemed to work fine and listed sall recent page edits
> ... So I'm not sure where to look next ...what code get's called by
> the Link dialog My recent changes abd Search tabs ... Is it a macro?
> Which one? All I can think is it might be something to do with copying
> material from the my previous wiki installation???
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Marius Dumitru Florea
> Sent: 09 January 2012 08:30
> To: XWiki Users
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
>> Could importing the wiki pages from my older version of Xwiki have
>> overwritten wiki pages that could be causing this issue? (The
>> previous version was the standalone version using Jetty and HSQL).
>
> I don't see how. You can break the WYSIWYG editor by messing up its
> configuration (XWiki.WysiwygEditorConfig) but then the editor won't
> load at all. You can't break *only* the Recently Modified / Search
> tabs of the link feature. Have you run the code I pasted?
>
> Hope this helps,
> Marius
>
>> If so what wiki pages do I need to reinstate?
>>
>>
>> -----Original Message-----
>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>> Behalf Of Marius Dumitru Florea
>> Sent: 06 January 2012 12:51
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>
>> Sure, here you go:
>>
>> ----------8<----------
>> {{groovy}}
>> import com.xpn.xwiki.web.Utils;
>> import java.util.List;
>> import org.xwiki.query.Query;
>> import org.xwiki.query.QueryManager;
>>
>> int offset = 0;
>> int limit = 20;
>>
>> String statement = "select distinct doc.space, doc.name, doc.date
>> from XWikiDocument as doc where doc.author = :author order by
>> doc.date desc, doc.space, doc.name"; QueryManager queryManager =
>> Utils.getComponent(QueryManager.class);
>> Query query = queryManager.createQuery(statement, Query.HQL);
>> query.setOffset(offset).setLimit(limit);
>> query.bindValue("author", xcontext.getUser());
>>
>> List<Object[]> results = query.execute(); for (Object[] result :
>> results) {
>> println(result[0] + "." + result[1]); } {{/groovy}}
>> ---------->8----------
>>
>> Hope this helps,
>> Marius
>>
>> On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>> Ah my company's fire wall won't let me see
>>> http://pastebin.com/Yj8kQ3qU - can you directly email me a copy of
>>> the code to paste into my wiki page to try ..
>>>
>>> Thanks.
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of goldring, richard
>>> Sent: 06 January 2012 12:34
>>> To: 'XWiki Users'
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> Thanks will try that on when I get back on Monday ...
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of Marius Dumitru Florea
>>> Sent: 06 January 2012 12:25
>>> To: XWiki Users
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> The code used to retrieve the list of recently modified pages is
>>> this
>>> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwik
>>> i
>>> -
>>> platfo
>>> rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/mai
>>> n
>>> /
>>> java/o
>>> rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
>>> . You can try to execute it separately in Groovy to see what's the
>> problem.
>>> You can start with http://pastebin.com/Yj8kQ3qU which works fine for
>>> me (put it in a wiki page).
>>>
>>> Hope this helps,
>>> Marius
>>>
>>> On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>> Not that I can see
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>> Behalf Of Marius Dumitru Florea
>>>> Sent: 06 January 2012 11:29
>>>> To: XWiki Users
>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>
>>>> Is there any exception logged on the server side?
>>>>
>>>> Thanks,
>>>> Marius
>>>>
>>>> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
>>> installed...
>>>>>
>>>>> When editing in WYSIWYG editor and select to insert a link get the
>>>>> following error on Link dialog tabs "My recent changes" and "Search" :
>>>>> "There was an error loading the data". The All pages tab works
>>>>> fine and displays all pages in the selected space though.
>>>>>
>>>>> Does anyone know what's happening and how to get it working??
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Richard
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Under /var/apache/tomcat55/webapps/xwiki-enterprise-web-3.2/WEB-INF/lib
xwiki-web-gwt-wysiwyg-server .jar is missing - is this the jar that I need?
It's not in the war file - how do I get it?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 10:12
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
As I said, if XWiki.WysiwygEditorConfig page was broken (bad permission or
invalid configuration) then the WYSIWYG editor wouldn't load at all. I don't
see how it can affect only the Recently Modified and Search tabs of the link
to wiki page feature.
The code that is called when you open those tabs is in GWT-RPC services, so
Java classes, which can't be affected by a XAR import (at least I don't see
how). There's no wiki/Java macro. All the code is in the WYSIWYG server jar.
Can you insert an image or a macro? If these features work (they also use
GWT-RPC services) then the problem is strictly related to the code that
queries the database. But if you say that the code I pasted works fine then
I don't have any clues..
On Mon, Jan 9, 2012 at 11:15 AM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> Wondering if it's a permission problem - when I visit the
> XWiki.WysiwygEditorConfig page (as Admin) I get the following
> displayed: This configuration cannot be displayed because it was last
> edited by Admin who doesn't have permission to edit this
> page.XWiki.WysiwygEditorConfig:
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of goldring, richard
> Sent: 09 January 2012 08:39
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> Yes - the code seemed to work fine and listed sall recent page edits
> ... So I'm not sure where to look next ...what code get's called by
> the Link dialog My recent changes abd Search tabs ... Is it a macro?
> Which one? All I can think is it might be something to do with copying
> material from the my previous wiki installation???
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Marius Dumitru Florea
> Sent: 09 January 2012 08:30
> To: XWiki Users
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
>> Could importing the wiki pages from my older version of Xwiki have
>> overwritten wiki pages that could be causing this issue? (The
>> previous version was the standalone version using Jetty and HSQL).
>
> I don't see how. You can break the WYSIWYG editor by messing up its
> configuration (XWiki.WysiwygEditorConfig) but then the editor won't
> load at all. You can't break *only* the Recently Modified / Search
> tabs of the link feature. Have you run the code I pasted?
>
> Hope this helps,
> Marius
>
>> If so what wiki pages do I need to reinstate?
>>
>>
>> -----Original Message-----
>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>> Behalf Of Marius Dumitru Florea
>> Sent: 06 January 2012 12:51
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>
>> Sure, here you go:
>>
>> ----------8<----------
>> {{groovy}}
>> import com.xpn.xwiki.web.Utils;
>> import java.util.List;
>> import org.xwiki.query.Query;
>> import org.xwiki.query.QueryManager;
>>
>> int offset = 0;
>> int limit = 20;
>>
>> String statement = "select distinct doc.space, doc.name, doc.date
>> from XWikiDocument as doc where doc.author = :author order by
>> doc.date desc, doc.space, doc.name"; QueryManager queryManager =
>> Utils.getComponent(QueryManager.class);
>> Query query = queryManager.createQuery(statement, Query.HQL);
>> query.setOffset(offset).setLimit(limit);
>> query.bindValue("author", xcontext.getUser());
>>
>> List<Object[]> results = query.execute(); for (Object[] result :
>> results) {
>> println(result[0] + "." + result[1]); } {{/groovy}}
>> ---------->8----------
>>
>> Hope this helps,
>> Marius
>>
>> On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>> Ah my company's fire wall won't let me see
>>> http://pastebin.com/Yj8kQ3qU - can you directly email me a copy of
>>> the code to paste into my wiki page to try ..
>>>
>>> Thanks.
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of goldring, richard
>>> Sent: 06 January 2012 12:34
>>> To: 'XWiki Users'
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> Thanks will try that on when I get back on Monday ...
>>>
>>> -----Original Message-----
>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>> Behalf Of Marius Dumitru Florea
>>> Sent: 06 January 2012 12:25
>>> To: XWiki Users
>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>
>>> The code used to retrieve the list of recently modified pages is
>>> this
>>> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwik
>>> i
>>> -
>>> platfo
>>> rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/mai
>>> n
>>> /
>>> java/o
>>> rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
>>> . You can try to execute it separately in Groovy to see what's the
>> problem.
>>> You can start with http://pastebin.com/Yj8kQ3qU which works fine for
>>> me (put it in a wiki page).
>>>
>>> Hope this helps,
>>> Marius
>>>
>>> On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>> Not that I can see
>>>>
>>>> -----Original Message-----
>>>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>>>> Behalf Of Marius Dumitru Florea
>>>> Sent: 06 January 2012 11:29
>>>> To: XWiki Users
>>>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>>>
>>>> Is there any exception logged on the server side?
>>>>
>>>> Thanks,
>>>> Marius
>>>>
>>>> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
>>>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
>>> installed...
>>>>>
>>>>> When editing in WYSIWYG editor and select to insert a link get the
>>>>> following error on Link dialog tabs "My recent changes" and "Search" :
>>>>> "There was an error loading the data". The All pages tab works
>>>>> fine and displays all pages in the selected space though.
>>>>>
>>>>> Does anyone know what's happening and how to get it working??
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Richard
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users(a)xwiki.org
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> users mailing list
>>>> users(a)xwiki.org
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users