Re: [xwiki-users] Can't find Register User link

2007-10-09 Thread Vitantonio Messa
Hi,

if you go to the page /xwiki/bin/view/XWiki/XWikiUsers on your xwiki, 
the first line should be Register a user.

Vito



thebugslayer wrote:
 Hi, I have just installed xwiki with mysql setup, when I get to step 5
 of Adding Users to a XWiki in
 
 http://www.xwiki.org/xwiki/bin/view/AdminGuide/User+Management
 
 I don't see Register user linke. Is there something I am missing?
 
 Thanks.
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Deleting spaces

2007-10-09 Thread Vitantonio Messa
Hi all,

I'm trying to use the delete space code snippet I found on the xwiki.org 
website. I got a Null Pointer Exception when deleting pages (even if I 
have administrator rights on the wiki).

If I use other function on the documents (as, rename for example) they 
work fine. Here is the code for the panel:

#panelheader('Spaces')
#if($request.space)
   #if($request.confirm==1)
 #foreach($item in $xwiki.getSpaceDocsName($request.space))
   $xwiki.getDocument(${request.space}.${item}).delete()
 #end
   #else
 [Confirm delete space 
${request.space}$doc.fullName?space=${request.space}confirm=1]
 brList of docs that will be deleted
 #foreach($item in $xwiki.getSpaceDocsName($request.space))
   * $item
 #end
   #end
#else
   #foreach($space in $xwiki.spaces)
 $space \[[Delete$doc.fullName?space=${space}]\]br/
   #end
#end
#panelfooter()



I have also used the function checkAccess(delete), and it returns 
true, so I'm sure that I have right to delete the document.

Any idea of what's going on? Thanks!

Vito
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Install problem

2007-10-09 Thread Loris Conedera
Ok now I solved but I I get an error page that seems due to database
problem.
I think my database is ok. I created a database named xwiki and defined
grants to user xwiki.
This is the error I get. I'm working on Websphere Community Edition that is
based on Apache Geronimo.
---
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: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
XWiki.XWikiPreferences
Wrapped Exception: java.util.HashSet incompatible with java.lang.String
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:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:117)

root cause

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document
XWiki.XWikiPreferences
Wrapped Exception: java.util.HashSet incompatible with java.lang.String
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:247)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:397)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
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:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(
SetCharacterEncodingFilter.java:117)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.13 logs.
---

2007/10/8, adoro [EMAIL PROTECTED]:


 Hi,
 did you rename xwiki-web-standard-1.1.1-war into xwiki.war and  put it
 in the WEBAPPS directory of Tomcat or just uncompressed the war file in
 the
 directory xwiki under ROOT directory? I mean - it was enough to place
 the
 xwiki.war under the WEBAPPS of Tomcat. On restart Tomcat automatically
 will
 uncompress the war file and create a new directory xwiki; xwiki.war should
 remain in the webapps directory (don't delete it!), otherwise it will not
 work.

 adoro






 Loris Conedera wrote:
 
  I'll try to give more important informations
 
  I'm working on a Debian GNU\Linux System and I have an already
 configured
  installation of Tomcat and MySQL.
  I downloaded the WAR xwiki-web-standard-1.1.1-war.
  I uncompressed the war in the directory xwiki in the ROOT of tomcat.
  I created a xwiki database with all privileges on user xwiki
  I modified the file hibernate.cfg.xml to use Mysql as RDBMS.
  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.
 
  I hope these informations can Help you to say me what I'm doing wrong!
  Thanks!
 
  Loris Conedera
 
  2007/10/7, Paul Armstrong [EMAIL PROTECTED]:
 
  On Sun, Oct 07, 2007 at 07:35:21PM +0200, Loris Conedera wrote:
   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?
 
  Sounds like you haven't got your application server setup properly.
 
  What do your application server logs say?
 
  Did you follow the install guide?
  http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation
 
  Paul
 
  --
  End dual-measurement, let's finish going metric!
  http://gometric.us/
  http://www.metric.org/
 
 
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 

 --
 View this message in context:
 http://www.nabble.com/Install-problem-tf4584048.html#a13093319
 Sent from the XWiki- Users mailing list archive at Nabble.com.

 

[xwiki-users] XWiki attachments disappear - serious problem

2007-10-09 Thread Sheila Hobeck
Hi everyone,

We have installed XWiki with Apache Tomcat and MySQL.  We have noticed a
serious problem in that attachments disappear without warning.  We are not
sure if this is perhaps a Mysql issue or something related to XWiki.  Even
the history no longer shows the files having been attached.

Any ideas?

S.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Finch skin problem

2007-10-09 Thread V. Harikrishnan Nair

Hi all,

 I just changed my xwiki skin to Finch and I noticed my username
(superadmin) displayed on the top right corner as the line below - 

$xwiki.getDocument($context.user).display(first_name, view,
$xwiki.getDocument($context.user).getObject(XWiki.XWikiUsers, 0))'s
profile

Can this be resolved ?

And why can't I use pictures which are not of the specific size mentioned
(200x70) as my logo ?

thanks,
Harikrishnan
-- 
View this message in context: 
http://www.nabble.com/Finch-skin-problem-tf4598657.html#a13129508
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users