Re: [xwiki-users] Attached Files size to 0kb after upload
Hi Patrick, I'm working with a XWiki Enterprise 2.3 on tomcat and Oracle 10; Since 2 or 3 days, when we upload a new file to a page , the file is available during 1 min then the file size change to 0kb ; It is not directly related, but I have seen a similar effect when using XWiki with a mySQL DB, which had a far too small max_allowed_packet config on the mySQL server. Somehow an error was generated in the DB Server, but not properly propagated to the application. Maybe there is something similar in your case, even though the DB Server is different. There should be an error on the DB Server in that case. Hope this helps, Clemens ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Import Administration Application
Hi everybody, I deleted Administration Application in my Xwiki (version 5.1.2) and I want now to reinstall it. I downloaded the xar at http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application but I have an error message when I try to import it (see attachment). Any help please ? Thanks Pierrick ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import Administration Application
Hi Pierrick this mailing list does not support attachment, they are automatically removed. On Wed, Jan 15, 2014 at 2:22 PM, pierrick.b...@intech.lu wrote: Hi everybody, I deleted Administration Application in my Xwiki (version 5.1.2) and I want now to reinstall it. I downloaded the xar at http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application but I have an error message when I try to import it (see attachment). Any help please ? Thanks Pierrick ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import Administration Application
Ok Thomas thanks ! It's not very important : the error message is : importation of org.xwiki.platform_xwiki-platform-administration-ui-5.3.xar : error during importation's preparation Regards, Pierrick Le 15.01.2014 14:38, Thomas Mortagne a écrit : Hi Pierrick this mailing list does not support attachment, they are automatically removed. On Wed, Jan 15, 2014 at 2:22 PM, pierrick.b...@intech.lu wrote: Hi everybody, I deleted Administration Application in my Xwiki (version 5.1.2) and I want now to reinstall it. I downloaded the xar at http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application but I have an error message when I try to import it (see attachment). Any help please ? Thanks Pierrick ___ 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
Re: [xwiki-users] Import Administration Application
Does not really tell much, do you have anything related in the log ? On Wed, Jan 15, 2014 at 2:44 PM, pierrick.b...@intech.lu wrote: Ok Thomas thanks ! It's not very important : the error message is : importation of org.xwiki.platform_xwiki-platform-administration-ui-5.3.xar : error during importation's preparation Regards, Pierrick Le 15.01.2014 14:38, Thomas Mortagne a écrit : Hi Pierrick this mailing list does not support attachment, they are automatically removed. On Wed, Jan 15, 2014 at 2:22 PM, pierrick.b...@intech.lu wrote: Hi everybody, I deleted Administration Application in my Xwiki (version 5.1.2) and I want now to reinstall it. I downloaded the xar at http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application but I have an error message when I try to import it (see attachment). Any help please ? Thanks Pierrick ___ 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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import Administration Application
No,nothing in logs. My problem is solved, I got the list of concerned pages and tried to restore them, with success. Thanks for your help ! Pierrick Le 15.01.2014 15:25, Thomas Mortagne a écrit : Does not really tell much, do you have anything related in the log ? On Wed, Jan 15, 2014 at 2:44 PM, pierrick.b...@intech.lu wrote: Ok Thomas thanks ! It's not very important : the error message is : importation of org.xwiki.platform_xwiki-platform-administration-ui-5.3.xar : error during importation's preparation Regards, Pierrick Le 15.01.2014 14:38, Thomas Mortagne a écrit : Hi Pierrick this mailing list does not support attachment, they are automatically removed. On Wed, Jan 15, 2014 at 2:22 PM, pierrick.b...@intech.lu wrote: Hi everybody, I deleted Administration Application in my Xwiki (version 5.1.2) and I want now to reinstall it. I downloaded the xar at http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application but I have an error message when I try to import it (see attachment). Any help please ? Thanks Pierrick ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Attached Files size to 0kb after upload
On 01/15/2014 06:46 AM, Clemens Klein-Robbenhaar wrote: Hi Patrick, I'm working with a XWiki Enterprise 2.3 on tomcat and Oracle 10; Since 2 or 3 days, when we upload a new file to a page , the file is available during 1 min then the file size change to 0kb ; It is not directly related, but I have seen a similar effect when using XWiki with a mySQL DB, which had a far too small max_allowed_packet config on the mySQL server. Somehow an error was generated in the DB Server, but not properly propagated to the application. Maybe there is something similar in your case, even though the DB Server is different. There should be an error on the DB Server in that case. Hope this helps, Clemens Yes, a database error is the general cause for this kind of behavior. What's happening is that the document is modified in memory to have the right attachment, it is placed in cache, but trying to save it to the database fails. As long as the document (and its attachment) is still in the cache, it will display fine. Once the attachment is evicted from the cache, trying to load it from the database will fail. However, in a transactional database I would expect the error to abort the whole thing and be displayed to the user when uploading. -- Sergiu Dumitriu http://purl.org/net/sergiu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] RES: XWiki with Piwik
Hello People, In order to track the search terms in XWiki, add the text parameter to the URL parameters search list on the site configurations in XWiki! Thank you community and support xwiki! danilo Grupo Energisa Danilo A. Oliveira Analista Suporte Aplicacao TI - DETI e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador. Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately. -Mensagem original- De: users [mailto:users-boun...@xwiki.org] Em nome de Guillaume Fenollar Enviada em: sábado, 11 de janeiro de 2014 16:13 Para: valdis.vitol...@odo.lv; XWiki Users Assunto: Re: [xwiki-users] XWiki with Piwik Hello! One easier way is to go in the XWiki Administration - Page Elements (Look Feel) and put the code Piwik gives you (in the Piwik admin) in the HTTP meta info field. It will work out of the box. I don't know how to include stats about loggued visitors and their actions but I know it's possible. Have fun! Guillaume Fenollar 2014/1/10 Valdis Vītoliņš valdis.vitol...@odo.lv Add piwik tracking code to .../xwiki/templates/htmlfooter.vm file in file system resulting ~like this: /div## xwikimaincontainerinner /div## xwikimaincontainer #if($isInServletMode) !-- Piwik -- script type=text/javascript var pkBaseURL = ((https: == document.location.protocol) ? https://odo.lv/piwik/; : http://odo.lv/piwik/;); document.write(unescape(%3Cscript src=' + pkBaseURL + piwik.js' type='text/javascript'%3E%3C/script%3E)); /scriptscript type=text/javascript try { var piwikTracker = Piwik.getTracker(pkBaseURL + piwik.php, 1); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} /scriptnoscriptpimg src=http://odo.lv/piwik/piwik.php?idsite=1; style=border:0 alt= //p/noscript !-- End Piwik Tracking Code -- /body /html #else ## Portlet Mode /div #end OR add htmlfooter.vm textarea object to /xwiki/bin/edit/XWiki/XWikiSkins?editor=class then edit /xwiki/bin/edit/XWiki/DefaultSkin skin object and paste above mentioned code into htmlfooter.vm field. Valdis Anyone is using the Piwik with XWiki? I have installed it last week and and it is a nice tool however I couldn’t configure the Track Site Search in order to allow the Piwik to track the principal terms searched in my Xwiki. Someone know how to configure it? Thank you Danilo Grupo Energisa Danilo A. Oliveira Analista Suporte Aplicacao TI - DETI e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador. Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately. ___ 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 ___ 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
Re: [xwiki-users] Attached Files size to 0kb after upload
Thanks Clemens Sergiu, Problem solved, The table space was almost full (98-99%). Now looking to migrate Xwiki 2.3 to 5.3 with a db of 20 gb. :/ Any suggestion, best practice or experiences? 2014/1/15 Sergiu Dumitriu ser...@xwiki.org On 01/15/2014 06:46 AM, Clemens Klein-Robbenhaar wrote: Hi Patrick, I'm working with a XWiki Enterprise 2.3 on tomcat and Oracle 10; Since 2 or 3 days, when we upload a new file to a page , the file is available during 1 min then the file size change to 0kb ; It is not directly related, but I have seen a similar effect when using XWiki with a mySQL DB, which had a far too small max_allowed_packet config on the mySQL server. Somehow an error was generated in the DB Server, but not properly propagated to the application. Maybe there is something similar in your case, even though the DB Server is different. There should be an error on the DB Server in that case. Hope this helps, Clemens Yes, a database error is the general cause for this kind of behavior. What's happening is that the document is modified in memory to have the right attachment, it is placed in cache, but trying to save it to the database fails. As long as the document (and its attachment) is still in the cache, it will display fine. Once the attachment is evicted from the cache, trying to load it from the database will fail. However, in a transactional database I would expect the error to abort the whole thing and be displayed to the user when uploading. -- Sergiu Dumitriu http://purl.org/net/sergiu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Patrick Moens Portable LU : +352 661/461.459 Email : patrick.mo...@gmail.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Display Blog of specific Category on Main.WebHome
I'm not known in the velocity scripts but I implement the Blog entries as a RSS feed. Maybe that helps you in a other way. Regards Kai Send from a smartphone Am 15.01.2014 um 21:26 schrieb PSwamy pree...@comdata.com: Well, I tried something using Xwiki Query Manager. Code below - {{velocity}} #set($resultDocuments = $services.query.xwql(from doc.object(Blog.BlogPostClass) as blog where blog.published = '1' and :category member of blog.category and blog.hidden = '0' and doc.web = 'Blog').execute()) #foreach($resultDocument in $resultDocuments) $resultDocument #end {{/velocity}} I get this below error. What is programming right and how do I enable this right? Caused by: org.xwiki.query.QueryException: Full form statements requires programming right. Query statement = [select doc.fullName where from doc.object(Blog.BlogPostClass) as blog where blog.published = '1' and :category member of blog.category and blog.hidden = '0' and doc.web = 'Blog'] at org.xwiki.query.internal.SecureQueryExecutorManager.execute(SecureQueryExecutorManager.java:88) at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:248) at org.xwiki.query.internal.ScriptQuery.execute(ScriptQuery.java:236) -- View this message in context: http://xwiki.475771.n2.nabble.com/Display-Blog-of-specific-Category-on-Main-WebHome-tp7588653p7588665.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ 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] Assign user list property
I have a class called TaskManager with a property called Reporter that is of a List of Users type. What I am trying to do is assign the current user to the Reporter property when a new document is created so that the user does not have to select himself from the user list control, but I would like this field to also remain as read-only so the user cannot change it to someone else. Using the following code in the TaskManagerSheet, the property gets populated on new, however when it is saved it disappears (not saved into the property). I have narrowed it down to the problem being the 'view' parameter in the $doc.display() function which makes it readonly, however because of this it is not being saved. Is there a way to set a value on new but retain a read-only status Here is the code that I am using: #set ($discard = $doc.use('TaskManager.TaskManagerClass')) #if($doc.isNew()) $doc.set('reporter',$context.user) #end : $doc.display('reporter', view) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users