SMF Version: SMF 1.0.7
Hi,
I just installed my forum using the latest SMF version. I enabled attachments and uploaded several but when I try to download an attachment the browser just hangs - it goes to a URL, but the screen is blank and nothing happens. I was able to verify that the attachments uploaded correctly - just no downloads.
I did check my PHP.INI file and it appears to be set to the correct defaults.
Any ideas?
Thanks,
Brad
check the permissions...
Sorry ...
Which permissions? File permissions?? Which files?
Thanks,
Brad
yea file permission. check if the attachment folder is chmod 777 if not make it so.... if it still wont work try with 755..
OK,
Changed the permissions both ways - but that did not work.
Any other suggestions? I did a search on the forum but no joy.
Brad
It could be a hosting problem. Maybe your host limits the amount uploadable from php..
I don't think so - the uploads work just fine. It is the downloads that have the problem. The files have all uploaded correctly and have the right size in the attachments directory. For some reason they just hang when you request a download.
Doc
Please provide a link to your forum.
Here is the error log from a download attempt:
-------------------------------------------------------------------
Apply Filter: Only show the error messages of this URL http://beerxml.com/forum/index.php?action=dlattach;topic=12.0;id=4
Apply Filter: Only show the errors with the same message
2: ob_gzhandler() [<a href='http://www.php.net/ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' cannot be used twice
File: /usr/local/apache/beerxml/forum/Sources/Display.php
Line: 788
--------------------------------------------------
I would really appreciate any help you can give me - having the ability to use attachments is important.
My forum is at: http://beerxml.com/forum
Thanks
Doc
What version of PHP are you using?
Quick follow up...
I upgraded to the latest PHP version and now the downloads work.
Thanks,
Doc
There was a bug reported at php.net about the ob_gzhandler, so it looks like you were running that version of PHP. Glad the upgrade fixed your problems.