View Full Version : Uploading Avatar Failure
ChuteBoxe
06-05-2010, 03:58 AM
Fresh VB4 install...
Went into admincp/maintenance/diagnostics and this is what came back...
Pertinent PHP Settings
file_uploads: On
open_basedir: None
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB
Help Results
No file uploaded and no local file found. The test cannot continue.
What do I have to do next? Thanks in advance...
ShawneyJ
06-05-2010, 04:05 AM
when your trying to upload your avatar and it will not work, what error are you getting?
have you gone to Usergroups>>Usergroups manger and changed:
"Custom Avatar Maximum File Size (bytes)" to something higher?
ChuteBoxe
06-05-2010, 04:27 AM
It's saying...
vBulletin Message
Upload of file failed.
The file is also way below my specified size limit that I set in user permissions, and what shows on the av upload page.
Xencored
06-05-2010, 08:22 AM
It's saying...
The file is also way below my specified size limit that I set in user permissions, and what shows on the av upload page.
Make sure the directory has appropriate permissions
This is why it is failing
Boofo
06-05-2010, 10:20 AM
Either that or it is a wrongly named image.
ChuteBoxe
06-05-2010, 06:51 PM
Make sure the directory has appropriate permissions
This is why it is failing
The customavatars and customprofilepics folders are both set to 777.
--------------- Added 1275767692 at 1275767692 ---------------
Either that or it is a wrongly named image.
It's named untitled.gif, and is only 8k in file size. Works on other forums.
My settings are 175 x 175, 60k per image.
Boofo
06-05-2010, 07:17 PM
What I meant by wrongly named is that I have seen vb recognize a JPG image as a GIF in the past. When I renamed the file to GIF, it uploaded fine. Check your image settings in the Admin CP to make sure they are right, also.
ChuteBoxe
06-05-2010, 07:32 PM
:up:What I meant by wrongly named is that I have seen vb recognize a JPG image as a GIF in the past. When I renamed the file to GIF, it uploaded fine. Check your image settings in the Admin CP to make sure they are right, also.
I get what you meant now...
I tried a different file now, this time a jpg, and still the same error.
Image settings in the AdminCP are GD, avatars and profile pics set to yes, can't figure out what's going on...
Lynne
06-05-2010, 07:37 PM
Probably need to set an upload_tmp_dir for use.
ChuteBoxe
06-05-2010, 07:55 PM
Probably need to set an upload_tmp_dir for use.
I'm on shared hosting...
Do I need to call the hosting company and have them create a 777 folder named upload_tmp_dir?
Boofo
06-05-2010, 08:43 PM
Go to the Admin CP and under Attachments on the left, you will see Attachment Manager. Make sure the settings for the image files are correct in there. That is the only place I know of for the individual image settings.
Are you able to upload any image files for avatars?
ChuteBoxe
06-05-2010, 11:07 PM
Go to the Admin CP and under Attachments on the left, you will see Attachment Manager. Make sure the settings for the image files are correct in there. That is the only place I know of for the individual image settings.
Are you able to upload any image files for avatars?
Just checked attachment manager, and attachment permissions, and everything looks fine.
I'm unable to upload any images for avatars or profile pics, both from the front end and the back end.
Boofo
06-06-2010, 01:53 AM
Then it almost has to be as Lynne said. You need to set up an upload tmp dir. According to your first post there is none.
upload_tmp_dir: None
ChuteBoxe
06-06-2010, 04:38 AM
Then it almost has to be as Lynne said. You need to set up an upload tmp dir. According to your first post there is none.
Ahhh, so the php.ini needs to be edited to specify a tmp directory?
Which means I'd have to contact the hosting company?
I created a file called tmp with 777 settings in basically every directory i could.
Thanks for all your help, btw. I really appreciate it.
--------------- Added 1275885022 at 1275885022 ---------------
Anyone know the next step?
Boofo
06-07-2010, 03:55 AM
Contacting your host is about the only option you have left now.
Marco van Herwaarden
06-07-2010, 04:04 AM
Check the PHP-Info under the Maintenance tab in your AdminCP for the safe-mode settings and the temp upload directory.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.