Hi all,
After migration from XWiki 1.5 to 1.8.4, I also migrated all my existing
blog documents to the new blog system (through page Blog.Migration).
Everything seem to have been well migrated, except that major part of my
existing Blog documents were not visible anymore, though pages and objects
were existing in database.
When publishing a new blog post also, while saved to database (and
visibility and publication checked), it's not visible in Blog.WebHome or
Blog.Archive.
I eventually found that field "XWD_HIDDEN" in table "xwikidoc" was set to
"b'1'" (?) for all my not visible blogs. Setting this field back to "null"
make all this documents suddenly appear normally.
But again, when publishing a new blog post, or after restarting tomcat
container, major part of the flags are set back to "b'1'" value and then
disappear ...
Also, the categories by default (News, ...) are not available, as well as
any category I would create, when creating a new blog post.
Am I missing something ?
Context : xwiki 1.8.4 (war and .xar imported), tomcat 5.5.20, linux redhat
4, mysql 5.1.
Thanks & regards,
Jeremie
--
View this message in context: http://n2.nabble.com/1.8.4-%3A-issues-with-new-blog-post-system-tp3018279p3…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
when I try to go to http://localhost:8080/xwiki/bin/view/Main/, Tomcat
throws an exception:
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: could not execute query
Looking at the Tomcat logs, I find 2 errors in Catalina.out:
1)
2009-06-07 10:28:04,363 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] ERROR store.XWikiHibernateBaseStore - Failed updating
schema while executing query [create table feeds_aggregatorgroup
(agg_id integer not null, agg_name text, primary key (agg_id))]
java.sql.SQLException: Can't create table 'feeds_aggregatorgroup' (errno: 13)
[...]
2)
2009-06-07 10:28:04,420 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1017,
SQLState: HY000
2009-06-07 10:28:04,420 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] ERROR util.JDBCExceptionReporter - Can't find file:
'./xwiki/xwikidbversion.frm' (errno: 13)
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load
class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Thanks.
Hi,
Following the instructions given at http://www.malisphoto.com/tips/tomcatonosx.html
, I was able to get my Tomcat container started
as daemon. I already put the Xwiki WAR file in the 'webapps'
directory. Pointing the browser to http://localhost:8080/xwiki only gave
me a blank page. Nothing on it. However manually starting Tomcat
brings me back the correct behavior (the well known Xwiki starting
page).
In the daemon mode, the others contexts (like 'manager', 'examples')
work. Only the Xwiki one did not. What am I doing wrong? Does
anyone already have some experience with a Xwiki in a daemon started
Tomcat container? Attached, you will find the 'jsvc' processes
started and 'catalina.out'. Tell me if you need more information.
Many thanks for you help,
christian
Hi list,
I am trying to insert some ajax on my wiki, but i am facing an issue
with character escaping :
I'm trying to have this :
<td><p id="1,0,0,0,3status"> Todo </p><script type="text/javascript">
new
Ajax.InPlaceCollectionEditor('1,0,0,0,3status','/xwiki2/bin/edit/Project/plannerv2?xpage=assignStatus&id=1,0,0,0,3',{
collection:['Todo','In progress','Dev done','Done'], ajaxOptions:
{method: 'post'} });</script></td>
What I can get is either replacing the [ character with its html code
(using the escaping character) or having xwiki rendering a link.
No success having what i wanted.
I am using xwiki version 1.5 (so syntax 1.0)
So my question is : is there a way to escape a character without getting
its html code ?
Thanks in advance
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hi guys,
I was just wondering if it is possible to install xwiki on a web host I
am paying for. It basically offers me CPanel.
I've been using xwiki on my home computer and love it, but would really
like to be able to use it where ever I go.
I hope this is possible!
Cheers,
Josh
I've seen references in a number of places for confuence support in xwiki.
I have some confluence pages I'd like to convert to xwiki and wonder how
this can be done. Is there a special plugin or converter needed?
Thanks for any help,
Glenn
These pages make reference to disabling the HTML macro, but I am
struggling to find out exactly how to do this - any pointers? I'm
running 1.8.2.
http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
"Admins of a XWiki installation will be able to prevent using the XHTML
macro for example (for security reasons) by disabling the macro."
http://massol.myxwiki.org/xwiki/bin/view/Blog/XWiki
"It also provides security control to wiki admins if they want to
prevent users from entering HTML (and thus potentially harmful javascript)."
Thanks,
Chris
First of all, thank you for your answer.
I tried to change the type of Editor to WUSIWYG, but even after the change, the field appears like this one :
(∗) TXProblema:
I have been using public java.lang.String display(java.lang.String fieldname,
java.lang.String mode) with mode = "edit" in order to display the field
I already tried mode = "inline", but nothing happens
My problem is just that I need the embedded html editor.
When I call the page in inline mode, it shows every field in inline mode along with many different buttons, what I do not want, because I want to have only one button(my own button) to save the page content, so this is the reason I want only one field(of the type Text Area) in inline mode.
Thank you in advance.
--- Em qua, 3/6/09, jerem <jeremie.bousquet(a)gmail.com> escreveu:
De: jerem <jeremie.bousquet(a)gmail.com>
Assunto: Re: [xwiki-users] How to display in inline mode, only an specific field from a class
Para: users(a)xwiki.org
Data: Quarta-feira, 3 de Junho de 2009, 11:58
If I understood well, I think you should be able to do it by updating the
characteristics of your text fields in your class : you can choose the
"Editor" to use (Text, PureText or WysiWyg). Choose wysiwyg to have the html
editor, and text or puretext for standard text field.
To display a field have a look to the javadoc (Document.display() methods)
I.E. :
public java.lang.String display(java.lang.String fieldname,
java.lang.String mode,
Object obj)
Here mode can be 'edit' or 'view' ... (I don't know all possible values).
--
View this message in context: http://n2.nabble.com/How-to-display-in-inline-mode%2C-only-an-specific-fiel…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
Hi
I've modified http://localhost:8080/xwiki/bin/view/XWiki/XWikiSkins
with the class editor.
I've used the Add Property Panel to add a property "toucan.css" of
type TextArea
In the editor i set the size of the property to 100000 (toucan.css is
a very large file)
I've tried to set the type to PureText and FullyRendered...
THen I modify the default skin on http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object&classn…
I copy and paste the content of the original toucan.css in the toucan
field
Try to save but:
problem occurred while trying to process your request. Please contact
the webmaster if this happens again.
Detailed information:
Error number 3201 in 3: Exception while saving document
XWiki.DefaultSkin
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.LargeStringProperty#
=> The complete toucan.css
and the rest of the error
]
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:
2412)
at
org
.hibernate
.persister
.entity
.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:
2312)
at
org
.hibernate
.persister
.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:
2612)
at
org
.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:
168)
at
org
.hibernate
.event
.def
.AbstractFlushingEventListener
.performExecutions(AbstractFlushingEventListener.java:298)
at
org
.hibernate
.event
.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:
27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:
106)
at
com
.xpn
.xwiki
.store
.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:
852)
at
com
.xpn
.xwiki
.store
.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:
823)
at
com
.xpn
.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:
589)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:
135)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:
128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1283)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:176)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org
.apache
.struts
.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org
.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
269)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:
145)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:111)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.web
.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:
295)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com
.xpn
.xwiki
.web
.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
112)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
172)
at
org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
117)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
875)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org
.apache
.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org
.apache
.tomcat
.util
.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:613)