[xwiki-users] Can't attach files to wiki
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: [email protected] [mailto:[email protected]] 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: [email protected] [mailto:[email protected]] 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 <[email protected]>
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
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... . 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 <[email protected]> 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: [email protected] [mailto:[email protected]] 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: [email protected] [mailto:[email protected]] 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 <[email protected]>
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
goldring, richard -
Marius Dumitru Florea