vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

GuaRRand 02-20-2008 06:19 PM

Quote:

Originally Posted by RS_Jelle (Post 1411831)
That's because of the default upload limit of PHP.

You need to create a file named .htaccess (note the period in front of the name). Put the following two lines into the file:

Code:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Upload the file into your forum directory (the same location where downloads.php is located.)

This will increase the size of the file you can upload to 30MB.

does it have to have certain rights?... chmod?

i made it 60MB and it still doesnt upload :(

masterweb 02-20-2008 06:32 PM

Seems really good, i'll try it later :)

RS_Jelle 02-20-2008 07:05 PM

Quote:

Originally Posted by GuaRRand (Post 1447542)
does it have to have certain rights?... chmod?

i made it 60MB and it still doesnt upload :(

No, just the standard chmod rights (readable). Watch out for the strange file name, maybe you wrote it wrong. And it needs to be uploaded in the vB forum root (where you can find downloads.php), not in the downloads folder. That's it.

Although webhosts can disable the .htaccess method, so you better contact your webhosting company.

GuaRRand 02-20-2008 07:27 PM

Quote:

Originally Posted by RS_Jelle (Post 1447573)
No, just the standard chmod rights (readable). Watch out for the strange file name, maybe you wrote it wrong. And it needs to be uploaded in the vB forum root (where you can find downloads.php), not in the downloads folder. That's it.

Although webhosts can disable the .htaccess method, so you better contact your webhosting company.

looks ok...
it also shows as a HTACCESS filetype...

GuaRRand 02-21-2008 09:50 AM

K, i asked the serverdude to edit the uploadable size to 64MB.
Quote:

upload_max_filesize 64M 64M
So i should be able to upload now right?



Yup.... still no go :(
It just says "waiting for www.glcoti.com......." and the progress/load bar stays empty.

Any ideas??
Need me to post some code?

glennybee 02-21-2008 02:09 PM

Thanks for this mod, excellent!

I'm trying to increase the upload limit (yawn you think).

I've tried everything that's been suggested. If I put the 2 lines in the /forums/.htaccess file I get an error like in this thread. If I comment out the lines it works again.

I've checked my shared server logs and this is the error that's generated...

Code:

[Thu Feb 21 09:53:41 2008] [alert] [client xx.xx.xx.xx] /home/xxxxxxxx/public_html/forums/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
Any help is appreciated. :)

Thanks

Black Tiger 02-21-2008 02:16 PM

Quote:

Invalid command 'php_value',
This notice already says enough, your webhost does not allow you to use this setting in a .htacces file. You have to contact your host to increase the max file uploadsize.

TriumphCorp 02-21-2008 04:48 PM

I have went threw all the instructions to install this

I have gotton to the part where i need to set the options up in the 'downloads' under my admin CP...

I Dont have that category. 'Downloads',

I dont see anywhere to add it.

So far i have uploaded the files in the upload folder , added the xml file, and set directory permissions of the downloads folder to full control

Restarted the IIS service, and i dont have the downloads category in my admin CP, any help?

RS_Jelle 02-23-2008 07:46 AM

Quote:

Originally Posted by GuaRRand (Post 1447995)
K, i asked the serverdude to edit the uploadable size to 64MB.

So i should be able to upload now right?



Yup.... still no go :(
It just says "waiting for www.glcoti.com......." and the progress/load bar stays empty.

Any ideas??
Need me to post some code?

You also need to set post_max_size next to upload_max_filesize ;)

You can view those server settings in your AdminCP index: "PHP Max Post Size" and "PHP Maximum Upload Size".

Quote:

Originally Posted by TriumphCorp (Post 1448215)
I have went threw all the instructions to install this

I have gotton to the part where i need to set the options up in the 'downloads' under my admin CP...

I Dont have that category. 'Downloads',

I dont see anywhere to add it.

So far i have uploaded the files in the upload folder , added the xml file, and set directory permissions of the downloads folder to full control

Restarted the IIS service, and i dont have the downloads category in my admin CP, any help?

Are you sure you uploaded includes/xml/cpnav_ecdownloads.xml correctly? That's the (only) file which controls the AdminCP menu.

GuaRRand 02-23-2008 08:41 AM

argh... max postsize is 8 mb :P
*calls serverdude again*


All times are GMT. The time now is 05:50 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.03247 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete