[Radiant] Page Attachments - live server won't upload images

Sean Cribbs seancribbs at gmail.com
Wed Aug 8 16:19:56 CDT 2007


Login to your account and try this:

$ irb -rubygems
 >> require 'image_science'

See if that produces an error.  If it does, contact your administrator.

Sean

David Piehler wrote:
> David Piehler wrote:
>   
>> I just switched from Radiant 0.6.1 full-install to Radiant 0.6.2 on gem.
>> Locally everything worked fine, but on the live server the Page
>> Attachments extension won't upload image files (JPG and PNG tested).
>> Text files and 1MB+ PDFs work fine, but images are a no-go.
>>
>> The server has the image_science gem for processing images, but NOT
>> RMagick or ImageMagick. Here is the log output:
>>
>> TypeError (Unknown file format):
>>     /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
>> `with_image'
>>     /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in
>> `with_image'
>>     /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu.rb:317:in
>> `with_image'
>>     /users/home/MYAPPNAME/web/vendor/extensions/page_attachments/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:21:in
>> `process_attachment'
>>     /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.2/vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in
>> `send'
>>     /usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.2/vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in
>> `callback'
>> ...
>> ...
>>     
>
> All directory permissions are set properly, but I'm still getting the 
> error. I'm wondering if it is a bug with image_science (1.1.1, 1.1.0), 
> as another Radiant site of mine running a frozen 0.6.1 with 
> image_science 1.1.3 is uploading images and creating thumbnails just 
> fine.
>
> Any ideas?
>   




More information about the Radiant mailing list