Hi,
Iam working on creating a custom login page but did't find any help
regarding backend login functionality.i copied HTML from login.vm on my
new page,set action of form to $xwiki.getURL("XWiki.XWikiLogin") but
how can i redirect bact to my space if login details are incorrect or
how can i redirect to next page if login succesfull.
I used below script on top of login page.changed url's according but
did't work
#if($context.user!="XWiki.XWikiGuest")
#if($request.xredirect)
$response.sendRedirect($request.xredirect)
#else
$response.sendRedirect($xwiki.getURL("Main.WebHome"))
#end
#elseif($doc.fullName != "XWiki.XWikiLogin")
#set($qs = "")
#set($qs = $request.queryString)
#if(!$request.getParameter("xredirect"))
#set($qs = "xredirect=$util.encodeURI($doc.getURL('view'))&${qs}")
#end
$response.sendRedirect($xwiki.getURL("XWiki.XWikiLogin", "login", $qs))
#else
###
### Login page
###
###
Please help.
Thanks,
Simer
Hey,
We've had problems with this feature opening documents in read-only mode instead
of editable mode when users are running windows 7 (this might be a WebDAV
interface problem). It is not a browser problem because running IE8 on windows
xp works. Has anyone had this problem and is there already a JIRA bug filed?
Thanks,
Felix
Hello,
I'm trying to edit pages with the help of xoffice. Recently we noticed that
when adding images to pages via XWord the database contains an entry in the
table xwikiattachment for the attachment but the data is not beeing inserted
into the xwikiattachment_content table. This obviously leads to the image
link beeing broken, shown as having 0b of size.
I tried this with v1.1.1 as well als v1.2M1 against XWiki2.4. Since I read
the whitespace issue I tried this in the Sandbox-Space, Pagename 'Test'. The
issue could still be recreated.
I did not find any error in the tomcat logs. Is there any log that I'm
missing or is this a known bug?
Greetings,
Andreas
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWord-image-upload-to-db-fails-tp5367663p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I downloaded xwiki enterprise stand alone for windows. I double click
the Start xwiki icon and the dos window pops open briefly. When I point
my browser to http://www.localhost:8080/, I get a network error. What am
I missing here?
Susan Wall | Sr. Training & Support Specialist | TomTom |
susan.wall(a)teleatlas.com | +00 (1) 603-643-0330 ext 5135 office
Hi,
I'm trying to install XWiki on a FreeBSD 8.0 x64 server and so far I've
managed to get all the necessary components installed.
It took me quite a bit of digging to get this far as most examples and
guides are built for either Windows or Linux. Anyway, I took a look and
adapted these resources:
##############################################
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcathttp://www.calebscreek.com/2010/07/how-to-install-apache-tomcat-6-on-freebs…http://www.xwiki.org/xwiki/bin/view/Main/Downloadhttp://www.yoursoftcopy.com/xwiki-install/xwiki-install.htmlhttp://www.howtoforge.com/xwiki-tomcat-mysql-debian-etchhttp://www.mydigitallife.info/2006/04/13/installing-web-server-in-freebsd-6…http://wiki.freebsd.org/AppserverJailsHOWTOhttp://dev.mysql.com/doc/refman/5.1/en/adding-users.htmlhttp://www.pubbs.net/200911/xwiki/44724-xwiki-users-could-not-initialize-ma…http://lists.xwiki.org/pipermail/users/2007-November/009312.html
##############################################
Basically the log file claims this:
2010-08-07 08:30:17,253 [EvictionTimer-3] WARN
eviction.EvictionTimerTask - Eviction task encountered an
unexpected error
java.lang.NullPointerException
at org.apache.log4j.Category.isEnabledFor(Category.java:749)
at
org.apache.commons.logging.impl.Log4JLogger.isTraceEnabled(Log4JLogger.java:333)
at
org.jboss.cache.eviction.EvictionTimerTask.processRegions(EvictionTimerTask.java:102)
at
org.jboss.cache.eviction.EvictionTimerTask.access$100(EvictionTimerTask.java:42)
at
org.jboss.cache.eviction.EvictionTimerTask$Task.run(EvictionTimerTask.java:135)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
My prerequisites for building XWiki are these:
Tomcat 6.0.29
Mysql-server 5.1.49
diablo-latte-freebsd7-amd64-1.6.0_07-b02.tar.bz2
tzupdater-1_3_29-2010f.zip
mysql-connector-java-5.1.5
The error on the html page in the browser claims there's an issue with
my hibernate.cfg.xml file which looks like this when all comments have
been removed:
wiki# cat hibernate.cfg.xml
<?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>
<property
name="connection.url">jdbc:mysql://127.0.0.1/xwiki?useServerPrepStmts=false</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"/>
Also I created a few additions in
/usr/local/apache-tomcat-6.0/conf/catalina.policy:
grant codeBase "file:${catalina.base}/webapps/xwiki/-" {
permission java.security.AllPermission;
permission java.io.FilePermission
"${catalina.base}/webapps/xwiki/-", "read,write,delete";
permission java.io.FilePermission "/var/log/tomcat60/-", "read,write";
permission java.io.FilePermission "/WEB-INF/xwiki.cfg", "read";
permission java.io.FilePermission "/WEB-INF/hibernate.cfg.xml",
"read";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.util.PropertyPermission "user.name", "read";
permission java.net.SocketPermission "127.0.0.1:3306",
"connect,resolve";
};
However am completely stuck now......
I guess the only 2 reasons could be an invalid hibernate.cfg.cml file or
the incorrect connector in
/usr/local/apache-tomcat-6.0/webapps/xwiki/WEB-INF/lib/
My configuration is most closely based around the howtoforge page
specified earlier: http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch
???
Can anyone help me?
Thanks!!
Regards,
Kaya
Hallo,
I tried to build the Xwiki core with Maven but encountered the following error:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.626s
[INFO] Finished at: Fri Aug 06 11:00:49 CEST 2010
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project xwiki-core: Unable to get dependency i
nformation for org.xwiki.platform:xwiki-core-observation-local:jar:2.5-SNAPSHOT:
Failed to process POM for org.xwiki.platform:xwiki-core-observation-local:jar:2
.5-SNAPSHOT: Non-resolvable parent POM org.xwiki.platform:xwiki-core-observation
:2.5-SNAPSHOT for org.xwiki.platform:xwiki-core-observation-local:2.5-SNAPSHOT:
Failed to resolve POM for org.xwiki.platform:xwiki-core-observation:2.5-SNAPSHOT
due to Missing:
----------
1) org.xwiki.platform:xwiki-core-observation:pom:2.5-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.xwiki.platform:xwiki-core-observation:pom:2.5-20100805.132738-18
from the specified remote repositories:
xwiki-externals (http://maven.xwiki.org/externals, releases=true, snapshots=tr
ue),
xwiki-releases (http://maven.xwiki.org/releases, releases=true, snapshots=fals
e),
xwiki-snapshots (http://maven.xwiki.org/snapshots, releases=false, snapshots=t
rue),
maven2-repository.dev.java.net.2 (http://download.java.net/maven/2, releases=t
rue, snapshots=true),
central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ArtifactResolu
tionException
Can somebody please be so kind and tell me what I have missed or done wrong? (the command used was "mvn package" to get the .jar file)
Thanks in advance
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
Hello!
A very natural desire of anyone whose wiki has open spaces is
to track IP of every edit (something like Wikipedia).
But I can't figure out whether it is implemented or not. First,
I thought it isn't (no traces in Document API).
This issue: http://jira.xwiki.org/jira/browse/XWIKI-1913 makes me
think that not only IPs, but also X-Forwarded-For are stored.
Still, I'm not sure, and I don't know how to use this.
--
If you want to get to the top, you have to start at the bottom
Hi,
I want to give all users the ability to change Access Rights on the pages they create. I've noticed that only admin group has this ability.
When a user creates a page, I would like that "Access Rights" appear on the Editor drop down menu. This page access classification by the author is nothing but essential on my
Xwiki instance at my corp.
How can I do that?
Ramon Gomes Brandão
Hi, forum,
Today I installed openoffice server and tried to import a Chiense MS doc.
The result was I got all the mess code. Tryied another English/Chinese
mixing doc, English could be imported properly and all Chinese charater
became messy code.
Did I miss something that did not configured correctly?
I run XE 2.4 on Windows 2008; Openoffice 3.2.1
Regards.
Rex
Hi,
I've created a Skin based on colibri and set I as my default skin. I've overwritten some css definitions of colibri.css due to my header logo ( I've shifted and resized the search box). I've added this definitions on a new attribute (myStyle.css) on XWikiSkin object and added it on the style.css attribute, as well as microformats.css and colibri.css. My modifications are:
#companylogo a img {
float: left;
margin:0 0 0 -4px;
}
#globallinks {
float:right;
padding:5px 67px 5px 0px;
width:130px;
}
#globalsearch {
text-align:right;
width:190px;
}
#globalsearchinput {
min-height:16px;
width:150px;
}
It works well on Firefox, but in IE neither of my modifications seems to work, and the search box goes below the header logo, on a new line. Where I can change CSS definitions as above for IE's?
Regards,
Ramon Brandão