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)

CyberRanger 12-06-2007 02:36 PM

Quote:

Originally Posted by Hex_legend (Post 1396209)
however when I upload a media clip of something 2MB+ it comes up with

Upload Error! Can Not Upload.

Quote:

Originally Posted by nebu (Post 1277951)
tell me what to do plz.

Like Jelle has said already, 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.

Hex_legend 12-06-2007 02:42 PM

Is there a maximum that we can upload?

I have a few videos that I'll be uploading that are over 100mb.. Would this cope?

RS_Jelle 12-06-2007 03:16 PM

Quote:

Originally Posted by thebigman87 (Post 1394625)
Yes they are all there separated by spaces.

I don;t know if this makes it more confusing but I also have the Create a Thread Add On and even though it sends the user to a White Page, the thread is still created detailing the item uploaded by which user.

That's a sign that the PHP code works, but normally after the plugins (add-on) are finished there's a final redirect after uploading.

Are you on PHP Safe Mode (just to be sure, normally DownloadsII gives you an information bar about that if you need to do any extra steps because of that)?
Can you find any of the uploaded files in the downloads folder on your forums FTP? What's their chmod?

We are just using the default upload PHP functions, so I'm not sure what goes wrong on your site :confused:

Quote:

Originally Posted by Hex_legend (Post 1396216)
Is there a maximum that we can upload?

I have a few videos that I'll be uploading that are over 100mb.. Would this cope?

Just add the .htaccess file like CyberRanger says and change the 30 to the maximum amount of MB's you need. This overwrites the PHP upload limitation from the php.ini configuration file. You can also see your "PHP Max Post Size" and "PHP Maximum Upload Size" on the home of your AdminCP.

Hex_legend 12-06-2007 03:19 PM

Thanks guys

Worked like a charm

thebigman87 12-06-2007 04:28 PM

Thanks for your help, I done what you suggested and it appears that the Create a Thread is causing the trouble, as with it disabled it redirects to the newly created File but obviously doesn't create a new thread.

So the White Page Issue is fixed... to a degree. Cheers

CyberRanger 12-06-2007 04:35 PM

Quote:

Originally Posted by thebigman87 (Post 1396282)
appears that the Create a Thread is causing the trouble

bummer, I haven't looked at that add-on in a year or so. Looks like I need to maybe update it!

Emarkay 12-07-2007 03:55 AM

I'm trying hard to increase the upload limit with this great add-on, but I keep on running into brick walls.

I can't use the .htaccess file as mentioned above, because my host won't allow it for security reasons? The file gets edited out with #'s and a statement that it's not allowed. Tried to do updated php.ini files everywhere, with no success. Tried looking in the forums config file in the includes folder, no success.

Some threads say to restart the apache server, but I don't have direct access to that since it's a simple hosting plan.

I'm not sure if you guys could suggest any other ideas, but they would be appreciated. Other than the limit I want to increase, this add-on is really great! Really good work. Thanks !

RS_Jelle 12-07-2007 01:18 PM

Quote:

Originally Posted by Emarkay (Post 1396603)
I'm trying hard to increase the upload limit with this great add-on, but I keep on running into brick walls.

I can't use the .htaccess file as mentioned above, because my host won't allow it for security reasons? The file gets edited out with #'s and a statement that it's not allowed. Tried to do updated php.ini files everywhere, with no success. Tried looking in the forums config file in the includes folder, no success.

Some threads say to restart the apache server, but I don't have direct access to that since it's a simple hosting plan.

I'm not sure if you guys could suggest any other ideas, but they would be appreciated. Other than the limit I want to increase, this add-on is really great! Really good work. Thanks !

I don't understand why they are blocking .htaccess files also. Your host is pretty strict :D
If that method isn't allowed, you also won't have any (virtual) php.ini access also and there are no other methods. The only thing you can do is contacting your host and ask why they aren't allowing it as it's not a normal security measure a lot of hosts are using.

mri_mohammad 12-08-2007 12:06 AM

this 2 website use this hack and remove the copyright :

http://forum.iranproud.com/downloads.php
http://www.persianhub.org/downloads.php

SAUR0N 12-08-2007 12:22 PM

is it normal that the files dupicates itself into a tmp folder? because with a 500kb files it's ok but with a 2gb :S


All times are GMT. The time now is 01:31 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.04396 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
  • (1)bbcode_code_printable
  • (6)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