Hi,
After Vincent made my mouth water today at the Jazoon, I wanted to try
XWiki but I could get the FAQTutorial to work with the 1.9 release
(xwiki-enterprise-installer-generic-1.9-standard.jar). Specifically:
After I enter the two strings "FAQs" and "FAQ" in the text fields, I get
this text in the editor:
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
This looks good. After save&view, I see this:
replace Main with the Space where you want your documents to be created
replace the default parent with the one of your choice
Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
Note how the formatting is completely broken and that some ")" are
missing. When I open the page for editing, I see this:
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"##
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
As you can see, there is suddenly an empty line, the ")))" have been
replaced with "##" and the whole thing doesn't work. When I get rid of
the Comments near the start and just leave this code:
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
that gets mangles as well:
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
Any ideas what could be wrong?
Oh, and when starting XWiki for the first time, I get this exception:
2009-06-24 20:58:26,853 [http://localhost:8080/xwiki/bin/view/Main/]
[481877743@qtp0-7] ERROR lucene.LucenePlugin - cannot open
index /home/digulla/XWiki
Enterprise/jetty/work/Jetty_0_0_0_0_8080_xwiki__xwiki__5alevh/lucene
org.apache.lucene.index.CorruptIndexException: failed to locate current
segments_N file
at
org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:207)
at
org.apache.lucene.index.IndexWriter.init(IndexWriter.java:722)
at
org.apache.lucene.index.IndexWriter.init(IndexWriter.java:673)
at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:523)
at
com.xpn.xwiki.plugin.lucene.LucenePlugin.createSearchers(LucenePlugin.java:560)
at
com.xpn.xwiki.plugin.lucene.LucenePlugin.openSearchers(LucenePlugin.java:579)
at
com.xpn.xwiki.plugin.lucene.LucenePlugin.init(LucenePlugin.java:508)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1022)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:742)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:670)
which is probably safe to ignore but maybe you can rid of it nonetheless :)
Best regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/http://www.pdark.de/
Another question,
we've been trying to change the pdf export layout:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomiz…
Created the Class, and a new pdf export definition.
Now changing the style works but when we try to change xhtmlxsl or fopxsl
nothing happens.
Is this a know bug or is there somthing one should know ....
Second question:
Is this a way to create a own export definition for another format e.g latex
Thanks
hel.
-----
-----
Helmut Lehner
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Customizing-export-tp2213930p2213930.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
On Mar 6, 2009, at 11:02 AM, Helmut Lehner wrote:
> Hi Vincent
>
>> I don't know if there's much we can do here since the tinymce-based
>> wysiwyg will have saved the content of the page in HTML in your case
>> and the converter cannot distinguish this from someone typing HTML in
>> the page.
>
> I get this code editing a page in WYSIWYG-Mode with Syntax 1.0 and
> only the headings are html. The rest is wiki syntax. This behavior
> started somwhere around Version 1.5 i think. before headings were
> created correctly in wiki syntax (as the rest).
>
>
>> If you have an idea of how to do it let us know. For me you'll need
>> to
>> correct the 1.0 content for your pages that have this problem.
>
> I know how to correct this i just wanted to mention that this could
> be a problem not only for me but for every user who creates pages in
> syntax 1.0 in WYSIWYG and converts them to syntax 2.0 afterwards.
Yes it's a problem. One thing that can be done is to write/provide a
small velocity/groovy script that scans all wiki pages and replaces
the heading with the wiki syntax.
> The best thing would be to make the tiny mce editor create headings
> again in wiki syntax:)
That will not solve the problem for all page contents which have now
HTML for headings.
> The next best thing would be to convert html headings like the ones
> created (without class, or style information) to headings in xwiki
> syntax 2.0 because i think there are fewer headings created
> intentionally in html with that code than by accident through that
> editor bug.
I think I'd prefer the script solution since otherwise that'll make
the converter heavier and with some hacks.
WDYT?
Thanks
-Vincent
Hi all,
I am seeing some weird behaviour of Lucene search on XWiki. Using
Firefox 3.0.11 in a Mac OS X box. Please, look at this:
While logged in...
http://xen.net/images/loggedIn.png
Only one entry shown in each page.
While logged out...
http://xen.net/images/loggedOut.png
Please, does this make any sense for you? Thanks!
Cheers,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi guys!
I juste read under http://www.xwiki.org/xwiki/bin/view/FAQ/
HowToCreateNestedPages that nested pages are currently not available.
I really need this functionality for my current project. As sad on
the FAQ this feature should be available soon. Can anyone tell me
when this will happen? If there is already a "working" version of
that feature in the dev trunk, let me know, I could help testing.
Regards
Andreas Rami
Bizzons eMarketing GmbH
Nikolaiplatz 4
A-8020 Graz
Tel: +43-1-890-3408-250
Hi fellow XWikiers,
While celebrating XWiki's 5th birthday last week, we spent a couple days
brainstorming with the full team about where XWiki stands today and what its
future holds. We came up with a long list of features and ideas and we'd
love to get community feedback before deciding in which direction we're
going to move forward once our 2.0 release is out.
To this aim, we've built a survey that we'd like our users and developers to
take. It's a bit long though definitely worth the pain. We're eagerly
waiting for your feedback to start working on new and existing features.
You can access and fill the survey at the following address:
http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiFeatures
Thanks a lot for your time,
Guillaume on behalf of the XWiki Team
--
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
Hi Steve, I'm forwarding your email to the XWiki Users mailing list.
You might find an answer to your issue here.
>> I've installed xwiki-enterprise under jboss-4.0.5 and set it up to use MySql 5. I need to initialize the database for xwiki, >> but I cannot locate the mycommands.sql on your site. Where can I download a copy from?
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
I've been using Xwiki 1.8 for about 2-3 months now and I really like
it. Unfortunately, my server crashed. I backup the HSQLDB database
everyday. Now, I'm trying to install Xwiki on a different computer and
point it toward one of the copies of my database, but I'm having lot of
problems. I've tried it with Xwiki 2.0, 1.9 and 1.8. I'm running
Tomcat 5.5.27 and java 1.6.0_14.
The real problem is reading my old database. If I don't change the
hibernate.cfg.xml, xwiki will create a new HSQLDB database just fine
(except that it's empty). But when I do modify the hibernate file to
point to my database, I get lots of errors.
Here's the snippet from my hibernate file:
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other
database configurations.
Note that the database will be created automatically if it
doesn't already exist. -->
<property
name="connection.url">jdbc:hsqldb:file:/travis/www/xwiki/xwikiHSQLDatabase;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
And here's the error I get from my browser (Firefox):
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource
xwiki.hbm.xml
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:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource
xwiki.hbm.xml
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:326)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:145)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.27 logs.
Apache Tomcat/5.5.27
I've been trying to fix this for 2 days now and I'm losing hope that I
can recover my Xwiki. Can anyone please help? I've tried searching the
mailing list archives, google, the installation documenation, the
upgrade documentation, but I haven't found a solution. I haven't really
modified the xwiki installation much at all. I've just been using xwiki
"as is".
Still Hoping,
travis
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.0 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
The main goal of 2.0 is to make XWiki fully XWiki 2.0 syntax.
Main changes from 2.0 Milestone 1:
* Lots of improvements and new features in the new WYSIWYG editor
* Lots of improvements and bugfixes in the rendering engine and
the syntax converter
* Improvements for the blog application
* It's now possible to choose the content renderer to use when
viewing a page
* New Footnote macro
* New xwiki-properties module
* New Latvian translation
* New Swedish translation
* New Korean translation
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20M2
Thanks
-The XWiki dev team
Hi
I just wonder if anyone have been able to install the xwiki war version.
I run an OpenSuse 11 x86_64, Glassfish v2.1, Java jdk1.6.0_13, MySQL 5.0.51a
I've downloaded xwiki-enterprise-web-1.9.2.war and deployed it on the
Glassfish server, it was not possible to deploy without changing the
XML header in the file web.xml.
I followed the steps in the documentation:
- Configuration of MySQL, which works using the command-line.
- Added the MySQL section to hibernate.cfg.xml
- Copied the JDBC connection as described in the documentation
(mysql-connector-java-5.1.8-bin.jar)
The installation does not work, I've also tried other versions of
xwiki but the same problem.
I've seen that the file xwiki.hbm.xml is inside xwiki-core-1.9.2.jar.
I've search the WEB but without finding any solution.
I will appreciate any help to fix the problem.
Best regards
Reidar
The error when accessing the page:
HTTP Status 500 -
type Exception report
message
descriptionThe server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error
number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource xwiki.hbm.xml
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource xwiki.hbm.xml