[Radiant] I added the page_attachments plugin and the
site stopped
Sean Cribbs
seancribbs at gmail.com
Wed Sep 5 13:07:24 CDT 2007
Andrea,
Your production log says that essentially, the PageAttachment class
couldn't be loaded. This usually indicates a failure to load any
required files within the context of page_attachment.rb. Since there
are no explicit requires inside the file, it must be in attachment_fu
(the has_attachment call). This probably means that the user your FCGI
process runs as cannot require any of your image libraries
(ImageScience, MiniMagick, RMagick). In the case of ImageScience, it
may be that it cannot write to the FCGI user's ~/.ruby_inline directory
to compile the code. If possible, run this as your FCGI user:
irb -rubygems
>> require 'image_science'
>> ImageScience
If it worked, you should get no error.
Sean
Andrea Otto wrote:
> Sean Cribbs wrote:
>
>> Thanks, Andrea. That email wasn't directed at you specifically, but
>> thank you.
>>
>> For #7, production.log and fastcgi.crash.log if available. A pastie
>> would be best (http://pastie.caboo.se).
>>
>> Sean
>>
>
> Hi Sean,
> I tried to deactivate page_attachments via MySQL. I have put "enabled"
> to 0 in extension schema. And my app started correctly. So I went to
> radiant extensions administration page and I tried to reactivate
> page_attachments. After press "update" it crash :D
>
> lasts lines of production.log: http://pastie.caboo.se/94274
> lasts lines of fastcgi.crash.log: http://pastie.caboo.se/94277 (it seams
> nothing relevant)
>
More information about the Radiant
mailing list