[opencms-dev] Preview not working

Marc Johnen opencms at johnen.biz
Fri Feb 20 17:47:28 CET 2009


Well, have you checked the permissions?
What is this "/test/temp.txt"? Probably it's used in your template.
I'd need the full Stacktrace to say more.


XMaNIaC wrote:
> 
> No, I've checked and it's not that. Any user other than admin cannot
> preview
> files.
> 
> On Fri, Feb 20, 2009 at 1:25 PM, Marc Johnen <opencms at johnen.biz> wrote:
> 
>>
>> Have you changed the sites-settings in opencms-system.xml?
>> In my installation the preview only works, when I have selected
>> "/sites/mysite/" in the menu "Site" (on top of the workplace).
>> I have always wondered why.
>> Greetings
>> Marc
>>
>>
>> XMaNIaC wrote:
>> >
>> > Hi,
>> >
>> > I've a clean install of OpemCms 7.0.5 with the workflow2 module. I've
>> > created three groups with one user each and three projects (authoring,
>> > reviewing, approval). Everything works fine except the preview. Every
>> time
>> > a
>> > user clicks over any file (for example after creation of a data text
>> file)
>> > gets:
>> >
>> > org.opencms.file.CmsVfsResourceNotFoundException: Error reading
>> > resource from path "/test/temp.txt".
>> >       at
>> >
>> org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:78)
>> >
>> >
>> > The admin user can click in any file and it works so I'm guessing it's
>> > something related to roles or permissions but I can't imagine the
>> cause.
>> > Each project is assigned one of the custom groups as the User Group.
>> The
>> > users in that group only have the role Workplace user.
>> >
>> > Can anyone think what am I missing?
>> >
>> > Regards
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Preview-not-working-tp22035143p22119655.html
>> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> 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
>>
> 
> 
> _______________________________________________
> 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
> 

-- 
View this message in context: http://www.nabble.com/Preview-not-working-tp22035143p22121741.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.




More information about the opencms-dev mailing list