R: [opencms-dev] Problem with static export of pics (solved)

Federico Grilli federicog at gruppoinit.it
Wed May 26 10:47:01 CEST 2004


I managed to solve the problem: it was the read permission for the others of
the galleries I could not export which was unchecked. After having checked
it, the galleries could be exported normally.

Federico

-----Messaggio originale-----
Da: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]Per conto di Federico Grilli
Inviato: mercoledì 26 maggio 2004 10.21
A: opencms-dev at opencms.org
Oggetto: [opencms-dev] Problem with static export of pics


Hello everybody,

I have a problem with two image galleries under /system/galleries/pics: they
don't get exported. When I try to export them, for each picture in  the
folder I get the following error:

Esportazione /system/galleries/pics/caserta/CastelloMatese2.jpg
Eccezione com.opencms.core.CmsException: 31 Access denied to resource.
Detailed error: [com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/system/galleries/pics/caserta/CastelloMatese2.jpg.
at com.opencms.core.CmsException.<init>(CmsException.java:289)
at
com.opencms.file.genericSql.CmsResourceBroker.readFileHeader(CmsResourceBrok
er.java:5365)
at
com.opencms.file.genericSql.CmsResourceBroker.readProperty(CmsResourceBroker
.java:6117)
at com.opencms.file.CmsObject.readProperty(CmsObject.java)
at com.opencms.util.Utils.isHttpsResource(Utils.java:373)
at com.opencms.launcher.CmsDumpLauncher.launch(CmsDumpLauncher.java:112)
at com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java)
at com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)
at com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)
at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResou
rceBroker.java:4659)
at com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1525)
at com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)
at com.opencms.file.CmsObject.publishResource(CmsObject.java:2598)
at
com.opencms.workplace.CmsPublishResourceThread.run(CmsPublishResourceThread.
java:61)

On the other hand, the Alkacon-Documentation gallery which also reside in
the pics folder is exported correctly.

The pics folder has the properties "export" and "exportname" set
respectively to "true" and "/pics/". In the opencms.properties file the
"staticexport.default.export" entry is set to "dynamic".

Any idea to solve the problem?

TIA,

Federico Grilli




_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list