[opencms-dev] Files disappearing from static export directory when publish button pressed

Joe Desbonnet jdesbonnet at gmail.com
Wed Oct 19 16:30:36 CEST 2005


Thanks for the feedback. Unfortunately it's not that simple. If there
is an image published in section A of the site, and someone makes a
small edit to section B and presses the publish button, then
(sometimes!) images in section A disappear from the static export

Consequently the image is broken (ie 404 ed) on the live website.

I havn't had time to investigate thoroughly, but it's  as if the
entire static export directory is cleared when the publish button is
pressed, and then recreated, but some intermittent error prevents some
images from being created.


On 10/19/05, Thomas Maerz <thomasmaerz at gmx.de> wrote:
> Joe Desbonnet <jdesbonnet at gmail.com> writes:
> > When the "Publish project" button is pressed on in the explorer view
> > of a project, image files randomly disappear from the static export
> > directory and consequently appear as broken images on the live site.
> I have/had this problem with OpenCms 5.0.1.
> When this happened there was a broken link to the image somewhere in the
> HTML. A broken link does not mean that the image is broken in the
> preview, but that the link is something like
> "/opencms/opencms/path/to/img.png" in the control code instead of the
> webapp folder being resolved dynamically.
> This happened most of the time when somebody copied the source code of
> one file from the "source view" to another file.
> Regards,
> Thomas
> _______________________________________________
> 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