[opencms-dev] New OpenCms 5.0.x HTML import module available

Thomas Gagné tgagne at wideopenwest.com
Thu Feb 19 20:32:02 CET 2004


When importing, I specified an empty template.

When I compare the control codes between an imported HTML and one 
created inside OpenCMS, the working one has a 
<masterTemplate>...</masterTemplate> element (with a master template) 
and the imported one has simply <masterTemplate/>.  An empty one.

When I try displaying the HTML file (clicking on it) I get:


com.opencms.core.CmsException: 25 XML tag missing. Detailed error: 
"MASTERTEMPLATE" definition tag not found in file 
/system/modules/gagne/default.htm..
    at 
com.opencms.template.CmsXmlControlFile.getMasterTemplate(CmsXmlControlFile.java:214)
    at 
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:163)
    at com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:341)
    at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)
    at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
    at 
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at 
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
    at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
    at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
    at java.lang.Thread.run(Thread.java:536)

How do I fix this?





More information about the opencms-dev mailing list