[opencms-dev] Export trouble

Sven Dittmar dittmar at rus.uni-stuttgart.de
Wed Jul 16 14:38:01 CEST 2003


Hi all,

I have trouble exporting some projects from 5rc2 to 5.0final.

I think this is related to a "trick" we used.

We needed to have to different projects rendering pages with different 
templates but with the same *content*. So one project is the "master", 
the other is the slave.

We did this with the XML-controlcode of the file.

e.g. salve file ist studierende/studium/angebot/studiengaenge/geodaesie.html

but in the controlfile of this file we call

<TEMPLATE>/system/bodies/interessierte/studium/angebot/studiengaenge/geodaesie.html</TEMPLATE>

which points to the master project.

This works fine for us. Except for the exporting.

I get the following error messages:

  [16.07.2003 14:17:50] <opencms_critical> 
com.opencms.core.CmsException: [com.opencms.file.mySql.CmsDbAccess] 
/default/vfs/system/bodies/studierende/studium/angebot/studiengaenge/geodaesie.html

Exception com.opencms.core.CmsException: 2 Not found. Detailed error: 
[com.opencms.file.mySql.CmsDbAccess] 
/default/vfs/system/bodies/studierende/studium/angebot/studiengaenge/geodaesie.html.
at com.opencms.file.mySql.CmsDbAccess.readFile(CmsDbAccess.java:703)
at 
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBroker.java:5299)
at com.opencms.file.CmsObject.readFile(CmsObject.java:2954)
at com.opencms.file.CmsExport.addSingleFiles(CmsExport.java:369)
at com.opencms.file.CmsExport.addPageBodyFiles(CmsExport.java:356)
at com.opencms.file.CmsExport.<init>(CmsExport.java:294)
at 
com.opencms.file.genericSql.CmsResourceBroker.exportResources(CmsResourceBroker.java:2905)
at com.opencms.file.CmsObject.exportResources(CmsObject.java:1493)
at 
com.opencms.workplace.CmsAdminDatabaseExportThread.run(CmsAdminDatabaseExportThread.java:118)

Question: How can I get this projects exported correctly? Otherwise I 
can not upgrade to 5.0final...

And: Are there ways to export the projects as well? The got completly 
lost in older version and I had to set them up manually before upgrading 
to a newer version.

Regards,
Sven




More information about the opencms-dev mailing list