Hello all!
There is a problem with a panel, which does not appear for a user. Here
is what I have done:
Xwiki Enterprise 2.0.3.24848
0. Login as User in Admingroup
1. Created a space "SpaceA" with several pages
2. Created a group "GroupA"
3. Created a user "UserA"
4. Put UserA in GroupA
5. Gave edit and view rights for SpaceA to GroupA
6. Changed Page Layout to Left column
7. Added only one panel PanelA which shows the documents of this page
8. All works fine
9. Login as UserA
10. Can only see documents in SpaceA but cannot see PanelA
Even if I give all rights to UserA for SpaceA I cannot see PanelA.
If I want to administrate SpaceA as UserA and choose the panels section
I became an error:
"Topic Panels.PanelWizard does not exist".
Sections Presentation and Rights are working fine.
Does someone know this behaviour? Can anybody give a hint or help me?
Greetings
Dirk
Hi,
I am having an interesting problem: content is getting duplicated in my
XWiki. This seems to affect only one page in my wiki (at least I have
noticed it only there). Parts of the content of the page get duplicated
on that same page, see:
https://e-research.cs.st-andrews.ac.uk/site/bin/view/Research+in+a+Connecte…
(I will leave this unmodified for a few days)
This is not just an artefact in the output. When I edit the content, the
duplication is there. I can remove it and it disappears but the problem
seems to re-occur. Any ideas what might be going on?
Best wishes,
Alex
--
Alexander Voss
SICSA Advanced Research Fellow
School of Computer Science
University of St Andrews
http://www.cs.st-andrews.ac.uk/~avoss
The University of St Andrews is a charity registered in Scotland : No
SC013532
Hi,
I was trying to build the XWiki Web project, version 1.8.1. At first, it looked for the smartgwt.jar. I downloaded it and manually installed it in the repository. Now, here is the error that I got:
[gwt:compile]
establishing classpath list (buildClaspathList - scope = COMPILE)
google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies
The input line is too long.
I downloaded and installed gwt and set the GWT_HOME environment variable. The error still occurs. I'm not sure why.
Any ideas?
Thank you very much.
Regards,
J. Allen
Dear All,
We just updated to XWiki Enterprise 2.0.3.24848 for internal
documentation and are having difficulties with the display. We use the
toucan skin from version 1.9. When users log-in, they see the site
without our skin. When the admins log-in, the skin is there. What is the
problem? The login is also without the skin. Is the skin cached in the
browser?
greetings,
Steven Calkins
Hi
I get the errors below on my newly installed xwiki. I've followed the instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch (whith the exception of point 11, which I was trying to do now)
I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration and I'm unable to find the problem. Could you please help me solve this?
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: invalid configuration
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:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
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: invalid configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
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:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
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 logs.
________________________________
Apache Tomcat/5.5
mvh
Linda Ursin
Brukersenteret
_____________________________________________________________________
Brukersenter ved HiST er brukerens første kontaktpunkt ved IKT-relaterte spørsmål og problemer. Vi har betjent telefon mellom 08:00 og 15:00.
Tlf: (73 5)5 99 00
E-post: brukersenter(a)hist.no <mailto:brukersenter@hist.no>
Du finner oss også på Ansattportalen og Studentportalen. Vennligst sjekk våre sider der (spesielt veiviserne) før du melder et problem til oss.
NB! Da vi kommuniserer med deg vedrørende en sak, trenger vi tilbakemelding fra deg også når det fungerer slik at vi kan avslutte saken.
Vi ber om at du, så langt som mulig, benytter den adressen du er blitt tildelt her ved HiST når du kontakter oss pr. e-post. Da vet vi hvem du er med en gang og slipper å finne deg frem, pluss at vi vet at du faktisk jobber/studerer ved HiST.
Hi Joshua,
(I apologize to all if this appears more than once; I haven't been
successful posting to the mailing list since before yesterday. Perhaps
attachments are prohibited? Trying again without.)
Thanks again, your explanation of spaces was very clear and helpful.
Now that I have a little better understanding of spaces, I'll present my
problem. For some reason when I create a FAQ entry, it's not going into
the FAQ space but instead into the Main space. Per the tutorial, I haven't
created a FAQ space explicitly this go round.
It seems to me this can only be happening as a result of the code that
adds a FAQ, or perhaps in the class definition code which specifies the
default space. Looks right to me and jibes with what you've said about
spaces. Here it is yanked directly out of my code .. which was simply a
copy/paste from the tutorial:
FAQClass code:
{{velocity}}
## Replace Main with the Space where you want your documents to be
created.
## Replace the default parent with the one of your choice and save the
document.
##
#set($className = $doc.name.substring(0, $doc.name.indexOf("Class")))
#set($defaultParent = 'FAQ.WebHome')
#set($defaultSpace = 'FAQ')
{{/velocity}}
{{include document="XWiki.ClassSheet"/}}
FAQTemplate code:
{{include document="FAQ.FAQSheet"/}}
FAQ WebHome code (http://localhost/xwiki/bin/edit/FAQ/WebHome?&editor=wiki
):
= Existing FAQ entries =
{{velocity}}
#set($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='FAQ.FAQClass' and obj.name<>'FAQ.FAQTemplate'")
#set($results = $xwiki.searchDocuments($sql))
#if($results.empty)
No FAQ has been created yet!
#else
#foreach ($item in $results)
#set($faq = $xwiki.getDocument($item))
* [[${faq.display("question").replace("<p>", "").replace("</p>",
"")}>>${item}]]
#end
#end
{{/velocity}}
{{velocity}}
#if("$!request.docName" != '')
## Request for creating a new instance
#set($targetDocName = "${request.spaceName}.${request.docName}")
#set($targetDocName = $targetDocName.replace("?", "").replace("#",
"").trim())
#if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit',
$context.user, $targetDocName))
$response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
"template=${request.template}&parent=${request.parent}"))
## Stop processing, since we already sent a redirect.
#stop
#end
#end
= Add a new question =
#if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
{{warning}}The target document already exists. Please choose a different
name, or [[view the existing document>>$targetDocName]]{{/warning}}
#elseif("$!targetDocName" != '')
{{warning}}You don't have permission to create that document{{/warning}}
#end
{{html}}
<form action="" id="newdoc" method="post">
<div>
<input type="hidden" name="parent" value="${doc.fullName}"/>
<input type="hidden" name="template" value="FAQ.FAQTemplate"/>
<input type="hidden" name="sheet" value="1"/>
<input type="hidden" name="spaceName" value="FAQ"/>
Document: <input type="text" name="docName" value="Enter your
question here" class="withTip" size="50"/>
<span class="buttonwrapper"><input type="submit" value="Create this
FAQ" class="button"/></span>
</div>
</form>
{{/html}}
{{/velocity}}
So what am I missing?
Thanks,
Mark
"Rieken, Joshua" <Joshua_Rieken(a)reyrey.com>
Sent by: users-bounces(a)xwiki.org
11/10/2009 04:37 PM
Please respond to
XWiki Users <users(a)xwiki.org>
To
XWiki Users <users(a)xwiki.org>
cc
Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
Mark,
You're very welcome. It's not necessary to explicitly create the WebHome
in FAQ until later in the tutorial. Question/Answer documents that are
created from the FAQ Class page will go into the FAQ space, which "comes
into existence" the instant any document is placed in it.
For example, if you add a question/answer page called
"FAQ.Howtoeditapage", you can still get to it regardless of whether
"FAQ.WebHome" exists.
A space "disappears" when every document that is part of the space is
deleted. So a space is just a collection of documents and doesn't really
exist outside of those documents. It's really just a convenient way to
organize your documents.
Good luck, and if you have any more questions, please don't hesitate to
ask.
-Joshua-
> -----Original Message-----
> From: users-bounces(a)xwiki.org
> [mailto:users-bounces@xwiki.org] On Behalf Of Mark_Marziale(a)BCBSIL.COM
> Sent: Tuesday, November 10, 2009 3:31 PM
> To: XWiki Users
> Cc: XWiki Users; users-bounces(a)xwiki.org
> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
>
> Hi Joshua,
>
> Thanks very much for your prompt reply. It helps a lot to
> know the history and what WebHome means!
>
> Am I correct then in first creating the FAQ space explicitly,
> even though that's not called for in the tutorial? Like so:
>
> "I've first created the FAQ Space, then built the FAQ Class,
> etc, then put the code into the 'home' page for the space, ie
> http://localhost/xwiki/bin/view/FAQ/"
>
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marziale(a)bcbsil.com
>
>
>
>
>
> "Rieken, Joshua" <Joshua_Rieken(a)reyrey.com>
> Sent by: users-bounces(a)xwiki.org
> 11/10/2009 03:18 PM
> Please respond to
> XWiki Users <users(a)xwiki.org>
>
>
> To
> XWiki Users <users(a)xwiki.org>
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> http://localhost/xwiki/bin/view/FAQ/ actually takes you to
> http://localhost/xwiki/bin/view/FAQ/WebHome. "WebHome" is the
> home page
> for any given space. The name "WebHome" came from earlier versions of
> XWiki, when a Space was called a Web.
>
> Hope this helps,
> -Joshua-
>
> > -----Original Message-----
> > From: users-bounces(a)xwiki.org
> > [mailto:users-bounces@xwiki.org] On Behalf Of
> Mark_Marziale(a)BCBSIL.COM
> > Sent: Tuesday, November 10, 2009 3:06 PM
> > To: users(a)xwiki.org
> > Subject: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
> >
> > Hi,
> >
> > I've followed along in the tutorial in the dev guide for
> > creating a FAQ at
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
> >
> > Here's my first point of confusion: in section 'Create a
> > homepage for your application' it states 'Go to the
> > "FAQ.WebHome" page'. I do not see such a page. In the latest
> > iterations of building the FAQ I've first created the FAQ
> > Space, then built the FAQ Class, etc, then put the code into
> > the 'home' page for the space, ie
> http://localhost/xwiki/bin/view/FAQ/
> >
> > I'm sure my problems stem from my weak understanding of this
> > step and how spaces are created and referenced.
> >
> > Thanks,
> > Mark
> >
> > BCBS-IL
> > ph 312-653-4293
> > mark_marziale(a)bcbsil.com
> >
> >
> >
> > HCSC Company Disclaimer
> >
> > The information contained in this communication is
> > confidential, private,
> > proprietary, or otherwise privileged and is intended only for
> > the use of
> > the addressee. Unauthorized use, disclosure, distribution or
> > copying is
> > strictly prohibited and may be unlawful. If you have received this
> > communication in error, please notify the sender
> immediately at (312)
> > 653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
> > Oklahoma; or (972)766-6900 in Texas.
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Dear Sergiu,
The image I sent made the message to large. If you would like to see the rendering I would be glad to send it to you. Simply put, the code you supplied still doesn't work even though I copied and pasted your code directly into my wiki 2.0 page.
greetings,
Steven Calkins
E-Mail: steven.calkins(at)crossmediasolutions.de
> -----Ursprüngliche Nachricht-----
> Von: Steven Calkins
> Gesendet: Montag, 16. November 2009 10:50
> An: 'XWiki Users'
> Betreff: AW: [xwiki-users] Latex {cases} command doesn't work
> in default xwiki 2.0 formula macro
>
> Hi Sergiu,
>
> I tried your example after changing the line
> "macro.formula.renderer" in the properties file back to
> "native"and restarting xwiki. Sadly it still didn't work on
> my machine. So what is different on your machine compared to
> mine? (Do you perhaps have a developing environment which
> automatically finds the proper TeX parts?) I just copied and
> pasted your example. The rendered results are seen in the
> attached screenshot. I'm not sure that attachments get
> through to you, but if you can view it, you can see that the
> formulae are rendered, just the cases command is not
> executed. I'm still using a SKIN from 1.9. on XWiki
> Enterprise 2.0.3.24848, running on postgres but I believe
> that should be irrelevant. Here's my code:
>
> ================START XWIKI CODE ==================================
>
> === Continuation and cases===
> This example from wikipedia doesn't seem to work:
> {{formula fontSize="normal"}}
> f(x) = \begin{cases}1 & \mbox{-1 \le x < 0\par} \\
> \frac{1}{2} & \mbox{x = 0} \\ 1 - x^2 &
> \mbox{otherwise\par}\end{cases} {{/formula}}
>
> Example from Sergiu
> {{formula}}
> f(x) =
> \begin{cases}
> 1 & -1 \le x \le 0 \\
> \frac{1}{2} & x = 0 \\
> 1 - x^2 & \mbox{otherwise}
> \end{cases}
> {{/formula}}
>
>
> Case definitions
>
> Used when a definition has two or more cases. Use the case
> statement. Notice that the spaces after the instances of if
> were included inside the mbox declarations.
>
> {{formula fontSize="normal"}}f(n) = \begin{cases} n/2, &
> \mbox{if } n\mbox{ is even} \\ 3n+1, & \mbox{if } n\mbox{ is
> odd} \end{cases}{{/formula}}
>
> Third try
> {{formula fontSize="normal"}}f(n) = \left\{ \begin{array}{l l}
> n/2 & \quad \text{if $n$ is even}\\
> -(n+1)/2 & \quad \text{if $n$ is odd}\\ \end{array}
> \right.{{/formula}}
>
> ======================END XWIKI CODE==================
>
> Cheers,
>
> Steven Calkins
> E-Mail: steven.calkins(at)crossmediasolutions.de (in the
> event you want to see my image and can't)
>
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> Im Auftrag von Sergiu Dumitriu
> Gesendet: Freitag, 13. November 2009 19:16
> An: XWiki Users
> Betreff: Re: [xwiki-users] Latex {cases} command doesn't work
> in default xwiki 2.0 formula macro
>
> On 11/13/2009 02:56 PM, Steven Calkins wrote:
> > Hi Sergiu,
> >
> > I tried what you said, adding the line
> "macro.formula.renderer = native" to WEB-INF/xwiki.properties
> and saving it. Then I restarted Xwiki but it didn't work. It
> still rendered the formula in a single line. Then I tried
> "the line "macro.formula.renderer=mathtran", saved it, and
> restarted xwiki. It still didn't work. Is there some part of
> the the TeX package still missing? I just installed XWiki
> Enterprise 2.0.3.24848, it runs on postgres.
>
> OK, it seems that the default renderer is the native one, so
> there was no need to change it.
>
> I tried your example, and actually there's a problem with the
> formula.
> The code from your mail causes the native renderer to fail
> because there's a syntax error, specifically the first mbox
> contains \le, which is only valid in math mode. This works fine:
>
> {{formula}}
> f(x) =
> \begin{cases}
> 1 & -1 \le x \le 0 \\
> \frac{1}{2} & x = 0 \\
> 1 - x^2 & \mbox{otherwise}
> \end{cases}
> {{/formula}}
>
> > I was a little surprised that I had to add a line in the
> WEB-INF/xwiki.properties file and not uncomment a line and
> change its value, as you do in most cases. Could it be that I
> have an older config file or is the line in
> WEB-INF/xwiki.properties not available yet in the newest
> version? I used the config from the download, and changed
> only those values that pertained to my earlier system settings.
>
> My fault, I forgot to add this setting in the template that
> generates xwiki.cfg.
>
> > Greetings,
> >
> > Steven Calkins
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> > Auftrag von Sergiu Dumitriu
> > Gesendet: Freitag, 13. November 2009 12:31
> > An: XWiki Users
> > Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in
> > default xwiki 2.0 formula macro
> >
> > On 11/13/2009 11:45 AM, Steven Calkins wrote:
> >> Dear all,
> >>
> >> The LaTeX {case} macro doesn't seem to work in Xwiki
> 2.0 with the
> >> default LaTeX renderer.
> >>
> >> Try these two examples to reproduce it and compare with
> >> http://en.wikipedia.org/wiki/Math_markup#Examples_2:
> >> [XWIKI CODE STARTS HERE]
> >>
> >> === Continuation and cases===
> >> This example from wikipedia doesn't seem to work:
> >> {{formula fontSize="normal"}}f(x) = \begin{cases}1&
> \mbox{-1 \le x<
> >> 0\par} \\
> >> \frac{1}{2} \;\;\;& \mbox{x = 0\par} \\ 1 - x^2&
> >> \mbox{otherwise\par}\end{cases}{{/formula}}
> >>
> >> ===Case definitions===
> >>
> >> {{formula fontSize="normal"}}f(n) = \begin{cases} n/2,&
> \mbox{if }
> >> n\mbox{ is even} \\ 3n+1,& \mbox{if } n\mbox{ is odd}
> >> \end{cases}{{/formula}}
> >>
> >> [XWIKI CODE ENDS HERE]
> >>
> >> Any suggestions?
> >
> > The cases environment is not standard TeX, it belongs to
> the amsmath
> > package. This means that it is not supposed to work using
> the default
> > backend. It should work with the native one, which uses the amsmath
> > package, and you could try using the mathtran one. If you decide to
> > change the backend, you'll find instructions in the last
> paragraph on
> >
> http://code.xwiki.org/xwiki/bin/view/Macros/FormulaMacro#HTechnicalinf
> > ormation
>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>