Hi,
We got a new load of spam related hammering on xwiki.com. It is more and
more horrible and creates more and more unuseful load on xwiki.com. Spam
robots have included creation of XWiki accounts and use of these
accounts to publish spam data in the wiki pages.
I've had to deactivate statistics since each spam-related request that
cannot be catched by mod_security creates load on the database for these
statistics.
The only way to get statistics back will be to use Javascripts which
triggers a statistics storage request in the database (which would be
ignored by spam robots and search engines), or to wait until we can read
Google Analytics or another external statistics engine and redisplay it
on xwiki.com.
In the future we will propose a tutorial to activate Google Analytics on
your wikis. If you know how to do it you should include this on your
wiki pages to get statistics for your wiki.
I'm getting more and more worried about these spam robots and would
welcome any help and ideas on how to handle this to make xwiki.com a
viable platform for hosted public wikis.
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Recently I included the tagcloud snippet in one of my panels. In some pages it works fine, but in other pages I get this error message in stead of the cloud:
Error number 4001 in 4: Error while parsing velocity page Main.Tags Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
Error number 4001 in 4: Error while parsing velocity page Main.Tags
Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.Tags
Wrapped Exception: Invocation of method 'sort' in class com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ Main.Tags3,25?
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at java.util.Collections.sort(Collections.java:116)
at com.xpn.xwiki.api.XWiki.sort(XWiki.java:1687)
at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:511)
at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1240)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Sorry for the long text.
When I want to view All Tags from my menu, I get no tags, and the source of the page shows a similar error message.
Any help is welcome.
Inge
De disclaimer van toepassing op e-mail van de gemeente Den Haag vindt u op:
http://www.denhaag.nl/disclaimer
Hi,
When I try to access "http://127.0.0.1:8080/xwiki/bin/view/Main/WebHome"
page i get this error:
HTTP Status 404 - /xwiki/bin/view/Main/WebHome
The requested resource (/xwiki/bin/view/Main/WebHome) is not available.
Can you give me some help to solve this problem?
Thanks!
Loris
Hi,
Is there a simple way to turn the panels off for a particular page?
I know this is possible, by creating the page in a new space and
configuring the new space not to show the panels. Is there another way?
Regards,
Gunter
-------------------------------------------------------------------------------
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.
-------------------------------------------------------------------------------
Hi all,
while testing the translation feature with the new xwiki-1.1.1.5166
release I bumped into the following problem: Xwiki saves the translation
of a page in the default language, regardless of the language I have
selected to translate to in edit mode.
As a consequence the default translation has been overwritten and no
additional translation has been shown in the top-right info panel. For the
test environment I've imported the xwiki-enterpise-1.1.1.xar into a naked
standalone xwiki installation an configured it with three languages (de,
en, fr) and de as default language on the global preferences page. I use
the firefox2 as browser.
Her are the detailed steps to reproduce ths problem:
(1) Create new page
(2) Edit this page in the default laguage and save&view it
(3) press "Edit"again an select a different langauage in the translation
panel => The panel shows that the translation of the selected language is
now beeing edited
(4) Translate the page and save&view it => no additional translation shows
up and the default translation has been overwritten.
Am I missing here something or is this a bug?
Thanks a lot for helping me out on this.
Steffen
Hi.
I am shifting my wiki into another computer. I wish to retain the same
state of the wiki as it is now - the same registered users, document pages,
preferences etc. Could I just copy-paste the wiki files ? :)
Harikrishnan
--
View this message in context: http://www.nabble.com/Shifting-to-a-new-computer-tf4676458.html#a13361084
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello...
I've been able to read and enter data into my personal MySQL database
(after a very long night, finally!) and I think this should be added into
the documentation for XWiki.org but first, I want to get data from a textbox
into the database...
Because the first thing that newbies like me wanted to do was to
communicate with a personal database (especially through the use of forms),
I believe this is important.
How can I add a document in XWiki.org ? Do I have editing rights ?
Harikrishnan
--
View this message in context: http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a135038…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again !
I want to take a string entered into a textbox and place it into a MySQL
db (which is not XWiki's RDB). For that I created a simple form shown below
-
<form action = "VelocityTest2" method = "get" >
<input type = "text" name = "formval">
<input type = "submit" value = "submit">
</form>
This is the velocity page (named VelocityTest2) which is supposed to parse
the string entered into the text box -
#set($groovyObject = $xwiki.parseGroovyFromPage("Amrita IIS.GroovyTest4"))
#set($j = $Request.getParameterValues('formval'))
$groovyObject.SQL_conn($j)
A Groovy page (named GroovyTest4) takes that string and enters it into the
MySQL db with the SQL_conn() function and I'm positive that my groovy code
works.
My problem is that the string is not being parsed from the textbox into the
Velocity page. I am getting a null value instead.
Thanks,
Harikrishnan
--
View this message in context: http://www.nabble.com/Parsing-textbox-data-tf4724953.html#a13508865
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
First of all, to all developers, congratulations to Xwiki! It is by
far the best piece of software I've seen in a while. The introduction
to "what is it?", "what can it do?" and the install and running
process were just fantastic.
Right now I'm entering the stage where I want to write my own
application using Velocity, and I'm realizing that there is one or two
orders of magnitude to little Xwiki documentation around, and existing
documentation is often faulty or outdated. Instead, I'll try to ask
my questions in this place.
Question:
I have two instances (InstanceA, InstanceB) of class HowTo, and I want
to display the rendered content of InstanceB in InstanceA in a info
box. The class/instances have been generated analogously to the
FAQapplication tutorial.
If I do InstanceB.getRenderedContent(), it will return the rendered
content of InstanceA, not InstanceB. Assuming I need to set the $doc
context, I tried to include in InstanceA:
#set ($doc = $xwiki.getDocument("Space.InstanceB"))
#info($doc.getRenderedContent())
and would hope the InstanceB context would be used for rendering $doc.
But instead it cyclically and repeatedly renders InstanceA in itself, until the
engine refuses to render more levels.
I've also tried $xwiki.renderText and giving it unrendered InstanceB
text and the InstanceB document as arguments, but get the same effect.
Some more details: I work as Admin, so have programming rights. I have
also tried
$context.setDoc($xwiki.getDocument("Space.InstanceB")), which seems to
have no effect, and also #info($doc.getContent()), which returns the raw class
template (which, by the way) uses includeForm(...))
Any ideas?
Thanks,
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
In the past days I sucessfully upgraded our XWiki installation
from 0.9.840 to 1.1.1. We use jboss-4.2.1.GA and postgresql-8.2.5
and everything went quite well!
In the process I only had to remove the servlet-api-2.3.jar from
WEB-INF/lib/ as it is incompatible with the one JBoss AS already
has. I also added lucene-analyzers-2.0.0.jar as I want to use
Lucene's german analyzer.
Porting the database for use with XWiki-1.1.1 also went well using
the "schema_pre.sql" and "schema_post.sql" scripts Rudolf Van der
Leeden posted to this list a few months ago (many thanks, Rudolf!)
We now have our wiki with about 2000 pages on version 1.1.1
and are very happy with the results. XWiki-1.1.1 is really
amazing and the improvements relative to 0.9.840 are great!
Excellent work!
There is one thing I still haven't solved, though: The application
seems to work fine, but in the logfiles I find lots of the following
messages:
[...]
19:38:15,510 INFO [STDOUT] 19:38:15,504 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,541 INFO [STDOUT] 19:38:15,540 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,636 INFO [STDOUT] 19:38:15,634 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,714 INFO [STDOUT] 19:38:15,712 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
[...]
Basically, access to every page in the wiki gives at least one of
those messages: WebHome pages usually give 4 of them, others only 1:
[...]
20:52:10,877 INFO [STDOUT] 20:52:10,877 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,905 INFO [STDOUT] 20:52:10,903 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,906 INFO [STDOUT] 20:52:10,906 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,910 INFO [STDOUT] 20:52:10,908 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:22,023 INFO [STDOUT] 20:52:22,021 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/Systemadmin… SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.Systemadministration [line 6, column 14]
20:52:36,162 INFO [STDOUT] 20:52:36,161 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/HOWTOS SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.HOWTOS [line 6, column 14]
20:53:03,694 INFO [STDOUT] 20:53:03,692 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/VariousSamb… SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.VariousSambaHOWTOs [line 6, column 14]
[...]
Does anyone know what might cause these errors?
What or where does "line 6, column 14" refer to?
Should I worry about these errors?
Any ideas how to solve these errors?
Many thanks in advance!
Regards,
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJ41lxJmyeGcXPhERAhQlAJsGeQUmm9qL9xj2379n1rV1GeQczwCfSozo
4g3JziRVC2zmts8d8GKE7vc=
=W685
-----END PGP SIGNATURE-----