# Page\_attachments & TextDrive with lighttpd anyone?

**URL:** <https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079>\
**Category:** Radiant CMS\
**Created:** [June 17, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079 "2007-06-17T21:15:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [June 17, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079/1 "2007-06-17T21:15:01Z")

</div>

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

> **[Grant Blakeman | A developer & designer based in Los Angeles, California.](https://grantblakeman.com/)**
>
> A developer and designer based in Los Angeles, California.

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [June 17, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079/2 "2007-06-17T22:21:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [June 17, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079/3 "2007-06-17T22:29:14Z")

</div>

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](http://keithbingman.com)

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [June 18, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079/4 "2007-06-18T21:12:06Z")

</div>

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](mailto: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](mailto: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/](http://radiantcms.org/mailing-list/search/)  
> > > > Post: removed\_email\_address@domain.invalid  
> > > > Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> > > > Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)
> 
> * * *
> 
> Radiant mailing list  
> Post: removed\_email\_address@domain.invalid  
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

–  
-Grant B.  
removed\_email\_address@domain.invalid

> **[Grant Blakeman | A developer & designer based in Los Angeles, California.](https://grantblakeman.com/)**
>
> A developer and designer based in Los Angeles, California.

---

<div class="post-metadata">

**Author:** ![gblakeman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/3e96dc/32.png) [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Post date:** [June 17, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/page-attachments-textdrive-with-lighttpd-anyone/107079/5 "2007-06-17T22:31:14Z")

</div>

Good to know, Keith! 😃

Sean
