OpenCms Learning Notes

Source: Internet
Author: User
Tags documentation

2017/9/1

In edit content section save times wrong:

Invalid expression: [BlackBerry 蓳 苾 gosausee 冡 竻-Gosausee 嘳
unmatched [] in expression.


id:1503563352743
Org.apache.oro.text.MalformedCachePatternException:Invalid expression: [BlackBerry 蓳 苾 gosausee 冡 竻-Gosausee 嘳
unmatched [] in expression.
Org.apache.oro.text.GenericPatternCache.getPattern (Unknown Source)
Org.apache.oro.text.perl.Perl5Util.substitute (Unknown Source)
Org.opencms.util.CmsResourceTranslator.translateResource (cmsresourcetranslator.java:182)
Org.opencms.loader.CmsDefaultFileNameGenerator.getUrlNameSequence (cmsdefaultfilenamegenerator.java:261)
Org.opencms.xml.content.CmsMappingResolutionContext.commitUrlNameMappings (cmsmappingresolutioncontext.java:168 )
Org.opencms.xml.content.CmsMappingResolutionContext.finalizeMappings (cmsmappingresolutioncontext.java:181)
Org.opencms.xml.content.CmsDefaultXmlContentHandler.prepareForWrite (cmsdefaultxmlcontenthandler.java:1486)
Org.opencms.file.types.CmsResourceTypeXmlContent.writeFile (cmsresourcetypexmlcontent.java:440)
Org.opencms.file.CmsObject.writeFile (cmsobject.java:4003)
Org.opencms.ade.contenteditor.CmsContentService.writeContent (cmscontentservice.java:1902)
Org.opencms.ade.contenteditor.CmsContentService.saveAndDeleteEntities (cmscontentservice.java:619)

There is a problem under Windows, Linux does not have this problem.


2017/07/15

Installation Environment: Tomcat+mysql

Put the Opencms.war file under Tomcat's WebApps folder, start Tomcat, enter Http://localhost:8080/opencms/setup install as prompted, automatically generate OpenCms database and its database tables.

OpenCms 10.5.1 Local Installation documentation

Download the document module on the official web OpenCmsDocumentation-9.5.1, in the Quick Start-module management-import modules via HTTP, import files separately com.alkacon.opencms.documentation.content-9.5.5.zip and COM . Alkacon.opencms.documentation-9.5.5.zip, Ccom.alkacon.opencms.documentation.content-9.5.5.zip the site before importing the file sites/default/*.

Restart Tomcat after successful import.

Modify the file Opencms-system.xml under the Webapps\opencms\web-inf\config folder, set Chinese (you may need to restart Tomcat after you modify the settings), and change the user language in the user information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.