Hallo,
I encountered a problem with the scheduler application. I call a groovy skript which should create a new Document. It works fine with the Main Wiki for the scheduler application, it works for virtual wiki's if I call the script from a Document.
However, when I create a scheduler job with exactly the same script in a virtual wiki it does nothing.
Tried both with the Admin account from the main Wiki and with the Owner account of the virtual wiki. I assume its a rights issue but I have no idea what the problem is.
Can anyone help?
Best Regards
Thomas
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
Hi,
In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as "Ã" in place of í etc). Clicking on it, a "Failed to execute velocity macro" message appears (maybe due to the invalid URL, example for the word "índio" .../Main/Tags?do=viewTag&tag=%C3%83%C2%ADndio).
How can I fix that?
Regards,
Ramon Gomes Brandão
Hi Raluca/Lockie/XWiki Users,
I have 3 questions:
1) How can I convert the XWiki.CalendarSheet from XWiki 1.0 to XWiki 2.0 syntax, so I can use Annotations on it?
2) Why international characters (like ç, õ, ã) are not displayed correctly only on the event title, both on the events list as well as on the calendar itself? They display correctly on all the other fields (description, category etc).
3) I would like to have independent Calendars for different Spaces. Only creating a page and including XWiki.CalendarSheet on it (like Main.EventCalendar) is the solution? Can I use Rights Access on this page as well?
Thanks for all the help so far.
Regards,
Ramon Gomes Brandão
Hi all! Need small help with custom lucene search.
I need to organize searching inside only pages of my custom class and
attachments of these pages.
I can do this, if I write
#set($extraClause = " AND space:mySpace AND
object:mySpaceCode.myCustomClass")
this working great, but only for wiki-pages - not attachments of these
pages.
If I write only #set($extraClause = " AND space:mySpace") - searching inside
attachments working, but give me also pages not of myCustomClass.
Maybe is it possible to write lucene query how I need?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/custom-lucene-search-tp5469147p5469147.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
So I'm dynamically adding objects to the page via an ajax request (get
the document, create a new object of the specified type, return the
object in edit mode as a JSON object). What I am not able to figure out,
is how to get my textareas to become wysiwyg enabled (when appropriate).
I don't quite understand how the javascript that replaces the text areas
is being generated, let alone if there is a way to get it generated (and
returned as part of my JSON object).
Any help would be greatly appreciated!
Thanks,
--Matthew
I am trying to receive a very long url (1000 characters) as a parameter for use it in a pop up window, but fail if I try with a shortest one work fine. Thanks in advance
<script type="text/javascript">
function newPopup(url) {
popupWindow = window.open(url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,tool bar=yes,menubar=no,location=no,directories=no,status=yes')
}
</script>
<a href= "JavaScript:newPopup ('http://testforge.int-evry.fr/d2r-server/snorql/?query=%09%09SELECT+DISTINCT…');">Bugs reported</a>
I recently switched to a new server and upgraded to the Xwiki Enterprise
2.4. I was able to get the installation working, but after an update to
Tomcat6 from the Ubuntu repository, Xwiki stopped working. (I'm not
completely sure that the tomcat update was the problem)
I tried re-installing Xwiki using the same procedure as before
(http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallin…) but it still doesn't work. Tomcat works; at least the default test page.
So, I then tried reinstalling tomcat6. Then I copied the previously
expanded xwiki WAR contents back into webapps. Same thing. Tomcat
appears to work just fine, but xwiki crashes.
Details about my setup:
Running Ubuntu 64-bit Lucid Lynx 10.04
Tomcat6.0.24
MySQL 5.1.41-3ubuntu12.6 (Ubuntu)
The error seems to be complaining about my hibernate file. I have tried
following the instructions from the link above by just editing the xml
to match to lines in the instructions. I have also tried uncommenting
the setup for MySQL in the hibernate file. Both ways produce the same
results.
Can anyone help, please? I'm pretty desperate.
Thanks,
travis
Here is my hibernate file:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some
shared lib directory
2) Uncomment the properties below for your specific DB (and
comment the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Without it, some queries fail in MS SQL. XWiki doesn't need
scrollable result sets, anyway. -->
<property name="jdbc.use_scrollable_resultset">false</property>
<!-- Configuration for the default database.
Comment out this section and uncomment other sections below if
you want to use another database.
Note that the database tables will be created automatically if
they don't already exist.
-->
<property
name="connection.url">jdbc:myql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property
name="dialect">org.hibernate.dialect.MySQLDialect</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"/>
<mapping resource="activitystream.hbm.xml"/>
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other
database configurations.
We need to set the sql_mode to a less strict value, see
XWIKI-1945
<property
name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property
name="dialect">org.hibernate.dialect.MySQLDialect</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"/>
<mapping resource="activitystream.hbm.xml"/> -->
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other
database configurations.
<property
name="connection.url">jdbc:hsqldb:file:/some/path/xwikidb;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"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- PostgreSQL configuration.
Uncomment if you want to use PostgreSQL and comment out other
database configurations.
<property name="connection.url">jdbc:postgresql:xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</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"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other
database configurations.
Note: the 2 properties named
"hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell Oracle
to allow CLOBs larger than
32K.
<property
name="connection.url">jdbc:oracle:thin:@localhost:1521:XE</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property
name="dialect">org.hibernate.dialect.Oracle10gDialect</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>
<property
name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- Derby configuration.
Uncomment if you want to use Derby and comment out other
database configurations.
<property
name="connection.url">jdbc:derby:/some/path/xwikidb;create=true</property>
<property
name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property
name="dialect">org.hibernate.dialect.DerbyDialect</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.derby.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
</session-factory>
</hibernate-configuration>
And Here is my Error Message from Firefox:
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 create a DBCP pool. There is an error in the hibernate configuration file, please review it.
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:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
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 create a DBCP pool. There is an error in the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471)
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:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Hi,
In the Tags Application at the bottom of Main.WebHome, all the assigned tags are displayed correctly with international characters (like í, ç, ô á etc). When Ii click on one of them to present the tagged documents, the tag appears all messed up due to the intl chars (such as "Ã" in place of í etc). Clicking on it, a "Failed to execute velocity macro" message appears (maybe due to the invalid URL, example for the word "índio" .../Main/Tags?do=viewTag&tag=%C3%83%C2%ADndio).
How can I fix that?
Regards,
Ramon Gomes Brandão
Hi,
is there a way to give user permissions on the bottom panel that has:
Annotations
Comments
Attachments
History
Information
in it??
What I'd like to do is give read/write permissions to all signed up
users and then deny all other "guest" users access so that if a guest
goes into the site the panel doesn't even show?
I'm using the toucan skin and have found this which is too dramatic as
it disables the the comments panel altogether:
http://www.mail-archive.com/users@xwiki.org/msg00864.html
I tried searching under the Panels home but couldn't find any names
correlating to the above panel..... also.
Thanks,
Kaya