User can not upload attachment 2.0RC5

Started by DutchJam, June 11, 2011, 02:46:40 AM

Previous topic - Next topic

DutchJam

Greetings,

I found out that a user (me as admin included) cannot upload any attachment into a forum post.

Checking the log it says it is a critical error. But it does not say how to solve it.

Anybody an idea where to look?

Tnx!

SMF 2.0RC5
-----
JamaicaForum.nl: http://www.jamaicaforum.nl

Joker™

http://www.yourforum.com/index.php?action=admin;area=manageattachments;sa=attachments;

Check there in your forum (replace yourforum with your forum name) whether the attachments are enabled or not.

Also what mods do you have installed?
Whats the error in error log?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

DutchJam

Hi, thanks for the reply!

In admin: attachments are enabled.

Installed mods: AevaMedia, AjaxChat, SimpleAds

Error is posted under 'critical' in the log. Message (translation from Dutch): 'Something went wrong while uploading attachment, please try again.' Other info logged is my IP, Username and sessionname. That's all.

Any idea?
-----
JamaicaForum.nl: http://www.jamaicaforum.nl

Joker™

Quote from: DutchJam on June 11, 2011, 04:42:18 AM
Hi, thanks for the reply!

In admin: attachments are enabled.

Installed mods: AevaMedia, AjaxChat, SimpleAds

Error is posted under 'critical' in the log. Message (translation from Dutch): 'Something went wrong while uploading attachment, please try again.' Other info logged is my IP, Username and sessionname. That's all.

Any idea?
Post the error in Dutch language here.


Also try to fix the forum through

Administration Center » Forum Maintenance » Routine » Find and repair any errors.


Most probably either the path is not valid or the size of attachment allowed is small.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

DutchJam

The message in Dutch: 'Er is iets fout gegaan bij het wegschrijven van je bijlage, probeer het alsjeblieft nog eens.'

Fixing the forum as mentioned does not help.

Try to set attachment size to zero ('no limit') - does not help.

Path seems ok to me: .../home/jamaifrm/public_html/attachments
-----
JamaicaForum.nl: http://www.jamaicaforum.nl

Joker™

I think the error is trying to say

Quote$txt['attach_timeout'] = 'Your attachment couldn\'t be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.<br /><br />Please consult your server administrator for more information.';

I think you should contact your host once and ask him about the size they have allowed.

P.S what sort of file were you trying to upload and it's size?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

DutchJam

Quote from: Joker™ on June 11, 2011, 05:21:45 AM
I think you should contact your host once and ask him about the size they have allowed.

Bingo!
That's it. I checked the PHP configuration of my host: Max upload size is 2Mb.
So nothing wrong with my SMF installation anyway.

Thank you very much Joker, your help was excellent!

Have a nice weekend and dont' forget to take a beer from me ;)
-----
JamaicaForum.nl: http://www.jamaicaforum.nl

Joker™

Your welcome. Lol TBH today I want to go out today(been in home from past 5 days :P), but my car broke down last evening :laugh:.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

DutchJam

Owwww, sorry to hear that.

Well, I hope you can fix that problem too then ;)
-----
JamaicaForum.nl: http://www.jamaicaforum.nl

Joker™

Quote from: DutchJam on June 11, 2011, 05:58:41 AM
Owwww, sorry to hear that.

Well, I hope you can fix that problem too then ;)
Well that seems to be out of my scope :P.
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Advertisement: