Quote
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.
Please consult your server administrator for more information.
Am i the only one with this problem?
And 64 kb zip file is not really to large ;) and the filename is not longer than the old one :X
So i tested it with Firefox, Opera and IE. I test it on my Windows XP and OpenBSD... every time the same... tested it on a system without firewall and antivir... but no system work...
And now i have problem... that i removed already a file <<...
I move this thread to a prober position *g*.
I tried to upload an attachement to show an mismatch here in this particulairy bug-report forum but I couldn't either.
File was about 80 kb
I'm experiencing the same, when I tried to upload my Twitter MOD.
QuoteAn Error Has Occurred!
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.
Please consult your server administrator for more information.
Same thing with attachments.
We are aware of this and are in the process of tracking down the problem.
Thanks :D
This should be resolved now.
I redownloaded the install package, reinstalled, and this problem still persists. How should I go about resolving it?
QuoteParse error: syntax error, unexpected T_ELSE in /home/asdfasdf/public_html/forum/Sources/Subs-Graphics.php on line 227
Quote from: SleePy on May 21, 2009, 04:27:00 PM
This should be resolved now.
How do we resolve it manually?
Quote from: robotokon on May 21, 2009, 06:58:37 PM
I redownloaded the install package, reinstalled, and this problem still persists. How should I go about resolving it?
QuoteParse error: syntax error, unexpected T_ELSE in /home/asdfasdf/public_html/forum/Sources/Subs-Graphics.php on line 227
That's a different problem. I'm not sure if this is what the intended sequence should be, but they commented out an if without fixing the resulting else statement. I did this:
Quote
// Walk the right path. if (!empty($modSettings['currentAttachmentUploadDir']))
if (!is_array($modSettings['attachmentUploadDir']))
{
$modSettings['attachmentUploadDir'] = unserialize($modSettings['attachmentUploadDir']);
$path = $modSettings['attachmentUploadDir'][$dir];
}
else
$path = $modSettings['attachmentUploadDir'];
Quote from: Vekseid on May 21, 2009, 07:43:16 PM
Quote from: robotokon on May 21, 2009, 06:58:37 PM
I redownloaded the install package, reinstalled, and this problem still persists. How should I go about resolving it?
QuoteParse error: syntax error, unexpected T_ELSE in /home/asdfasdf/public_html/forum/Sources/Subs-Graphics.php on line 227
That's a different problem. I'm not sure if this is what the intended sequence should be, but they commented out an if without fixing the resulting else statement. I did this:
Quote
// Walk the right path. if (!empty($modSettings['currentAttachmentUploadDir']))
if (!is_array($modSettings['attachmentUploadDir']))
{
$modSettings['attachmentUploadDir'] = unserialize($modSettings['attachmentUploadDir']);
$path = $modSettings['attachmentUploadDir'][$dir];
}
else
$path = $modSettings['attachmentUploadDir'];
Thank you, that worked like a charm.
Quote from: metallicaWe are aware of this and are in the process of tracking down the problem.
Any chance of knowing what the fix was &/or where I can get a "clean" Subs-Graphics.php ?
I've chased down several other fixes reported for other attachment-related issues, but this one eludes me.
TIA.
Here you go, clean for a 2.0 install :)
Its on line 227, just needs one line taken out of the comment.
A big thanks Trekkie, much appreciated. However, I already implemented that fix. I was asking about this error that SleePy said was fixed:
QuoteAn Error Has Occurred!
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.
Please consult your server administrator for more information.
Problem solved. I'd implemented Feline's tweak (http://www.simplemachines.org/community/index.php?topic=313229.msg2078430#msg2078430) of Subs.php. Went back to the original file and all appears well.