Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-14-2009, 10:27 AM
The_Rascal The_Rascal is offline
 
Join Date: Aug 2008
Location: UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default File upload failed error message

Hi,
We have a problem uploading files to posts on our forum.

I have run a diagnostics in the admin cp above and the results are as follows: -
file_uploads: On
open_basedir: None
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 2.00 MB

Having checked most of the setting this morning already, I have discovered that the attachements are being saved in the database.
I have also increased a lot of the file sizes to more than the 2mb described above...

I presume that I need to set directory locations for the open_baderdir and the upload_tmp_dir?
If so where about should I put them on the ftp?

I cannot upload a file of ANY size, a 1.6mb zip or a 4kb text file... I always get file upload failed...

Can anyone help, please?

Thanks
Reply With Quote
  #2  
Old 03-14-2009, 12:35 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please post a screen shot of the error page when the upload fails.

Correct both of there to the following and restart apache:
upload_max_filesize = 3M
post_max_size = 3M
Reply With Quote
  #3  
Old 03-14-2009, 01:04 PM
The_Rascal The_Rascal is offline
 
Join Date: Aug 2008
Location: UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



Thanks for the reply snakes1100,
Where do I correct these settings?
and how do I restart Apache?

A bit new to this side of things :$

Only seems to be affecting a small amount of members
I am admin and cannot upload, but another admin can..
Some users cannot upload, but I was able to add an attachment to a users post last week...
Somewhat confused...
Reply With Quote
  #4  
Old 03-14-2009, 01:32 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As you didn't provide us with many details, changing those settings and restarting apache require a vps/dedicated server, ie root privileges.

If your host allows local use of php.ini files, you can set those values in a local php.ini file and upload it to your root/public_html forlder.

Also, are you apart of any other usergroup or just the admin usergroup?
Reply With Quote
  #5  
Old 03-14-2009, 06:27 PM
The_Rascal The_Rascal is offline
 
Join Date: Aug 2008
Location: UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am in another usergroup aswell, but the same as the other admin who can upload files...

What details do you need and I'll see what I can find...?

We are hosted on a dedicated server (globalgold) but I can't see any .ini files on the root of the ftp... so not sure if they will allow us to do that or not.

Thaks for taking the time to help us
Reply With Quote
  #6  
Old 03-14-2009, 07:12 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you and the other admin are in the same usergroups, he can upload without issue & you cant, then i would guess that you are tied to "additional usergroups" that he isn't.

Do you both have the same "additional usergroups"?
Reply With Quote
  #7  
Old 03-14-2009, 08:22 PM
as7apcool as7apcool is offline
 
Join Date: Feb 2009
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plz try do repair for database

or make files hosted on the server not on your sql of the forum

to get fast performance
Reply With Quote
  #8  
Old 03-15-2009, 12:02 AM
The_Rascal The_Rascal is offline
 
Join Date: Aug 2008
Location: UK
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ snakes1100 - yes, we are in the same exact same groups.
@as7apcool - I'll try a database repair tomorrow, and change the settings to put the files on the server rather than the databse too...

Thanks :up:
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:35 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.01962 seconds
  • Memory Usage 2,212KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete