Files uploaded but they do not contain file extension, instead has .cantfindfilecommandusrbinfile

Not sure what's going on here, but if I upload a buzzLightyear.jpg it has the xxxxxxx.cantfindfilecommandusrbinfile extension on the file in the upload directory. Same if I upload a .doc document, funny thing is that if I click on the URL that points to the .jpg the browser somehow understands it but if I click on the .doc hyperlink it asks me what program I want to open a .cantfindfilecommandusrbinfile file with...

Here's whats in my Config.php related to attachments:
$config['site']['profile'] = 'public';
$config['attachments']['uploads'] = true;
$config['attachments']['supported'] = true; //allow all file types to be uploaded
$config['attachments']['file_quota'] = 5000000;
$config['attachments']['user_quota'] = 50000000;
$config['attachments']['monthly_quota'] = 15000000;
$config['attachments']['path'] = "/statusnet/file/"; //ignored if site is private
$config['attachments']['dir'] = INSTALLDIR . '/file/';

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID