I would like to change the way News RSS feed works. I would like the entire post sent instead of just an excerpt. What is the best way to accomplish this?
There is zero documentation on what kind of spreadsheet functionality
works in XWiki tables. The only documented thing is SUM and it is
also the only thing I can get to work. Even simple things like
=(Address - Address) makes XWiki throw an exception on render.
Is there documentation somewhere that explains what can be done in
tables? Or is SUM about the, um, sum of it? I just wanted to have
one cell subtracted from another cell... is this possible?
I have an attachment that I would like to reference from multiple pages.
Is there a way to do that with the normal {attach:name} syntax? (something
like {attach:Space.name}, but that doesn't work). Thanks ...
shawn.
I'm having some trouble figuring out the virtual wiki configuration. I
followed the documentation as best I could, but I think I missed something.
1. I created the XWiki.XWikiServerClass using the code from xwiki.com and
added the "server" and "owner" fields.
2. I created XWiki.XWikiServerForm and XWiki.XWikiServerTemplate also based
on the code from xwiki.com.
3. I added an instance of the XWikiServerClass to XWikiServerTemplate.
4. I used the built-in form in XWiki.ServerClass to create a new server named
"RailPhotos" and filled in the "server" and "owner" fields. Server was set
to "railphotos.myserver.com" while owner was set to "XWiki.Admin". The
document created was XWiki.XWikiServerRailPhotos.
5. I enabled xwiki.virtual=1 in the configuration and restarted the server.
6. I created a database in MySQL named "RailPhotos" and populated it with
some data. The xwiki user has privileges on the database.
I then pointed my browser at railphotos.myserver.com and was greeted with the
following error:
-----
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 2 in 0: The wiki railphotos does
not exist
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
root cause
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki railphotos does
not exist
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:241)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
--
"Any sufficiently advanced technology is indistinguishable
from magic." -- Arthur C. Clarke
--
Brian D. Switzer
email: herkamur [at] canada [dot] com
web: http://bswitzer.railfan.net/
A start?
------- Forwarded message -------
From: "Marcelo Finkielsztein" <mfinky(a)gmail.com>
To: public-evangelist(a)w3.org
Subject: Fwd: Hippocratic Oath for Webmasters
Date: Mon, 28 Nov 2005 11:36:10 -0000
Hi,
I would like to see specific reference about spyware. Does point number 3
cover that?
Marcelo.
---------- Forwarded message ----------
From: Martin Poulter <M.L.Poulter(a)bristol.ac.uk>
Date: Nov 22, 2005 9:49 AM
Subject: Hippocratic Oath for Webmasters
To: public-evangelist(a)w3.org
Hello everybody,
I one of a small group of professional webmasters in the UK who
have regular physical meetings. We are trying to codify and promote best
practice. I am used to referring people to the W3C's QA efforts,
including the QA Tips page and TimBL's writings in
http://www.w3.org/Provider/Style/ .
However, the QA tips are not ideal for our purposes. They are
addressed to authors and webmasters. We want a statement of best
practice that is intelligible to users (so they recognise that someone is
working to make the web easier for them) and managers (so they
understand why we spend time working to achieve this). This led to the
idea of a "Webmaster Pledge", written as a letter to a user.
This is not a badge that requires a judging panel to enforce
it: I'm not revisiting "Top 5% of web sites". This is more like Buddhist
ethical codes ("I undertake to refrain from...") or maybe the Hippocratic
Oath.
After an initial brainstorming session, I've boiled down a
ten-point, 300-word pledge, which I've included at the foot of this
email. As you can imagine, it's very hard to make something that is in
plain English, technically correct, challenging, attainable and
non-presumptive about the nature of the site (educational, commercial,
personal...) being discussed. For instance, we say that URLs
should be bookmarkable, rather than URIs, because there might be
one-shot URIs used legitimately in some applications such as
e-commerce, but more importantly because the nontechnical audience is
more likely to recognise the term "URL".
A temporary site for the pledge, with annotations and more
background, has been created here:
http://www.economicsnetwork.ac.uk/cgi-bin/wiki.pl/Webmaster_Pledge
I've joined this list because I'd be interested in:
* Comments on the idea of a webmaster pledge
* Suggestions on any important topics that have been missed out
* Improvements to the form of words we have so far (especially ways to
make the first item succinct)
Thanks in advance for comments of any nature.
Webmaster Pledge v0.3
Authored by the HE Academy Technical Group, edited by Martin Poulter
1. Pages on our site will have a clear, consistent structure that lets
you find and use the content no matter whether you are using a
graphical, text-only, speech browser, mobile device or even reading the
page on a printout. Although we cannot guarantee a site will work on all
past, present and future browsers, we aim to be usable with all current
browsers and operating systems.
2. Content on our site will have meaningful URLs and be bookmarkable. If
we move or delete documents, the old URL will be redirected to a
relevant part of the site.
3. Our site will not break the controls on your web browser.
4. Links will give you a reasonable idea of what will happen when you
click on them, and warn you if it requires a large download or a helper
application.
5. We will regularly check for and replace broken links. Content that
isn't marked as archived or given a definite date will be regularly
checked.
6. The document content of the site will be searchable in a way that
supports multiple terms, phrases and combinations of terms. Search
results will show you the location of each file and its relevance to
your search terms.
7. We will not hold personal information about you without your express
permission.
8. We will never show you a bare error message. If there is an error
(e.g. incorrect password, mistyped link), you will be told what the
problem is and what you can do next.
9. We will not make content difficult to read with superfluous music or
animation or intrusive advertising.
10. When you use our site for a transaction, such as making a purchase
or creating a personal account, it will be clear at which stage you are
and what remains to be done.
More explanation of this version at
http://www.economicsnetwork.ac.uk/cgi-bin/wiki.pl/Webmaster_Pledge_v0.3
--
Dr Martin L Poulter Senior Technical Researcher, ILRT, Bristol, UK
Research interests: Philosophy of belief and Bayesian inductive logic
The full experience: http://www.weird.co.uk/martin/
Community blog: http://www.weird.co.uk/blog/
Politics wiki: http://www.infobomb.org/
--
Jim Stuttard
Hello,
Firstly, i'd like to thanx the xwiki team for their great product, i'm
really enjoying it.
One question:
Why couldn't i find my webspace http://chercheursterritoires.xwiki.com
when i look for it into google?
Regards,
Fabien
Hi.
I've tried to upgrad my xwiki within versions mentioned in subject. I've
set xwiki.store.hibernate.updateschema=1 in xwiki.cfg and... upgrade
(probably) failed. Xwiki seems to work as before, but there is an error
in catalina.out; I suppose it has something to do with schema change and
I suppose I will have problems in the future if I ignore it now, right?
Do you have any ideas what could be wrong?
This is the error message.
INFO: Server startup in 4316 ms
11:04:00,629 WARN TP-Processor3 RequestUtils:createActionForm:177 - No FormBeanConfig found under 'view'
11:04:02,159 WARN TP-Processor3 https://xwiki.biuro.contium.pl/xwiki/bin/view/Main/WebHome Configurator:configure:126 - No configuration fou
nd. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/www/xwiki-0.9.840/WEB-INF/lib/ehcache-1.1.jar!/ehcach
e-failsafe.xml
11:04:04,292 ERROR TP-Processor3 https://xwiki.biuro.contium.pl/xwiki/bin/view/Main/WebHome XWikiHibernateStore:updateSchema:177 - Schema upd
ate for wiki xwiki
java.lang.IllegalArgumentException: Illegal pattern character 't'
at java.text.SimpleDateFormat.compile(SimpleDateFormat.java:678)
at java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:497)
at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:462)
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:2780)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:646)
at gjdk.com.xpn.xwiki.api.XWiki_GroovyReflector.invoke(XWiki_GroovyReflector.java)
at groovy.lang.MetaMethod.invoke(MetaMethod.java:110)
at groovy.lang.MetaClass.doMethodInvoke(MetaClass.java:1395)
at groovy.lang.MetaClass.invokeMethod(MetaClass.java:318)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:143)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:84)
at Script1.run(Script1.groovy:70)
at com.xpn.xwiki.render.groovy.GroovyTemplateEngine$1.writeTo(GroovyTemplateEngine.java:255)
at com.xpn.xwiki.render.groovy.GroovyTemplateEngine$1.toString(GroovyTemplateEngine.java:268)
at com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.evaluate(XWikiGroovyRenderer.java:94)
at com.xpn.xwiki.render.groovy.XWikiGroovyRenderer.render(XWikiGroovyRenderer.java:128)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93)
at com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:220)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
hello,
i'm in china. And we need to work with a developpement team in france
for a school project on a wiki. But the web in our university is very
slow and it's a pain to access to french website.
Is it possible to setup a wiki server in china and one in france using
the XWiki P2P?
Jérémi
--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23(a)gmail.com
hi.
i solved the problem by copying the propertie-files into the folder.
the script now executes without any errormessage.
but no data is written into the remote database.
i think i have to add the jdbc-drivers(oracle 10g) somewhere to the
env.sh file, right?
my os is linux, the server's running linux too and the remote oracle db
is 9i.
florian
On Tue, 2005-11-15 at 00:33 +0100, Erwan Arzur wrote:
> it looks related to your locale settings. Could you be a bit more
> specific about the environment ?
>
> O/S, oracle version ?
>
> You cant try to unset the LANG environment variable ?
>
> Erwan
> On 11/9/05, Florian Astl <divil(a)aon.at> wrote:
> hi!
>
> i'm trying to import a database into an oracle database as
> described on
> http://www.xwiki.org/xwiki/bin/view/AdminGuide/Backup#Import
> using the latest svn code.
>
> this is the errormessage i get:
>
> > ./import.sh
> > Starting import
> > Starting xwiki
> > log4j:WARN No appenders could be found for logger
> (com.xpn.xwiki.store.XWikiCacheStore ).
> > log4j:WARN Please initialize the log4j system properly.
> > Import database xwiki
> > Reading documents
> > Installing documents
> > Caught: java.util.MissingResourceException: Can't find
> bundle for base name ApplicationResources, locale
> > at
> xwiki.export.import.run(/home/florian/Desktop/backup/import.groovy:0)
> > at
> xwiki.export.import.main(/home/florian/Desktop/backup/import.groovy)
>
> is there any way to solve this?
>
> thanks in advance,
> florian
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the
> xwiki-users(a)objectweb.org mailing list.
> To unsubscribe: mailto: xwiki-users-unsubscribe(a)objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
>
>
Hi folks,
Mainly just for playing around, I installed xwiki on my Windows XP desktop.
I'm using the SDK 1.4.2_10, MySQL 5, and the latest release of xwiki (
0.9.840). Oh, and Tomcat v. 4.1.
Got the database goin OK, and Tomcat, and put xwiki in the webapps dir., but
when I try to browse to, e.g., http://localhost:8080/xwiki/bin/view/WebHome,
I get a very long error (included after my signature), the crux of which
seems to be "Could not execute JDBC batch update".
Per the suggestion on the install page, I have tried moving the jta.jar file
either into .../webapps/xwiki/WEB-INF/lib or into .../common/lib (the main
Tomcat library directory). If I move xwiki's jta.jar into Tomcat's, I simply
get connection refused errors. If I move Tomcat's jta.jar into xwiki's,
every URL shows up as unavailable.
Any clues what the problem might be?
--JB
Hi All,
I'm a new user in xwiki and i recently installed it.
One error appeared in the "news" in the main page. The error is:
Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invocation of method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception class com.xpn.xwiki.XWikiException : Error number 3223 in 3: Exception while searching documents with sql , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ArticleClass' and obj.name<>'XWiki.ArticleClassTemplate' order by doc.creationDate desc Wrapped Exception: could not execute query
Probabily it isn't only in the news page but in another place too.
Does anyone knows how to correct it?
Thank's in advance
Ivan Koga
Hi,
I am having such trouble importing the mysql dump 0.9.2 into my mysql
database.
I am working from the installation instructions found at xwiki here:
[http://www.xwiki.org/xwiki/bin/view/AdminGuide/Linux+Tomcat+MySQL]
I have successfully created an xwiki database instance in my mysql database,
created the user and granted the user rights over the xwiki database.
The instructions indicate that next I should Download the xwiki-db .zip file
and use it to import the required data into my xwiki database using the
example command line command as shown.
[Download xwiki-db-x.zip and unzip it. Import the mysql dump into the
'xwiki' database using "mysql -u xwiki -pxwiki xwiki < xwiki-db-x.txt" from
command prompt]
First problem is that the xwiki-db.0.9.2.zip file contains a .sql file, not
a .txt file. I assume that the instructions have not been updated to reflect
with the new mysql database dump.
Secondly I am unable to import this data into my mysql database. I am
running Suse9.1 and mysql Ver 12.22 Distrib 4.0.18.
I tried the above instruction, to import the dump as:
mysql -u xwiki -pxwiki xwiki < xwiki-db-0.9.2.sql
I get this error
ERROR 1064 at line 21: You have an error in your SQL syntax. Check the
manual that corresponds to your MySQL server version for the right syntax to
use near 'DEFAULT CHARSET=latin1' at line 11
I tried to do a mysqlimport but this would obviously never work since "The
base name of the text file must be the name of the table that should be
used."
I get an error
mysqlimport: Error: Table 'xwiki.xwiki' doesn't exist, when using table:
xwiki
I have also tried the mysql control center without much success. It also
complains about the SQL sytnax.
Any assistance would be greatly appreciated.
Many thanks
Moloch.
Hello
I've just installed xwiki 0.9.840 on SUSE-Linux 9.0 with mySql 4.0.15
and tomcat 4.1.27. That worked fine. xwiki runs well and realy seems to
be a great product! But one thing "drives me crazy" :
The Bug XWIKI-181:
When editing Menu and Toolbar changes are reflected on save, but on
reediting original content is presented not the previous one.
Example:
Original Toolbar content: 1.1 Search
Change it to : 1.1 Search for.
Save it: I see "Search for" in render view
Edit page again, I see "1.1 Search" no "1.1 Search for".
This Bug comes with every edit-dialog. I woud like to create my
xwiki-content but with this bug this is simply not possible. Even a
tomcat-restart or a "xwiki-cache-flush" doesn't help :'(
Is there some kind of "work around"?
Greetings
Ralph
Does anyone have any suggestions for me on what I might be missing getting xwiki integrated with my open-ldap?
I've added the following to xwiki.cfg, then no users (including Admin) have the ability to log in. I've tried both existing xwiki users and non-existing xwiki users, and neither work:
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=ldaphost
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=ou=People,dc=mydomain,dc=com
xwiki.authentication.ldap.UID_attr=uid
My LDAP administrator didn't think I needed any settings for the following configuration options, so these are currently commented out:
> #xwiki.authentication.ldap.check_level
> #xwiki.authentication.ldap.bind_DN
> #xwiki.authentication.ldap.bind_pass
> #xwiki.authentication.ldap.fields_mapping
Any assistance is appreciated.
Hi
I just installed xwiki 0.9.840, my environment is Tomcat 5.5.9 and MySQL 5.0.15 with the latest JDBC-Connector. I got the following exception. I searched around but did not find a solution.
Any ideas ?
12:06:22,311 ERROR http-8080-Processor25 http://localhost:8080/xwiki/bin/view/Main/WebHome AssertionFailure:<init>:22 - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:68)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
at com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernateStore.java:350)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:982)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:209)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:93)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:268)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Kind regards
André
Hi
I'd like to attach big document to a XWiki page. But If the doc is bigger than
1MB it fails with the following message :
java.sql.BatchUpdateException: Packet for query is too large (2152630 >
1048576). You can change this value on the server by setting the
max_allowed_packet' variable.
It seems that it exists a parameter to allow the insertion in the database of
document bigger that 1 048 576 B.
Does someone know where I should add this param ?
BTW, I use MySQL 4.1 over GNU/Linux.
Thanks in advance
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Phone: +33 4 76 61 52 35
Hi
I'd like to add in a form the possibility for users to upload file. My form
look like this one :
<form action="" enctype="mutipart/form-data" method="post">
<input type="text" name="submitter" />
<input type="file" name="file" />
<input type="submit" />
</form>
The problem I have is with xWiki to get the data from the $request object and
handle them by using Velocity. After I'd like to store the uploaded file as
attachment in a document.
If someone of yours have already done that I'm interesting in getting a such
example.
By the way, I've noticed that there is a plugin called FileUpload in XWiki. I
think it would be great to use it because uploaded file handling is not
really handy, but I don't know how to use it within the wiki.
Thanks.
--
Xavier MOGHRABI - Consortium ObjectWeb
Email: xavier.moghrabi at objectweb.org
Hi,
I would like some direction in learning to understand things like this (code I found in your demo database):
#set($obj = $doc.getObject("XWiki.FAQClass","language",$language, true))
#set($class = $obj.xWikiClass)
#foreach($prop in $class.properties)
1.1 ${prop.prettyName}:
$doc.display($prop.getName(), "rendered", $obj)
<br />
#end
...will I have to look at the code to understand usage on things like "XWiki.FAQClass.properties" in my scripts? Or is there another resource?
The above works, but what I really want to do is modify that code to loop thru the objects present in a "table" such as "Blog.Categories" that came with demo.
...But in a nested loop:
#set($obj = $doc.getObject("XWiki.MyTable","language",$language, true))
#set($class = $obj.xWikiClass) <--- what is this?
#foreach(...object in that class??...)
1 ${...thatObject.Name}
#set ($sql = ", BaseObject as obj where obj.name=CONCAT(XWD_WEB,'.',XWD_NAME) and obj.className='Csdg.ArticleClass' and obj.name<>'Csdg.ArticleClassTemplate'")
#foreach ($item in $xwiki.searchDocuments($sql))
#set($bentrydoc = $xwiki.getDocument($item))
#set($bentryobj = $bentrydoc.getObject("Csdg.ArticleClass", "language", $language, true))
#if (${bentrydoc.display("audience","view", $bentryobj)} == "Users")
* [$item]
#end
#end
#end
...I'm not sure how much help to expect with this, but any comment would be great.
thank you in adv.
-Ken
Can someone advise me what happens if you create a wiki page named such as:
Myspace.subspace1.subspace2.document?
Does this represent a page named "document" in the space Myspace.subspace1.subspace2 ?
Or a page named subspace1.subspace2.document in a space called Myspace?
I understand of course that xwiki doesn't have a concept of nested spaces in the true sense, i.e. access rights on Myspace would not 'flow through' down the line through multiple child spaces.
Thanks,
Milt
Hello everybody!
I'm try to using XWiki 0.9.840 in the own projects, but have a lot
of problem with Russian text. Maybe I do something wrong, so please
help me if possible.
I'm using KOI8-R encoding in XWiki. Russian text is edited and
viewed correctly.
1. But it's impossible to search on the Russian - search box
contains "????" after Sumbit. Looks like incorrect encoding is used.
2. When I try to use Lists Syntax - it's not working at all. Some
lines are displayed as bold, some lines as regular text.
3. It's impossible to create new page with Russian name. It's always
saved as "?????".
Thank you for your comments!
--
Best regards,
Andrey mailto:voland@udm.ru
Youcef,
> Convert your data encoding to utf-8, the procedure to configure utf-8 under
> xwiki it is well explained (I dont remember the link, but try to find it).
> All PB with encoding will be solved for each language!
thank you for quick response, but can't agree with you. I tried to
use UTF-8 - the same problems with search and page naming.
btw, how-to for UTF-8 is not very well in "database" part. For
instance, text "change the mysql encoding to UTF-8 (check it using
"show variables")" should be replaced by following instruction
(based by my experience):
1. (For MySQL 4.1.x) Create database with default UTF-8 encoding.
Example: CREATE DATABASE xwiki DEFAULT CHARACTER SET utf8;
2. Add these lines to WEB-INF\hibernate.cfg.xml (don't know, why
team suggest to use my.cnf setting for this instead of configure a
DB pool connection):
<property name="connection.characterEncoding">utf8</property>
<property name="connection.useUnicode">true</property>
>> Hello everybody!
>>
>> I'm try to using XWiki 0.9.840 in the own projects, but have a lot
>> of problem with Russian text. Maybe I do something wrong, so please
>> help me if possible.
>>
>> I'm using KOI8-R encoding in XWiki. Russian text is edited and
>> viewed correctly.
>>
>> 1. But it's impossible to search on the Russian - search box
>> contains "????" after Sumbit. Looks like incorrect encoding is used.
>>
>> 2. When I try to use Lists Syntax - it's not working at all. Some
>> lines are displayed as bold, some lines as regular text.
>>
>> 3. It's impossible to create new page with Russian name. It's always
>> saved as "?????".
>>
>> Thank you for your comments!
--
Best regards,
Andrey mailto:voland@udm.ru
We set up the xwiki using the sample database, and it works fine, but on the java console there are lots of exceptions at startup time concerning objects not found. Firstly, is this normal? How do you clean up the object store so these don't happen?
Thanks again...
Hi,
I just want to change the copyright notice. We have XWiki 0.9.840. I have Admin rights. This is what I did:
1 create brand new space by linking to it from elsewhere: [Research.Proposals]
2 hit ? to create that page ...view/Research/Proposals
3 Select more actions/Space Preferences/Presentation
4 All fields are shown empty. I assume this is interpreted as "use XWiki preference for this field"
5 I write "Copyright <company name>" in the copyright field
6 Hit Save Preferences
7 Go to page just created and reload.
Result: copyright notice still not changed in that space. Am I doing something wrong? I'd appreciate your help
--jose