Thread: Major Additions - DownloadsII
View Single Post
  #1047  
Old 11-09-2010, 07:10 PM
RS_Jelle RS_Jelle is offline
 
Join Date: Jul 2005
Posts: 1,276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Montecristo View Post
RS_Jell, I have found a bug.

I set in the group so that users can not delete your uploaded files and the same appears to them that option.

Any idea?
Good catch, pretty strange I really missed that permission check
This will be fixed in the next release.

Quote:
Originally Posted by Nadeemjp View Post
hi Jelle
I am running vb4.0.8 the latest version.
I have always uploaded files and never tried to download.
A couple of days ago I tried to download one of my own files and i came accross the following errors:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@familybunker.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 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.familybunker.com Port 80


i tried downloading all the files and every file gives this error.
any particular reason why this is happening?
This is a server specific error. Internal server errors are mostly caused by invalid .htaccess contents.

Quote:
Originally Posted by Smiler2009 View Post
I need to be able to filter the download categories based on additional usergroups, not just primary, is this being worked on for a future update?

Jeff.
I'm already looking into additional usergroups

Quote:
Originally Posted by Semlyen IT View Post
Is this a bug?

Once a user has uploaded a file, they're redirected to the page for that file (downloads.php?do=file&id=xx).

But if the file has to be moderated, the user can't view this page. So they get a "You don't have permissions to view this page" error page. Which is confusing for the users who will assume that the upload hasn't worked.

EDIT: At the risk of seeming a little hack-happy I fixed this by changing line 1645 in download.php from

Code:
$vbulletin->url = 'downloads.php?' . $vbulletin->session->vars['sessionurl'] . "do=file&id=$id";
to:

Code:
$vbulletin->url = 'downloads.php?' . $vbulletin->session->vars['sessionurl'];
I see you are running 6.0.5, just upgrade to 6.0.6 as it's fixed in it (in another way)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01679 seconds
  • Memory Usage 1,784KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete