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)

squidsk 08-10-2011 06:59 PM

You're misreading the error message. The error occurs on ajax.php at line 69, which is a hook, the actual error is on the 102 line that is being evaluated at that hook.

So to solve the error, go to line 69 of your ajax.php and find what hook is being evaluated when the problem occurs. Then go to the corresponding hook for downloadsII and see what the 102nd line of code is.

Based on the referrer I'd say it has something to do with searching downloads.

peterle1 08-10-2011 07:11 PM

Thanks, but the hook ist ajax_start and there are two plugins using that hook.
One ist vbacmps and the other one is ecdownloads installed with this mod.
Now I can disable vbacmps and the error jumps from line 102 to line 1.
The plugin named vbacmps has exactly 101 lines, so the next one starts with line 1 of ecdownloads.

So I think that ajax.php doesn't like the '<' at that place.

peterle1 08-10-2011 08:12 PM

Well some testing seems to show, that the plugin ecdownloads at hook ajax_start isn't that important ... turning it off, shows no difference in the behaviour of the plugin itself ... except the missing errors. :D

Maybe, I have done something completely wrong ... sometime ...

peterle1 08-11-2011 06:35 AM

Ok, problem solved.
This "plugin" is either some lost part of an older, very much older installation or someone has done something wrong, while he tried to installed the addon.

Whatsoever - thanks for your time! :)

ProFifaLeagues 08-12-2011 09:58 AM

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.


When ever i use this i get this error.
Any ideas on any other ways to up the size limits please?

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@......com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Black Tiger 08-12-2011 10:56 AM

Quote:

Any ideas on any other ways to up the size limits please?
If you get an internal server error, it could be you can't use .htaccess files to set those limits because your host is probably using SuPHP.

In that case you can try if making your own php.ini would work.

Create a php.ini in your public_html folder with the following content:
Quote:

upload_max_filesize = 30M
post_max_size = 30M
You could then also add a .htaccess file with the following content:
Quote:

suPHP_ConfigPath /home/username/public_html
<Files php.ini>
order allow,deny
deny from all
</Files>
With these files the internal server error should be gone too.

slinky 08-18-2011 11:21 PM

Is there a way to pay to remove the copyright credits? It's the only thing cluttering up the display on my site? I generally do that to maximize the already crowded space.

Second, is there a way to get the subcategories into columns the same way like subforums can be done?

spirittina 10-09-2011 05:00 AM

*clicks install* thanks :)

Ophelia 10-25-2011 03:12 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.

I am having issues uploading files bigger than 100M. I added the above lines in the .htaccess file, changed 30 to 100. When I upload to /forum (where downloads.php is located) and try to load the forum, I receive an Error 500. I've put the same code into my .htaccess that is in / but that doesn't help.

I have also had my webhost do all the changes suggested in this thread
https://www.vbulletin.com/forum/show...=1#post1565199

But again, no ability to upload over 50M.

Nelson58 10-30-2011 01:52 PM

Hi,

I am new to VB and this mod (had a similar one for my SMF forum), so please forgive the newbie question.

I have to copy a bunch of files at once to the downloads area from my old forum. This mod does one at a time from what I can tell.

Is there any way to upoload a bunch of files at once, and then put them in categories once they are uploaded.

Thanks,

Nelson

yeppudaa 11-13-2011 05:57 PM

My hosting is move other server...
My site fullbackup is loaded. But, all files is click when the warning "ERROR: File not found."
example link:
www.mysite.com/downloads.php?do=file&id=46&act=down&actionhash=13 21206980-d2441be3a541e6d62730561ca41a6b53cfe4cf3d
Help...
Thanks..
Sorry bad my english..

karabaja3 11-13-2011 07:02 PM

Hi there!

I have a problem. I have 160747 total log entries. Verision is 5.1.0.
Prune Download log entries is set to 10
Scheduled Task Hourly Cleanup is active among the others.

But log entries do not prune. Why?

Black Tiger 11-13-2011 11:01 PM

Quote:

My site fullbackup is loaded.
Are all files at the same place and all directory rights the same as on the previous server?
Check your section where the files are.
They should look something like:
146-filename.zip

If you only have "filename.zip" without the number and dash in front of it, then that is the reason that downloads can't find the files.
In that case you have to look ad the file id's and number all files manually again. Or if you still can reach the old server, download them from there.

accludetuner 11-25-2011 08:13 AM

Getting a strange error that I think is related to VBSEO. I searched the thread but didn't see a solution.

It's partially within DownloadsII and partially with the Create Threads add-on.

When I upload a file, it uploads file and then when it goes to load the page for the newly added file and it kicks out the "Invalid File ID Specified" error.

The URL it tries to load is similarly structured to the example below:

/forum/downloads.php?do=file&amp;title=test-manual-upload-1&amp;cid=6&amp;ctitle=admin-mod-only-files&amp;id=170

The issue extends to the Thread Creation addon-on since it lists the same URL structure above in the newly created thread.

If I navigate through the DownloadsII directory to the file directly, it displays the URL structure below and the page loads fine:

/forum/downloads.php?do=file&title=test-manual-upload-1&cid=6&ctitle=admin-mod-only-files&id=170

The only difference is &amp; vs &. Odd thing is that pre-SEO the URL is /forum/downloads.php?do=file&id=170 within the DLII directory and in the thread created. It has something to do with VBSEO no parsing the &amp; when uploading a file and when in the thread.

Any ideas?

ArcadeHacks 11-25-2011 08:15 AM

Safari seems to download an uploaded zip file as an exe. Bug? I tested it in Firefox and it worked fine.

cowcowcow 11-28-2011 07:15 AM

After my host move, my comments dont show up at all.

They were fine before and i double checked usergroup permissions, everyone has access to view them. I also searched through the fourm and reimported the product file and set "Overwrite: Yes" as suggested.

Can anyone please help?

Thank you!

youjoomla 12-25-2011 02:32 AM

nice work. !

lamperd 02-12-2012 01:35 PM

Hello.

I have problem with download large files((

INI Settings
post_max_size: 150.00 mb
upload_max_filesize: 150.00 mb

.htaccess (in the downloads.php location)
php_value upload_max_filesize 150M
php_value post_max_size 150M

max_execution_time - 900 sec (15 min)

trying to upload rar archive ~ 55 mb (test.rar), after 14% progress - error 101 (net::ERR_CONNECTION_RESET)

have tried everything, what could be wrong ?

lamperd 02-12-2012 01:36 PM

Quote:

Originally Posted by lamperd (Post 2298891)
Hello.

I have problem with download large files((

Sorry! problem with UPLOAD large files*

27RUS 02-26-2012 09:08 PM

then i was trying to upload files, i have a maximum upload limit reached message

i was checking the usergroup permissions, and set to NO LIMITS but it's not work.. :erm:

please help!

27RUS 03-18-2012 11:21 PM

can anybody help me??

i was set -1 (no limits), a was set 0 for no limits in attachment
but the problem is still here!

squidsk 03-19-2012 10:26 PM

See the post a few above yours, not only is there a limit in the plugin, but there is also the php limit on upload/download sizes.

karabaja3 04-03-2012 08:23 PM

Hi there!

I have a problem. I have 160747 total log entries. Verision is 5.1.0.
Prune Download log entries is set to 1 but Scheduled Task Hourly Cleanup is not cleaning logs.

I have noticed in verision 5.1.2. error with pruning logs is fixed, but when I upgrade to 5.1.2. all my categories (152) are lost.

Quote:

DownloadsII 5.1.1 Changelog

Jelle

Fixed bug with download log pruning (name of the hook location changed)
So, is there a way to fix pruning log error without upgradeing to 5.1.2. ?

squidsk 04-06-2012 04:08 AM

Quote:

Originally Posted by karabaja3 (Post 2316498)
Hi there!

I have a problem. I have 160747 total log entries. Verision is 5.1.0.
Prune Download log entries is set to 1 but Scheduled Task Hourly Cleanup is not cleaning logs.

I have noticed in verision 5.1.2. error with pruning logs is fixed, but when I upgrade to 5.1.2. all my categories (152) are lost.



So, is there a way to fix pruning log error without upgradeing to 5.1.2. ?

Sounds like something is going wrong with the update as I've never heard of issues with losing categories before. Have you checked in the database whether or not the actual data is still there or has it been removed after the update? What steps are you taking to do the update? Since I don't think any changes are done to the category your other alternative is to just back up the category table and re-import it after doing the update.

karabaja3 04-08-2012 04:12 PM

Quote:

Originally Posted by squidsk (Post 2317216)
Sounds like something is going wrong with the update as I've never heard of issues with losing categories before. Have you checked in the database whether or not the actual data is still there or has it been removed after the update? What steps are you taking to do the update? Since I don't think any changes are done to the category your other alternative is to just back up the category table and re-import it after doing the update.

Thank you for the prompt reply.
Later I discovered that the problem was in the 'conflict' with the script 'vB Optimise'. After upgrading to version 5.1.2 I have chosen the option 'Flush Cache' inside 'vB Optimise'. Now everything is working properly, and the categories are not lost after the upgrade.

MotMann 04-16-2012 07:23 AM

Since a short time, i get the follow error code, if user need download some files:

Warnung: copy(./downloads//ec_tmp/Latest_iXtreme_and_Stock_Firmware_Pack_25_12_2011. rar) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php (Zeile 736)
ERROR: File not found.

what is wrong? The files exist...

squidsk 04-16-2012 01:43 PM

Are you absolutely sure the actual file exists on the server, not just in the downloads database? The reason I ask is I get this warning when the file doesn't exist because the line to do the copying (line 736) actually occurs before the check for whether or not the file being copied actually exists or not.

MotMann 04-16-2012 02:47 PM

Did you think, that i must upload all vB Files again? The Downloadfiles are complete.

Black Tiger 04-16-2012 07:16 PM

I think something is still missing.
You say the file is present. Is it present like:
Latest_iXtreme_and_Stock_Firmware_Pack_25_12_2011. rar
or is it present like:
10840-Latest_iXtreme_and_Stock_Firmware_Pack_25_12_2011. rar
so with a number in front of it.
Because all files without number in front of it and are present in the Downloads database will be projectes as being "not found".
Sometimes people remove those number because they don't kow what they are doing there or when files get reuploaded after a server move or something.

squidsk 04-16-2012 07:49 PM

It could be that you have two / in the path that's causing the problems, it looks like you've got the path to the downloads directory in the settings with an extra / at the end.

I could also be that if its giving permission denied then you might have some files that do not have the correct permissions. If you have server access, check to see if all files/directories in the downloads directory have rw attributes set for user, group and world. If not you should run chmod 777 *.

Black Tiger 04-16-2012 09:33 PM

Quote:

check to see if all files/directories in the downloads directory have rw attributes set for user, group and world. If not you should run chmod 777 *.
The files don't need to be, but the /downloads and /ec_tmp directory's should be 777.
Unless your host is using suphp then they should be 755.
For the files it won't matter, they don't need to be 777.

hunter1985 10-14-2012 04:28 PM

This mod is fantastic, vB DownloadsII FTW!

Alfa1 11-27-2012 09:11 PM

Is there an importer from AndrewD's Links & Downloads Manager (LDM)?

thepowerofnow 11-28-2012 08:16 AM

I just upgraded my vb to latest 4 version but suddenly suddenly downloads become blank, - http://www.wihara.com/forum/downloads/ . anybody know why ? how to make it work again ? it is 6.05 version

squidsk 11-28-2012 02:38 PM

Quote:

Originally Posted by thepowerofnow (Post 2386016)
I just upgraded my vb to latest 4 version but suddenly suddenly downloads become blank, - http://www.wihara.com/forum/downloads/ . anybody know why ? how to make it work again ? it is 6.05 version

Did you use the upgrade script or just install the vb4 over the vb3 version?

thepowerofnow 11-29-2012 01:05 PM

Quote:

Originally Posted by squidsk (Post 2386092)
Did you use the upgrade script or just install the vb4 over the vb3 version?

upgrade script from /install/upgrade.php , i was using 4.11 to 4.17 / latest now there is. thanks so much

what do i need to do ? thakns :)

squidsk 11-29-2012 06:35 PM

Quote:

Originally Posted by thepowerofnow (Post 2386430)
upgrade script from /install/upgrade.php , i was using 4.11 to 4.17 / latest now there is. thanks so much

what do i need to do ? thakns :)

You misunderstood, when you upgraded downloadsII, not vbulletin, did you use the downloadsII upgrade script or just install the downloadsII product from the xml file?

emath 12-15-2012 06:19 PM

Quote:

Originally Posted by accludetuner (Post 2271706)
Getting a strange error that I think is related to VBSEO. I searched the thread but didn't see a solution.

It's partially within DownloadsII and partially with the Create Threads add-on.

When I upload a file, it uploads file and then when it goes to load the page for the newly added file and it kicks out the "Invalid File ID Specified" error.

The URL it tries to load is similarly structured to the example below:

/forum/downloads.php?do=file&amp;title=test-manual-upload-1&amp;cid=6&amp;ctitle=admin-mod-only-files&amp;id=170

The issue extends to the Thread Creation addon-on since it lists the same URL structure above in the newly created thread.

If I navigate through the DownloadsII directory to the file directly, it displays the URL structure below and the page loads fine:

/forum/downloads.php?do=file&title=test-manual-upload-1&cid=6&ctitle=admin-mod-only-files&id=170

The only difference is &amp; vs &. Odd thing is that pre-SEO the URL is /forum/downloads.php?do=file&id=170 within the DLII directory and in the thread created. It has something to do with VBSEO no parsing the &amp; when uploading a file and when in the thread.

Any ideas?

i have the same exact problem !!

can anyone please help us ?

the vbseo rewrite rules :

Quote:

'downloads\.php\\?do=file&amp;title=(.+?)&amp;cid =(\\d+)&amp;ctitle=(.+)&amp;id=(\\d+)' => 'downloads/$3/$2/$1-$4/'
'downloads\.php\\?do=cat&amp;title=(.+)&amp;id=(\ \d+)$' => 'dlcat-$1-$2/'

emath 12-20-2012 10:31 PM

bump.
any help please ?

Black Tiger 12-20-2012 10:51 PM

You should ask over at VBSeo, problem seems in there.
They also have an error in their downloads/downloadsII.php addon for a long time and did not fix it yet.

The "order by" should be changed like this:
Code:

("SELECT id,name FROM " . TABLE_PREFIX . "dl_cats ORDER BY `id`");
A little bit further it should read:
Code:

        $mods = $db->query("SELECT id as fid FROM " . TABLE_PREFIX . "dl_files");
        while ($mod = $db->fetch_array($mods))
        {
                $url = $vbseo_vars['bburl'].'/downloads.php?do=file&amp;id='.$mod['fid'];
                if(VBSEO_ON)

However, this is for the vbseo sitemap addon, probably exists somewhere on the real VBSeo too but I don't know where.
There is no problem with Downloads II, vbSeo has some incorrect statements which need to be fixed, so that's why it's best to ask over at VBSeo.


All times are GMT. The time now is 08:43 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.06234 seconds
  • Memory Usage 1,849KB
  • 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
  • (4)bbcode_code_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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