Not uploading attachments

Not uploading attachments

Issue ID:1739
Issue Category:bug
Component:uncategorized
Priority:lowest
Status:active
Assigned:evan
Milestone:0.7
Keywords:attachment, upload

When i try to upload redirects the browser to /notice/new and nothing happens, any help?

Legacy Data

This issue was migrated from another tracking system. The legacy data at time of import is provided below as a reference.

Ticket ID: 
1739
Reported by: 
spook
Owner: 
evan
Status: 
reopened
Type: 
bug
Component: 
uncategorized
Priority: 
5
Version: 
undefined
Milestone: 
0.7

Updates

#1

I am having the same problem, too. Seems like the attachment action caused some internal error (HTTP 500) and we are asked to repost the notice again. Any ideas? Thanks in advance.

#2

Are you seeing this on identica, or on your own installations?

I haven't seen any other reports of this problem... more details and confirmation that the issue still occurs, please!

#3

I have the same problem. I'm afraid it's caused by wrong settings, though.
I cannot really provide more details. The thing happening is once I posted a notice with an attachment, I'm redirected to /notice/new, and the notice is not posted. It's happening on every server (including localhost with Laconica 0.8.0.), so I'm afraid it's caused by wrong settings or something. Laconica 0.8.0 has the problem, and still so for 0.8.1.
Attachment related content in my config.php:
`
// Support for file uploads (attachments),
// select supported mimetypes and quotas (in bytes)
// $config['attachments']['supported'] = array('image/png', 'application/ogg');
$config['attachments']['file_quota'] = 8388608;
$config['attachments']['user_quota'] = 33554432;
// $config['attachments']['monthly_quota'] = 15000000;
$config['attachments']['uploads'] = true;
$config['attachments']['path'] = "/file/";

// $config['oohembed']['endpoint'] = 'http://oohembed.com/oohembed/';
`
Is the problem caused by unfilled "filecommand"? Do I have to fill it even if I have no "supported" specified?

#4

Same problem appears here. I have a fresh installation of status.net version 0.82 and I can't upload any type of file.
When i try to attach a png to a note I only get a empty note which isn't posted at all. In the log file appears the following:
2010-01-08 22:11:12 LOG_ERR: PEAR error: File "/tmp/phpniEH0n" doesn't exist
2010-01-08 22:11:12 LOG_ERR: ServerErrorAction: 500 An important error occured, probably related to email setup. Check logfiles for more info..

When I try to upload a png as a avatar I reveive the message: "Not an image or corrupt file." and nothing in the log file.
The image file is definitely not currupt, i uses the status.net logo and some other png's.

Thanks,
RoXXoR

#5

One additional information: I just saw, that on http://status.net/wiki/Attachments#Server_problems it says safe_mode has to be off. In my case it's switched on and there is no way to change this.

What is the reason that file upload should only work with disabled safe_mode ???

Thanks,
RoXXoR

#6

I was running StatusNet on a server with PHP safe mode off, and the problem happens. It should not be related with safe mode.
Please contact your hosting service provider about safe mode problem.

Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.