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)

RS_Jelle 03-14-2009 07:17 PM

Quote:

Originally Posted by Mutio (Post 1766542)
First of great thanks for this fantastic plugin!

Now I have two problems for which I'd like to ask for your help:

1) I just recently moved my site to a new server. Where the original link to the forums was www.visual-novels.net/forum the new one is www.visual-novels.net/vb

Now the downloads work fine, however a few internal links are messed up. On the left site http://www.visual-novels.net/vb/downloads.php the categories like Latest Files or Most Popular Files still link to the /forum/ folder. How do I edit them, so that everything links to the new /vb/ folder?

2) Is there a way to add multiple downloads in one entry? For example I have several versions of one file for Windows, Linux, Mac and so on and would like to have the download links all in one entry.

Thanks in advance for your help!

1. Click the "Update Counters" link at your downloads section. The left side statistics are being cached.

2. This isn't possible at the moment, but probably in the future it will.

Quote:

Originally Posted by BozzaJos (Post 1767274)
Hey guys!

The past couple of weeks, I've experienced a problem with this mod. I've asked for help twice but till now, no assistance received yet. In the meantime, I added another problem to my list. Is there anyone who can assist me with these problems because it seems like the system has gone from running perfect to almost not running at all lol.

#1: A staffmember, who is in a custom usergroup called "Trial Mods", can't upload any files. When he adds the file and hits the submit button, he gets the following error:
Code:

"Maximum Upload Limit would be Exceeded by this file. Try a smaller file."
It just suddenly appeared. He was always able to add files but not any more. I don't have this problem and neither do registered members (tested it out myself with a testaccount).

#2: Received a couple of e-mails and PMs from members who get the following error when adding a file:
Code:

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(5721) : eval()'d code on line 10

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php(5721) : eval()'d code on line 61
vBulletin Message

    Your submission could not be processed because a security token was missing.

    If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


I really hope these problems can be fixed soon. I've noticed that members are actually leaving because they can't upload their files to the Downloads Centre.

Thank you in advance for any help given!

1. Did you check the usergroup permissions? The "error" is caused by an upload limit you can set on a per usergroup basis.

2. Line 5721 of /includes/functions.php is the global_complete hook, but DownloadsII isn't using this plugin location. So the PHP warning is caused by another mod.

You will get the security token error when an upload is timing out, which is caused by a PHP server setting. Have a look at http://www.vbulletin.com/forum/showp...23&postcount=3 (the vB attachment system will give you the same problem with large files).

Quote:

Originally Posted by Wyzrd (Post 1767431)
I'm getting a Internal Server Error everytime I try to open the downloads page on my site. Also get the Internal Server Error in the Admin CP for everything under downloads except for Settings.

Any help?


----------
EDIT: Well it's working on my site now. But now I still get the Internal Server Errors in the Admin CP.

Try reuploading all files. This is clearly a problem at your server side :)

Quote:

Originally Posted by scrapableowner (Post 1767470)
I uploaded the "upload" folder to /public_html/forum/ on my server.

Did you upload the upload folder itself (wrong)? Or only its content (correct)? :D

BozzaJos 03-14-2009 07:28 PM

Thanks for the quick answer Jelle! Do you have any idea how to find out which mod is causing the problem with DownloadsII? Perhaps good to know for other members as well. I have many mods installed so it will be hard for me to find out if I have to check it manually.

Thanks again for the help!

RS_Jelle 03-14-2009 07:34 PM

Quote:

Originally Posted by BozzaJos (Post 1768156)
Thanks for the quick answer Jelle! Do you have any idea how to find out which mod is causing the problem with DownloadsII? Perhaps good to know for other members as well. I have many mods installed so it will be hard for me to find out if I have to check it manually.

Thanks again for the help!

I have no idea :)
As its name says, the global_complete hook is being used a lot. You can sort plugins on their hook location at the plugin manager. Then find out which of them are using a foreach() function in their PHP code.

BozzaJos 03-14-2009 07:59 PM

Yes Jelle, I thought of that as well and worked it out. The problem was being caused by vBSEO - DownloadsII. It's an add-on for your own mod, re-writing all the downloads to SEF urls. I will contact vBSEO that there is a problem when using it. Truly a shame and hopefully, they will be able to find a fix for it because it's such a good mod. It just shows the url with the downloadtitle in it.

BUT.... the other error message is still present. I mean this one:
"Maximum Upload Limit would be Exceeded by this file. Try a smaller file."

It's really weird because most members don't encounter this problem but only some do. And those members never had a problem because. It just kicked in...

Any idea because it's kind of important that I fix it. My top uploader has this problem and I'm missing quite a few downloads now.

Thanks Jelle! And respect to the Dutch speaking lads! :D

gigaenvy 03-14-2009 08:02 PM

There seems to be a few questions on how to get the Latest Files displayed on another page (template) or in another area in the sidebars. Since this thread is already 35+ pages long, does anyone know if this has been answered?

Is an include needed somewhere or how do we go about using $dpanel_latest_bits in another VB template or page?

I know about VBA and it's working fine for me, but can't figure it out for sections like the sidepanel, header, navbar, footer, etc.

gigaenvy 03-14-2009 08:31 PM

Quote:

Originally Posted by gigaenvy (Post 1768191)
There seems to be a few questions on how to get the Latest Files displayed on another page (template) or in another area in the sidebars. Since this thread is already 35+ pages long, does anyone know if this has been answered?

Is an include needed somewhere or how do we go about using $dpanel_latest_bits in another VB template or page?

I know about VBA and it's working fine for me, but can't figure it out for sections like the sidepanel, header, navbar, footer, etc.

I figured it out by using downloads2.php and taking portions of that code and using it within my homepage cms .php. Just need to clean up some code and integrate with the site design.

RS_Jelle 03-14-2009 10:43 PM

Quote:

Originally Posted by BozzaJos (Post 1768189)
Yes Jelle, I thought of that as well and worked it out. The problem was being caused by vBSEO - DownloadsII. It's an add-on for your own mod, re-writing all the downloads to SEF urls. I will contact vBSEO that there is a problem when using it. Truly a shame and hopefully, they will be able to find a fix for it because it's such a good mod. It just shows the url with the downloadtitle in it.

BUT.... the other error message is still present. I mean this one:
"Maximum Upload Limit would be Exceeded by this file. Try a smaller file."

It's really weird because most members don't encounter this problem but only some do. And those members never had a problem because. It just kicked in...

Any idea because it's kind of important that I fix it. My top uploader has this problem and I'm missing quite a few downloads now.

Thanks Jelle! And respect to the Dutch speaking lads! :D

I edited my previous message with an answer to that too while you where posting your first response :p
Quote:

Originally Posted by RS_Jelle
Did you check the usergroup permissions? The "error" is caused by an upload limit you can set on a per usergroup basis.


Drakah 03-14-2009 11:01 PM

When I edit a file to upload a new version, I get an error on the page that says:

Line: 12
Char: 3005
Error: 'length' is null or not an object
Code: 0

how do I fix that?

RS_Jelle 03-14-2009 11:07 PM

Quote:

Originally Posted by Drakah (Post 1768317)
When I edit a file to upload a new version, I get an error on the page that says:

Line: 12
Char: 3005
Error: 'length' is null or not an object
Code: 0

how do I fix that?

You are using Internet Explorer?

Tools -> Internet Options? -> Advanced -> Disable Script Debugging

Is this disable option enabled? It's enabled by default normally.

Drakah 03-14-2009 11:11 PM

Yes, using IE. I dont have the box showing to me when it happens, but I did notice it each time I edit a file. Is there something wrong with the code that gives that error?


All times are GMT. The time now is 05:49 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.03789 seconds
  • Memory Usage 1,767KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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