Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-05-2010, 03:58 AM
ChuteBoxe ChuteBoxe is offline
 
Join Date: Jun 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Uploading Avatar Failure

Fresh VB4 install...

Went into admincp/maintenance/diagnostics and this is what came back...

Quote:
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...
Reply With Quote
  #2  
Old 06-05-2010, 04:05 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 06-05-2010, 04:27 AM
ChuteBoxe ChuteBoxe is offline
 
Join Date: Jun 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's saying...

Quote:
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.
Reply With Quote
  #4  
Old 06-05-2010, 08:22 AM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChuteBoxe View Post
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
Reply With Quote
  #5  
Old 06-05-2010, 10:20 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either that or it is a wrongly named image.
Reply With Quote
  #6  
Old 06-05-2010, 06:51 PM
ChuteBoxe ChuteBoxe is offline
 
Join Date: Jun 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Animemike View Post
Make sure the directory has appropriate permissions
This is why it is failing
The customavatars and customprofilepics folders are both set to 777.

--------------- Added [DATE]1275767692[/DATE] at [TIME]1275767692[/TIME] ---------------

Quote:
Originally Posted by Boofo View Post
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.
Reply With Quote
  #7  
Old 06-05-2010, 07:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 06-05-2010, 07:32 PM
ChuteBoxe ChuteBoxe is offline
 
Join Date: Jun 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up:
Quote:
Originally Posted by Boofo View Post
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...
Reply With Quote
  #9  
Old 06-05-2010, 07:37 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably need to set an upload_tmp_dir for use.
Reply With Quote
  #10  
Old 06-05-2010, 07:55 PM
ChuteBoxe ChuteBoxe is offline
 
Join Date: Jun 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15418 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete