Page_attachments & TextDrive with lighttpd anyone?


#1

Just checking to see if anyone is using page_attachments successfully on
a
TextDrive account running lighttpd. I’m using such a setup as my test
server and get an application error whenever I try to attach files. My
production box is on another host running mongrel and everything works
beautifully, however.

Anyone else get it running on TextDrive? Did you run in to any
textdrive-specific issues I should check out to get my test site running
again? Thanks!


-Grant B.
removed_email_address@domain.invalid
http://grantblakeman.com


#2

When I was running a pre 0.6 version on TextDrive, I had to specify
RMagick as the processor because ImageScience was broken. Try this
from a shell:

$ irb

require ‘rubygems’
=> true

require ‘image_science’

If at that point, you get an error and stack trace, it is incorrectly
configured on your server. Until they fix it, you can edit
vendor/extensions/page_attachments/app/models/page_attachment.rb and
add this option to the has_attachment line:

:processor => :rmagick

You may want to add that line even if you don’t get an error on
ImageScience. Let me know if that works for you.

Sean


#3

You should think about MiniMagick, as well. RMagick hits the memory
limit pretty fast on TextDrive. I have not had much luck with it
there. You can install MiniMagick as a gem or plugin in your vendor
folder, then just specify the processor as mini_magick. I have a site
on Textdrive using page_attachments and MiniMagick. It runs fine.

Keith B.
Tel: +49-7731-79838380
removed_email_address@domain.invalid
http://keithbingman.com


#4

Thanks guys, Keith, I’ll give MiniMagick a try. It didn’t even dawn on
me
that it might be the image processor giving me the error.

-gb

On 6/17/07, Sean C. removed_email_address@domain.invalid wrote:

on Textdrive using page_attachments and MiniMagick. It runs fine.

configured on your server. Until they fix it, you can edit
On 6/17/07, Grant B. removed_email_address@domain.invalid wrote:

textdrive-specific issues I should check out to get my test site
Search: http://radiantcms.org/mailing-list/search/
Post: removed_email_address@domain.invalid
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Radiant mailing list
Post: removed_email_address@domain.invalid
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


-Grant B.
removed_email_address@domain.invalid
http://grantblakeman.com


#5

Good to know, Keith! :smiley:

Sean