Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Attachments not working after upgrade.

Aloittaja ajohnj1, toukokuu 24, 2006, 11:40:56 IP

« edellinen - seuraava »

ajohnj1

SMF Version: SMF 1.1 RC2

After upgrading to SMF 1.1 RC2 no users (not even admin) is able to attach any type of file.  Here is the error message that occurs:

LainaaYour 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.

I made sure the settings under Admin->Attachments and Avatars are correct.  I also manually made sure the permissions are correct in the Attachments directory.  I tried changing the slashes to the opposite direction (this is a windows host).  I tried uploading attachments with several different user accounts and none of them worked.  It appears that the upload function is working as bigger files take longer than smaller files to generate the error.  I did the maintain files and there are no errors.  I increased the size of the folder limit and it still doesn't work.

Any ideas?


Update:It seems that uploading avatars works.  Avatars are currently being uploaded to the same directory as post attachments. Hope that helps to narrow it down a bit more.

Oldiesmann

That is a bit odd that uploading attachments won't work but the rest does. Make sure the file size doesn't exceed the upload_max_filesize value in php.ini...
Michael Eshom
Christian Metal Fans

ajohnj1

It is okay there.  Plus, I have tried uploading an attachment that is only 4kb and it still doesn't work.  I can upload an avatar just fine.  I try to upload the same file in a post and it doesn't work...  :(  What is going on here? It used to work fine.

Fluffy Pearl

I have absolutely the same problem. (Before upgrade it work perfect  :o )
Even more: it's impossible to download avatars at the server  >:( :'(

We need solution!!!

sawz

is your attachment directory properly chmoded?
or do you keep avatars and attachments in the same folder.
keep smiling, they'll always wonder what your up too.....

Fluffy Pearl

Lainaus käyttäjältä: sawz - elokuu 09, 2006, 05:36:05 IP
is your attachment directory properly chmoded?

I tried 777 and 775 - nothing changes  :-\

Lainaus käyttäjältä: sawz - elokuu 09, 2006, 05:36:05 IP
or do you keep avatars and attachments in the same folder.

I also think about it? so I change it - nothing.

sawz

how about your path at:
Admin>Attachments and Avatars>Attachment Settings
keep smiling, they'll always wonder what your up too.....

Fluffy Pearl

Yes, It works.
I asked my hoster and he help to make changes in php.ini: upload_tmp_dir .

Advertisement: