vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   File upload failed error message (https://vborg.vbsupport.ru/showthread.php?t=208292)

The_Rascal 03-14-2009 10:27 AM

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

snakes1100 03-14-2009 12:35 PM

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

The_Rascal 03-14-2009 01:04 PM

https://vborg.vbsupport.ru/external/2009/03/22.png

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

snakes1100 03-14-2009 01:32 PM

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?

The_Rascal 03-14-2009 06:27 PM

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 :)

snakes1100 03-14-2009 07:12 PM

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"?

as7apcool 03-14-2009 08:22 PM

plz try do repair for database

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

to get fast performance

The_Rascal 03-15-2009 12:02 AM

@ 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:


All times are GMT. The time now is 11:49 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.00961 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete