# Re: Page\_Attachments

**URL:** <https://www.ruby-forum.com/t/re-page-attachments/105997>\
**Category:** Radiant CMS\
**Created:** [June 5, 2007, 1:49pm UTC](https://www.ruby-forum.com/t/re-page-attachments/105997 "2007-06-05T13:49:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 5, 2007, 1:49pm UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/1 "2007-06-05T13:49:51Z")

</div>

I am testing on two local machines will full admin rights. I have been  
doing more testing this morning and found that it seems to work  
intermittently, sometimes a file will upload and sometimes nothing seems  
to happen, although if I keep trying long enough I usually win!

Also if I select several files to upload some may upload, and some may  
not. If I try again the files that didn’t upload the first time may  
upload the second time, so it isn’t a problem with the files themselves  
so I can’t find a cause for this, has anyone had anything similar?

Many thanks

## Sharon

Message: 1  
Date: Mon, 4 Jun 2007 20:26:31 +0200  
From: David P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Radiant] Page\_Attachments  
To: removed\_email\_address@domain.invalid  
Message-ID: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Content-Type: text/plain; charset=utf-8

> Does the filesystem have write access to the proper folder (I’m  
> guessing  
> its /YOUR-PROJECT/public/files)?

My mistake, the filesystem needs write access to /YOUR-PROJECT/public/

It will add a new directory titled “page\_attachments” and store uploads  
there.

–  
Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 5, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/2 "2007-06-05T21:36:25Z")

</div>

I’m suddenly getting this same error with a PDF file I am trying to  
attach. Other files (PDF, JPG, and TXT) have worked fine up until this  
point and can be attached to the page, just not this specific PDF.

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 12, 2007, 2:40am UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/3 "2007-06-12T02:40:07Z")

</div>

David P. wrote:

> I’m suddenly getting this same error with a PDF file I am trying to  
> attach. Other files (PDF, JPG, and TXT) have worked fine up until this  
> point and can be attached to the page, just not this specific PDF.

Did you ever fix this?

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 13, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/4 "2007-06-13T20:30:10Z")

</div>

John W. Long wrote:

> Did you ever fix this?

No. Its still a lingering issue.

I’m actually at about a 50% success rate for attaching PDFs. They either  
consistently attach or consistently fail – not once has trying the same  
file multiple times suddenly worked for me (unlike Sharon’s statement  
above).

I’m wondering if it is failing because Radiant doesn’t like the PDFs’  
binary data or something…?

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [June 13, 2007, 8:34pm UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/5 "2007-06-13T20:34:07Z")

</div>

What’s your hosting solution?

Sean

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [July 31, 2007, 11:52pm UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/6 "2007-07-31T23:52:49Z")

</div>

John W. Long wrote:

> Did you ever fix this?

Fixed via Sean’s patch here:  
[http://www.ruby-forum.com/topic/111949](http://www.ruby-forum.com/topic/111949)

Thanks guys!

---

<div class="post-metadata">

**Author:** ![Sharon\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9de0a6/32.png) [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Post date:** [August 1, 2007, 12:10am UTC](https://www.ruby-forum.com/t/re-page-attachments/105997/7 "2007-08-01T00:10:50Z")

</div>

No - noone has replied as yet ☹
