Is it possible to create multilingual Pages for the FAQ Application?
My test xwiki (8.2.1) is set to multilanguage=yes; supported languages=en,de ; default language=en
If I create a new FAQ question, the WXSIWYG Editor does not provide the ability to translate the page (because it defaults to inline form edit)
If I open the page in wiki syntax mode, the translation options appear on the right side panel. I may switch language and translate the Page Title but the translated title is not displayed in view mode and furthermore the question content is not shown because it is stored in an FAQCode.FAQClass Object.
Are multilingual FAQs possible?
Thank you.
Created a new 8.2.1 wiki using mysql and tomcat 7 and initial user (created
by the distribution wizard) seems unable to create a new wiki despite being
part of the admin group, which was granted "create wiki" right and also
being given "create wiki" right in the administration app.
The salient error seems to be:
*Access denied for user 'xwiki'@'%' to database 'wikiweb'* (where wikiweb
was the new wiki name)
the 'xwiki'@'localhost' mysql user has all privileges on *.*, so this does
not seem to be the problem - could anyone shed any light on what the problem
might be or what I could look at?
Thanks
Tim
The full set of error messages are below:
Starting job of type [wikicreationjob] with identifier
[wikicreation/createandinstall/wikiweb]
Access denied for user 'xwiki'@'%' to database 'wikiweb'
class org.xwiki.platform.wiki.creationjob.WikiCreationException: Failed to
execute creation steps on the wiki [wikiweb].
at
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:102)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: class org.xwiki.platform.wiki.creationjob.WikiCreationException:
Failed to create the wiki [wikiweb].
at
org.xwiki.platform.wiki.creationjob.internal.steps.CreateWikiStep.execute(CreateWikiStep.java:54)
at
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:96)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: class org.xwiki.wiki.manager.WikiManagerException: Failed to
create database for wiki "wikiweb"
at
org.xwiki.wiki.internal.manager.DefaultWikiCreator.create(DefaultWikiCreator.java:69)
at
org.xwiki.wiki.internal.manager.DefaultWikiManager.create(DefaultWikiManager.java:88)
at
org.xwiki.platform.wiki.creationjob.internal.steps.CreateWikiStep.execute(CreateWikiStep.java:52)
at
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:96)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: class com.xpn.xwiki.XWikiException: Error number 3401 in 3:
Exception while create wiki database wikiweb
at
com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.java:338)
at
com.xpn.xwiki.store.XWikiCacheStore.createWiki(XWikiCacheStore.java:629)
at
org.xwiki.wiki.internal.manager.DefaultWikiCreator.create(DefaultWikiCreator.java:67)
at
org.xwiki.wiki.internal.manager.DefaultWikiManager.create(DefaultWikiManager.java:88)
at
org.xwiki.platform.wiki.creationjob.internal.steps.CreateWikiStep.execute(CreateWikiStep.java:52)
at
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:96)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: class com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Access denied for user 'xwiki'@'%' to database 'wikiweb'
at sun.reflect.GeneratedConstructorAccessor167.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
at com.mysql.jdbc.Util.getInstance(Util.java:387)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:942)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2526)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2673)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
at
org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:291)
at
org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:291)
at
org.apache.commons.dbcp2.DelegatingStatement.execute(DelegatingStatement.java:291)
at
com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.java:320)
at
com.xpn.xwiki.store.XWikiCacheStore.createWiki(XWikiCacheStore.java:629)
at
org.xwiki.wiki.internal.manager.DefaultWikiCreator.create(DefaultWikiCreator.java:67)
at
org.xwiki.wiki.internal.manager.DefaultWikiManager.create(DefaultWikiManager.java:88)
at
org.xwiki.platform.wiki.creationjob.internal.steps.CreateWikiStep.execute(CreateWikiStep.java:52)
at
org.xwiki.platform.wiki.creationjob.internal.WikiCreationJob.runInternal(WikiCreationJob.java:96)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Finished job of type [wikicreationjob] with identifier
[wikicreation/createandinstall/wikiweb]
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-8-failure-to-add-new-wiki-Access-de…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, using the Document Tree Macro to display a tree of children pages of the current pages always generates a alphabetically sorted tree.
Is it possible to order the tree by the last edit timestamp of the pages (descending) or other criteria? Neither the Document Tree Macro nor the Tree Macro extension pages seem to say anything about "order" or "sort".
Thank you in advance
Mario
Hi
Is there a way to re-send the activation link/code to a user without having to delete and recreate the user account? I’ve already configured permissions for this user and I really don’t want to have to do it again please. I created several users and they thought it was wiser to not activate it at the time.
Kind regards,
Mahomed Hussein
Custodian Data Centre
Email: Mahomed(a)CustodianDC.com
http://www.CustodianDC.com
The new 4 templates in 8.2 are nice. But the view on mobile need to be
corrected, i think.. e.g. the contents section of encyclopedia template
should come at top but currently its at bottom when view on small screens. I
dont intend to change the template structure for large/ PC screens (they are
really good), but want to adjust for small screens.
How can i do that?
Also any help on 'how to reorganize content view on mobile' is appreciated.
--
View this message in context: http://xwiki.475771.n2.nabble.com/mobile-tablet-support-for-new-templates-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have started a Wiki on Windows Programming <http://nncnannara.net/> in a
new language called Hecsadecinnal <http://nncnannara.net/Html/Patent.html>.
It has code in the C# and C++ languages. I need syntax highlighting to make
the web site look respectable by modern standards. Does XWiki support
syntax highlighting?
Hello,
I am asking help on the matter of changing the left and right panel size of the XWiki i've installed. I'm using a war installed Xwiki 8.1 with a flamingo theme. So far from what I've gathered is
that usable panel sizes are small, medium and large. What I'm looking for is something between small and medium. Is there a .vm or a .css file in the WAR package where I can modify
the width of the panels manually? Or is there some other way to more precisely alter the width of the panels?
Thanks in advance,
Rudi
________________________________
T?m? s?hk?postiviesti (liitteineen) saattaa sis?lt?? luottamuksellista tietoa, joka on tarkoitettu
vain vastaanottajalleen. Jos et ole oikea vastaanottaja, ilmoita viestin l?hett?j?lle tapahtuneesta
virheest? ja tuhoa viesti v?litt?m?sti. Viestin luvaton julkaiseminen, kopioiminen, jakelu tai muu
k?ytt? tai toimenpiteisiin ryhtyminen sen perusteella on ehdottomasti kielletty.
This message (including any attachments) may contain confidential information intended for
the person or entity to which it is addressed. If you are not the intended recipient, notify the
sender and delete this message immediately. Notice that disclosing, copying, distributing or any
other use of the message and its information, or taking any action based on it, is strictly prohibited.
________________________________
Hi, Tom,
Depends how you`ve deleted the Admin user.
If you`ve just sent it to the recycle bin, then going on the
http://<server>/xwiki/bin/view/XWiki/Admin
page should show you the option to restore the profile page from recycle
bin.
If no such option exists (and you`ve deleted it from the recycle bin as
well), the you have to recreate it. Just go to the same page, press the +
(create page) button, make sure "Terminal page" is checked and hit
"create", then "save". After that, go into object edit mode on the same
page and add an object of the class XWiki.XWikiUser. Hit "Save" and the go
into view mode where it should start looking like a user profile page
again. The next thing would be to reset its password so that you can then
log in with it at some point.
Another option (instead of recreating it) would be to completely restore it
by manually re-import just the XWiki.Admin page from the UI XAR, but I
would need to know what exact XWiki version you have so I can give you the
right link.
Thanks,
Eduard
On Tue, Aug 16, 2016 at 12:31 PM, Tom Neumann <tom.neumann(a)outlook.de>
wrote:
> Hi Eduard,
>
> thanks for your help!
> How can I recreate the user if the macros don't work at that point?
> It does not seem to work out.
>
> Thanks,
> Tom
>
> > From: enygma2002(a)gmail.com
> > Date: Tue, 16 Aug 2016 12:25:05 +0300
> > To: users(a)xwiki.org
> > Subject: Re: [xwiki-users] failed to execute velocity macros
> >
> > Hi,
> >
> > Deleting the XWiki.Admin user is not a good idea. It is generally used as
> > the last author and content editor of pretty much all the default XWiki
> > documents, most of them containing scripts. A script can only execute if
> > its last content author has the SCRIPT right. If that author is deleted,
> > then the script also loses its right to execute. So it does not matter
> what
> > user you use to *see* the script, but what user you used to *save* the
> > script (thus granting it the rights of this last user/author).
> >
> > My suggestion is that you undelete/recreate the XWiki.Admin user (easiest
> > option) and then disable it (i.e. mark it as inactive to not allow it to
> > log in), if you don`t want to use it. This way the old scripts inside
> wiki
> > pages will resume functioning.
> >
> > Note that this is not only about the Admin user, so you need to be aware
> > that once you delete a user, you "revoke" the right of execution for any
> > scripts he might have authored. This is generally a good thing, but it
> can
> > also bite you, as you`ve seen.
> >
> > This extension might also be useful (but recommended only for users other
> > than XWiki.Admin):
> > http://extensions.xwiki.org/xwiki/bin/view/Extension/
> Change+Content+Author
> >
> > Hope this helps,
> > Eduard
> >
> > On Tue, Aug 16, 2016 at 11:38 AM, Tom Neumann <tom.neumann(a)outlook.de>
> > wrote:
> >
> > > Hi all,
> > >
> > > I've got a problem with my xwiki build right now.
> > > I configured LDAP and gave my LDAP user all the rights on the wiki,
> but I
> > > forgot to make him the owner of the wiki.
> > > After that I logged in with the LDAP user and deleted the old admin
> > > account and tried to set my LDAP user as owner of the wiki.
> > >
> > > Now every page shows this message:
> > > Failed
> > > to execute the [velocity] macro. Cause: [The execution of the
> > > [velocity] script macro is not allowed. Check the rights of its last
> > > author or the parameters if it's rendered from another script.]. Click
> > > on this message for details.
> > >
> > > Even the superuser account can't see the pages normally.
> > > What can I do? Is there a setting to give velocity macro rights to
> > > everybody?
> > > Or can I edit the database somehow?...
> > >
> > > Thanks,
> > > Tom
> > >
> > > _______________________________________________
> > > 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
>