After I upgraded SMF to RC1-1 . I can't update my forum pics. It always show msg below when I try to upload my pics.
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.
I already checked
- my file size, file type is ok. It's small file , <20kb
- my SMF board setting allow upto 192KB
- Attachements fold permission has write permission for other group
- my disk space is big enough
I try look into code Profile-Modify.php . Seem it has problem when it try to move avatar_tmp_xxx.
Do you ever found this problem?
any idea to fix it?
thanks in advance,
Tor.
Could be related to this [3484] Mis-detecting valid images for infected ones. (http://www.simplemachines.org/community/index.php?topic=314133.0) OR possibly a php timeout etc. Have you checked your server errorlogs for any php errors when this happens?
Quote from: LexArma on June 21, 2009, 06:52:44 AM
Could be related to this [3484] Mis-detecting valid images for infected ones. (http://www.simplemachines.org/community/index.php?topic=314133.0) OR possibly a php timeout etc. Have you checked your server errorlogs for any php errors when this happens?
thanks for reply but I'm sure it's not the same issue. My avatar file didn't contain "script" text.
Another prove is I can upload my avatar when I did normal forum post. That means it's not PHP/server issue.
My avatar file is 12 Kb. I try change its name to very simple one and the result is same. I still can't upload it to forum profile.
Quote from: nmapxp on June 21, 2009, 07:01:18 AM
Another prove is I can upload my avatar when I did normal forum post. That means it's not PHP/server issue.
I would still hold the possible error log as the only real proof on this. Could you try uploading the image again,
and then see if your error log comes up with anything.
Quote from: LexArma on June 21, 2009, 07:03:10 AM
Quote from: nmapxp on June 21, 2009, 07:01:18 AM
Another prove is I can upload my avatar when I did normal forum post. That means it's not PHP/server issue.
I would still hold the possible error log as the only real proof on this. Could you try uploading the image again,
and then see if your error log comes up with anything.
Because my website is hosted. I will request log file to server administrator.
thanks sir,
My problem has been fixed now. Some forum user report to me that he found the error
"Wrong value type sent to the database. Integer expected. (size)"
So I try search the solution and replace "Profile-Modify.php" with fixed version.
Problem solve!!!
thanks
Great! :)
I'll just mark this solved then.