Author Topic: Attachments won't upload  (Read 6741 times)

Offline snigel1

  • Newbie
  • *
  • Posts: 1
Attachments won't upload
« on: October 10, 2006, 07:53:52 PM »
I just installed roundcube yesterday and i'm very impressed.Everything works great expect one thing, Attachments.

They just dont upload in the send-mail form.... i'v tryed both temp/ and the real working path to the temp-dir on the server as path in the config, and i'v tryed both chmod 770 and 777.

Any idea?

Offline deejmer

  • Newbie
  • *
  • Posts: 2
Re: Attachments won't upload
« Reply #1 on: February 01, 2007, 09:27:18 PM »
I have this exact same problem.....does anyone know how to address this?

- thanks

Offline jpingle

  • Jr. Member
  • **
  • Posts: 77
Re: Attachments won't upload
« Reply #2 on: February 01, 2007, 10:33:00 PM »
Have you checked your php.ini to be sure that uploads are allowed?

Also, are there any errors in the Apache error log or in RoundCube's logs?

Offline henlon

  • Jr. Member
  • **
  • Posts: 40
Re: Attachments won't upload
« Reply #3 on: February 04, 2007, 05:20:27 AM »
I have the same problem when I try to upload .pdf files.
There are no problem with other files.

I'm running RounCube under IIS 4

Offline Jace

  • Newbie
  • *
  • Posts: 3
Re: Attachments won't upload
« Reply #4 on: February 14, 2007, 02:15:13 PM »
Were you able to resolve this?

I'm having the same problems, I get the following error in my error log: move_uploaded_file() [href='function.move-uploaded-file'>function.move-uploaded-file]:
SAFE MODE Restriction in effect. The script whose uid/gid is
22692/22692 is not allowed to access
temp/97753033645d35de0f2a1b/rcmAttmntDDZJfu owned by uid/gid 99/99 in
/mounted-storage/home41c/sub006/sc31740-ZNMU/male/program/steps/mail/upload.inc
on line 42

I can not forward or attach files

Offline neworange

  • Newbie
  • *
  • Posts: 3
Re: Attachments won't upload
« Reply #5 on: March 15, 2007, 12:59:34 PM »
Hi, I'm having the same problem, can anyone help?
thank you

Offline btcentral

  • Jr. Member
  • **
  • Posts: 26
Re: Attachments won't upload
« Reply #6 on: March 22, 2007, 01:10:41 AM »
It's pretty obvious that you need to disable PHP Safe Mode. PHP Safe Mode GID should be left On however.
Also note that Register Globals should be On.

Also are you using Servage by any chance? That directory structure looks very familiar, if so I had to make a few changes to roundcube not to kick me every time I tried to login. Listed here.

Can't say i've ever actually tried sending an attachment though...
Edit: Just tried sending an attachment, first time it didn't work... so I looked at the temp dir. Note that you must set this directory permissions to Webserver not You on servage (assuming you are using it!) for it to work!
At least sometimes... it seems to only send them half the time for some reason.

Hope this helps.

Quote from: Jace
Were you able to resolve this?

I'm having the same problems, I get the following error in my error log: move_uploaded_file() [href='function.move-uploaded-file'>function.move-uploaded-file]:
SAFE MODE Restriction in effect. The script whose uid/gid is
22692/22692 is not allowed to access
temp/97753033645d35de0f2a1b/rcmAttmntDDZJfu owned by uid/gid 99/99 in
/mounted-storage/home41c/sub006/sc31740-ZNMU/male/program/steps/mail/upload.inc
on line 42

I can not forward or attach files
http://www.btcentral.org.uk - Cheap, Top Quality Web-design.

Offline microUgly

  • Jr. Member
  • **
  • Posts: 15
Re: Attachments won't upload
« Reply #7 on: April 04, 2007, 01:46:32 AM »
Hey btcentral, I'm also with Servage. Thanks for the tip about changing the folder owner. It's helped but did not fixed the problem.

Before, when I uploaded the file, nothing would appear in the temp folder. Now, however, a folder is created but there is no file in the folder.

PHP seems to be configured correctly, and folder permissions are generous. I'm not sure where to look next.