vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Making attachment file size bigger? (https://vborg.vbsupport.ru/showthread.php?t=209778)

dmknights 03-29-2009 10:47 AM

Making attachment file size bigger?
 
Can anyone help me out on this?

Ive done the normal stuff in attachment manager

Set the bytes size to what i want
allowed for usergroups

etc etc

but the upload limit remains the same

I want to have an upload limit of 10MB for a zip file but its staying at 5.25MB

Any ideas?

snakes1100 03-29-2009 11:30 AM

admincp --> maintenance --> view php info

What do these two variables state?
post_max_size ?
upload_max_filesize ?

You will most likely have to change those variables to a higher number ie
post_max_size 15M
upload_max_filesize 15M

Then HUP/Restart apache.

If you dont have root access to restart apache, you can try using a local php.ini file with this in it, thats if your host allows local php.ini override by clients, upload php.ini to your public_html/root folder.

post_max_size=15M
upload_max_filesize=15M

As well you host may allow php_flag in a htaccess file.
edit .htaccess and add the following to it.
php_flag post_max_size 15M
php_flag upload_max_filesize 15M

dmknights 03-29-2009 02:39 PM

this is what my php info says:

post_max_size 8M
upload_max_filesize 2M

My php.ini file has max file upload of 60MB

ideas?

snakes1100 03-29-2009 02:47 PM

You have to change both, not just one, also i stated your host may not allow local php.ini file over ride.

dmknights 03-29-2009 02:55 PM

i said that is what my php INFO said!

NOT my php.ini

this is what my php.ini contains:

Code:

[PHP]
allow_url_fopen = On
allow_url_include = On

;;;;;;;;;;;;;;;;;;;;;;;;;;;
; forum.golzarion.com* by Mohsen ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048

post_max_size=15M
upload_max_filesize=15M


Seven Skins 03-29-2009 03:20 PM

Put one edited php.ini in forum root and one in admincp folder I done that in someones forum and problem was sorted.

dmknights 03-29-2009 03:42 PM

put them in both root & admincp folder

Still no difference


All times are GMT. The time now is 12:15 AM.

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.00911 seconds
  • Memory Usage 1,717KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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