Using CentOs/Tomcat6/MySQL:
So, I'm trying to perform the settings described here:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystem…
Changed the xwiki.cfg and xwiki.properties as instructed (environment.permanentDirectory=/var/local/xwiki/).
Even changed owner to tomcat user and permissions to 775 just to be sure.
Restarted the whole thing.
Still, the new attachments don't end up in the proper directory. What did I miss?
Hi,
I'm new member for this list, i'm sorry for my english ;)
But I search to mapping thumbnailPhoto in the avatar profil of my users Xwiki.
I can view in the archive this thread (http://lists.xwiki.org/pipermail/users/2010-February/015039.html) but since 2010, I haven't got an feature for this ?
For your answer
Best regards
Version : Xwiki Entreprise 5.4.1
Active Directory Windows 2008 R2
Hi!
Does XWiki support LDAP TLS binding (that means a ldap connection on port
389 and not a SSL ldaps connection on port 686) with both server and client
(= XWiki) certificates? If so, how to set up that feature?
Many thanks for your response.
Claude Lepère
I am working on setting up subwikis in a private Intranet wiki. I have a
customized theme with a custom logo. When a member of the subwiki clicks
around, they see the theme normally. When a non-member ties to go to a page
they get the normal "Error - You are not allowed to view this document or
perform this action". Which is good, except the theme on that page changes
back to the original XWiki theme and logo. The root wiki is using the same
customized theme and it appears on the login page because I gave
unregistered users access to view the theme.
I don't know who to give permission to in order for the theme to appear.
The user is no longer unregistered, because they are a member of the root
wiki. However they are not a member of any group in the subwiki.
I using XWiki 5.4.1, with MySQL and Tomcat7. I have a vanilla .deb install.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Theme-on-Subwiki-Error-page-tp7589357.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Boudjelda (and Marius),
I was wondering if you ever found a solution for this? I would like to
add TogetherJS to XWiki (see: https://togetherjs.com/#tryitout-section)
but am not sure how to insert the JS source into the page head.
I went through the suggested steps:
1st, created a new object for the page "myurl/Sandbox/WebHome/", "Edit"
-> "Objects":
Objects of type XWiki.JavaScriptExtension
- JavaScriptExtension 0: TogetherJS
Code:
document.observe('xwiki:dom:loaded', function() {
<script src="https://togetherjs.com/togetherjs-min.js"></script>
}
Then in the page I added:
{{velocity}}
$xwiki.jsx.use("XWiki.SkinExt")
{{/velocity}}
{{velocity}}
#set ($discard = $xwiki.ssx.use('Sandbox.WebHome'))
#set ($discard = $xwiki.jsx.use('Sandbox.WebHome'))
{{/velocity}}
{{html}}
<button onclick="TogetherJS(this); return false;">Start TogetherJS</button>
{{/html}}
Any ideas?
Thanks Patrick
On Sun, Oct 14, 2012 at 10:55 AM, Boudjelda Mohamed Said
<bmscomp at gmail.com <http://lists.xwiki.org/mailman/listinfo/users>> wrote:
>/ Hi XWiki users
/>/
/>/ I wanted to add a jQuery library from CDN so I added <script> tag inside
/>/ {{html}} macro this way :
/>/
/>/ {{velocity}}
/>/ {{html clean="false"}}
/>/ <head>
/>/ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
/>/ "></script>
/>/ </head>
/>/
/>/ {{/html}}
/>/ {{/velocity}}
/
Note that whatever you put in the content of a wiki page the result is
inserted in the BODY tag of the final HTML page so generating the HEAD
tag in the content of a wiki page is wrong.
Your best option is to load the JavaScript and CSS dynamically
following this steps:
(1) Define a JavaScript/CSS extension. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
.
(2) For CSS you simply use @import. For JavaScript you listen to page
load and then inject a SCRIPT tags in the existing HEAD of the HTML
page.
document.observe('xwiki:dom:loaded', function() {
// Inject the script tag here.
})
(3) Whenever you need the JavaScript/CSS you use
{{velocity}}
#set ($discard = $xwiki.ssx.use('Space.PageWithSSX'))
#set ($discard = $xwiki.jsx.use('Space.PageWithJSX'))
{{/velocity}}
You may want to take a look at
http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers .
Also note that we're using Prototype.js in XWiki everywhere so you
need to handle the conflicts with jQuery.
Hope this helps,
Marius
>/
/>/ I could not use jQuery and it gives me this error in console.
/>/
/>/ Refused to execute a JavaScript script. Source code of script found within
/>/ request
/>/ Resource interpreted as Script but transferred with MIME type text/html:
/>/ "about:blank".
/>/
/>/ any way to use js libraries and css from CDN ??
/>/
/>/ Thanks
/>/ _______________________________________________
/>/ users mailing list
/>/ users at xwiki.org <http://lists.xwiki.org/mailman/listinfo/users>
/>/ http://lists.xwiki.org/mailman/listinfo/users
/
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Skype: massonpj
sip: masson(a)getonsip.com
<https://www.getonsip.com/call?a=masson@getonsip.com>
Ph: (970) 4MASSON
Em: masson(a)opensource.org <mailto:masson@opensource.org>
Ws: www.opensource.org <http://www.opensource.org>
Hi,
Would like to set a backgroundImage dynamically
(I have attached 25 jpg files to a page)
If I add this velocity code into my wiki page it works!
{{velocity}}
[[image:Photos.CdLSWorldbanners@${mathtool.random(1,
25)}.jpg||width="100%"]]
{{/velocity}}
If I add this same code in a stylesheet extension object:
#document-title{
background:transparent
url($doc.getAttachmentURL("Photos.CdLSWorldbanners(a)${mathtool.random(1,
25)}.jpg")) no-repeat scroll right center;
}
I get this result if I inspect the CSS in the browser:
background:transparent
url(/xwiki/bin/download/Sandbox/change%2Ddocument/Photos.CdLSWorldbanners%407.jpg)
no-repeat scroll right center
Any suggestions if this CAN work, and if possible; what am I doing wrong?
Gerritjan
Hi all,
I am having a problem with XWiki that is driving me crazy. It periodically
crashes--interval between crashes from a few days to a few weeks. There
are no errors in the log when it happens.
I am running XWiki enterprise 5.4.2 on Ubuntu, using Tomcat7, Postgresql,
and LDAP authentication.
I am getting errors like the following every hour in the log. I don't know
if this is related or not:
2014-02-23 07:00:00,198 [XWiki Solr index thread] ERROR o.a.s.c.SolrCore
- org.apache.solr.common.SolrException: ERROR:
[doc=xwiki:Scheduler.WatchListHourlyNotifier_] multiple values encountered
for non multiValued field class: [XWiki.SchedulerJobClass,
XWiki.WatchListJobClass, XWiki.XWikiRights]
at
org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:243)
at
org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCommand.java:73)
at
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:208)
at
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
at
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
at
org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:432)
at
org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:557)
at
org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:325)
at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:230)
at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
arch.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:60)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:401)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.runInternal(DefaultSolrIndexer.java:374)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131)
at java.lang.Thread.run(Thread.java:724)
2014-02-23 07:00:00,199 [XWiki Solr index thread] ERROR
o.x.s.s.i.DefaultSolrIndexer - Failed to process entry [INDEX
xwiki:Scheduler.WatchListHourlyNotifier()]
org.apache.solr.common.SolrException: ERROR:
[doc=xwiki:Scheduler.WatchListHourlyNotifier_] multiple values encountered
for non multiValued field class: [XWiki.SchedulerJobClass,
XWiki.WatchListJobClass, XWiki.XWikiRights]
at
org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:243)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdaarch.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:60)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:401)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.runInternal(DefaultSolrIndexer.java:374)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131)
at java.lang.Thread.run(Thread.java:724)
teCommand.java:73) ~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06
03:05:35]
at
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:208)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:432)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:557)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:325)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:230)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1699)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:150)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
~[solr-solrj-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:44]
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
~[solr-solrj-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:44]
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
~[solr-solrj-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:44]
at
org.xwiki.search.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:60)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:401)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.runInternal(DefaultSolrIndexer.java:374)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131)
~[xwiki-platform-legacy-oldcore-5.4.1.jar:na]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
Thanks very much for your help.
Best regards,
Dan Thayer
--
Research Analyst
Health Information Research Unit
ILS2 Building 2nd Floor
Swansea University
Singleton Park
Swansea SA2 8PP
+44 (0)1792 602 766
Hi everybody.
Thank you for being so helpful.
I was using Xwiki StandAlone installation(.exe) for testing purpose, but
yesterday I decided install a Xwiki ready for production.
Everything was OK, except the Sucess and Error Macros.
In Version 5.3:
http://i.imgur.com/F03E13y.jpg
In Version 5.4
http://i.imgur.com/TUw8RD9.jpg
It appears to be some kind of CSS problem or something similar.
I'm not sure it's a bug or not. Let me know if I must create a Issue on
Jira.
I'm running Xwiki 5.4(latest) on Windows 7 32-bit(.war package) with tomcat
and mysql.
Thank you.
Hello,
A new error message just appeared in the logs of my xwiki instance (3.5).
This is the message :
2014-02-27 18:06:49,307 [Statistics storing daemon] ERROR
.x.x.s.i.x.VisitStatsStoreItem - Failed to save visit statistics object
[class com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem XWiki.XWikiGuest
10.210.105.105Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64;
Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.1; Microsoft
Outlook 14.0.7109; ms-office; MSOffice 14)
PFEBDVUTJS84C531ZDS26WMNMKJWK1EQ]
It seems this is an old issue, see:
http://xwiki.markmail.org/thread/sob63ol6csslbfqs
But I find nothing in Jira about this subject. Do I have to create one ? Is
this issue still present in the last version of XWiki ?
Thanks for your advice.
Maxime
I am trying to setup a wiki template that contains a menu. In the menu I
want to create a link to Main.WebHome of the root wiki. I have tried:
[[Wiki Home>>Home:Main.WebHome]]
[[Wiki Home>>localhost:Mian.WebHome]]
I tried the 2nd one because localhost is listed as the alias for the root
wiki. Unfortunately neither of these worked. Can anyone tell me the
correct syntax to use?
I am using XWiki 5.4.1 on Ubuntu with MySQL and Tomcat 7. I just did the
vanilla deb install. I have not change the main wiki name or alias.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-Syntax-2-1-Link-to-root-wiki-tp7589…
Sent from the XWiki- Users mailing list archive at Nabble.com.