[Radiant] Page Attachments - live server won't upload images
David Piehler
davidpiehler at gmail.com
Wed Aug 8 14:44:00 CDT 2007
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?
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list