[opencms-dev] image exports
bjacobs at rednoodle.com
bjacobs at rednoodle.com
Mon Oct 9 17:08:43 CEST 2006
Christian,
Thank you for responding, and for you suggestions.
-------
Can you say more about how the path config could be wrong? Would that be
in /WEB-INF/config/opencms-importexport.xml?
-------
Regarding the setting of the export property. It is presently defaulting
to "not set". When I set it and put a path, it changes the location that
the html page expects to find an image, but the image is still not written
to the harddrive.
The part about this idea that puzzles me is that if I don't have the
export property set, I imagine that the image paths as written in the HTML
would not have "export" in them (would try to pull the image dynamically
out of the database instead off off the hard drive). My thought was that
the way the HTML writes image paths would match up with the setting. Is it
expected that they would not match up in this way?
Thank you again for the suggestions, and any further responses you might
offer.
- Brian Jacobs
------
> bjacobs at rednoodle.com schrieb:
>> Hello all,
>>
>> I have an install of Opencms 6.0.4 that won't write (image/pdf/etc)
>> files
>> to the export folder on the harddrive. I'm running RHEL4.
>>
>> In experimenting I hand copied files to the /export folder. I see that
>> the
>> system erases these files immediately when something is published. I was
>> under the impression that the system writes the files at the first
>> request
>> for them if they don't exist, so I was little surprised to see them
>> erased
>> upon publishing.
>>
> If you use export-on-demand , then publishing will remove everything so
> that old files have been removed for sure.
> Then, if these files are needed again for the first time, they will be
> published
>> But mainly I'm just trying to get the system to write the files. I
>> assumed
>> it was a permissions problem, but the folder is owned by the tomcat user
>> and it has full permissions (and as mentioned can erase).
>>
> The following things come to my mind:
> - wrong path config
> - permission (obviously you've checked that)
> - you have not set the export property to "true" for your files
> Set this property to true for all folders whose content should be
> exported. Then the tree below these folders will be exported.
>
> hope that helps
> christian
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list