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)

hugh_ 01-08-2008 06:43 PM

Since upgrading from php4 to php5 I keep getting the following errors and very substantially the value of increasing wait_timeout and max_allowed_packet in my.cnf hasn't helped. Any thoughts? All help gratefully received of course...

Hugh

ps: IPs removed.

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('aefad92623ce39d0197d87f57e914a60', 18587, 'xxx', '4164986e4a5501b76beee7e032910783', 1199823363, '/vbulletin/downloads.php?do=file&id=333&act=down', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR=0; MEGAUPLOAD 2.0)', 0);

MySQL Error : MySQL server has gone away Error Number : 2006
Date : Tuesday, January 8th 2008 @ 02:37:58 PM
Script : http://www.xxx.com/vbulletin/downloa...d=333&act=down
Referrer : http://www.xxx.com/vbulletin/downloads.php?do=cat&id=19
IP Address : xxx
Username : xxx
Classname : vB_Database

maidos 01-09-2008 12:07 PM

beside what do u think about the feature to report dead links?

uydudoktoru 01-12-2008 08:58 AM

hello ! Upload Your Files To External Server setting ?

RS_Jelle 01-12-2008 01:40 PM

Quote:

Originally Posted by jimjam (Post 1416704)
Suddenly we are getting file not found errors. The files are physically there, the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Thanks in anticipation

Disable vBSEO and try again :)
I don't use vBSEO myself, so I don't know how it works with DownloadsII.

Quote:

Originally Posted by drpeppper (Post 1416823)
hi i just moved servers. all of the download links are telling me Error: File Not Found.
I know its correct because all of the thumbnails work, its just the download link to actual files.

Can someone please help?

Check the chmod of the downloads folder and ec_tmp subfolder. They should be 777 (writable). The files inside of the downloads folder should have a 666 chmod normally.

Quote:

Originally Posted by cellow (Post 1416870)
Hi DownloadsII Users :)

If i change a Users nickname in vbulletin, the database tables of DownloadsII did not change. the column
dl_downloads.user
Code:

UPDATE `vb3_dl_downloads` SET `user` = "xyz" WHERE `userid` = 123
or
dl_files.uploader
Code:

UPDATE `vb3_dl_files` SET `uploader` = "xyz" WHERE `uploaderid` = 123
or
dl_comments.author
Code:

UPDATE `vb3_dl_comments` SET `author` = "xyz" WHERE `authorid` = 123
or
dl_images.uploader
Code:

UPDATE `vb3_dl_images` SET `uploader` = "xyz" WHERE `uploaderid` = 123
are existing with the old "username".

Is there any possibility to mass-update / mass-sync all nicknames in the DownloadsII tables with the actually existing nicknames in the vbulletin user table?


Thank you 4 ur support :)

There's no mass update method for this at the moment. Running those queries manually is an option.

We should place a plugin in the AdminCP so it runs those queries after a username update.
[high]* RS_Jelle notes it down :)[/high]

Quote:

Originally Posted by loki-sama (Post 1416997)
I have this Mod, but I have noticed something with happening with it. I have it set up so that a member with less then 30 posts can only download one file per day. The thing is, I've notice that there are some people that are able to beat this and are downloading multiple files in a single day. How are they doing this, and how can I stop this from happening?

EDIT:
Also I have noticed that whenever we add a file, some files become unapproved, or unpinned. Is there a way to stop this as well?

  1. Check the "Use strict daily download limits." usergroup setting. Probably it's set to No and the amount of allowed MB's to download is a higher value (or unlimited, -1).
  2. That's controlled by the "Can Avoid Moderation Queue" usergroup permission.

Quote:

Originally Posted by se_p800 (Post 1417358)
I know the amount of questions is accumulating so I am unlikely to get a answer, but is there anyway to get the thumbnails bigger?

Thanks

That's not possible at the moment. You can change it in downloads.php, but this doesn't affect old thumbnails then (and you can't recount them at the moment like vB attachment thumbnails).

Quote:

Originally Posted by hugh_ (Post 1417916)
Since upgrading from php4 to php5 I keep getting the following errors and very substantially the value of increasing wait_timeout and max_allowed_packet in my.cnf hasn't helped. Any thoughts? All help gratefully received of course...

Hugh

ps: IPs removed.

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('aefad92623ce39d0197d87f57e914a60', 18587, 'xxx', '4164986e4a5501b76beee7e032910783', 1199823363, '/vbulletin/downloads.php?do=file&id=333&act=down', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR=0; MEGAUPLOAD 2.0)', 0);

MySQL Error : MySQL server has gone away Error Number : 2006
Date : Tuesday, January 8th 2008 @ 02:37:58 PM
Script : http://www.xxx.com/vbulletin/downloa...d=333&act=down
Referrer : http://www.xxx.com/vbulletin/downloads.php?do=cat&id=19
IP Address : xxx
Username : xxx
Classname : vB_Database

That query isn't created by DownloadsII, but by vBulletin (on each page). It's a server configuration problem.

Some documentation: http://www.vbulletin.com/docs/html/m...mysql_goneaway

ezurick 01-12-2008 02:37 PM

Installed and GREAT mod! I got a question...

I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...

RS_Jelle 01-12-2008 04:34 PM

Quote:

Originally Posted by ezurick (Post 1420156)
Installed and GREAT mod! I got a question...

I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...

Use this:
HTML Code:

<if condition="is_member_of($bbuseruserinfo, 9)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>

For multiple usergroups:
HTML Code:

<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>


taheri6 01-12-2008 04:55 PM

[EDIT]
Problem Solved, my host messed up NTFS file permissions so the mod could no longer read teh files using the ANON user

rizelim 01-12-2008 08:50 PM

sorry!!!

lukedono 01-12-2008 11:01 PM

i don't know if any one asked this, but i'm getting an error in the adminCP.
i get this:

Parse error: syntax error, unexpected ']', expecting ',' or ';' in www/forum/admincp/downloadadmin.php on line 287

when i got to Categories, Import, and Downloads. is there a fix for this?

dtv100 01-13-2008 07:57 AM

1 Attachment(s)
today we find to errors .

cant upload any file and we dont have idea why .

also if you look in attach pic thats the error browser show now.

any idea what where to look .


things that change since last week we replaces apache with litespeed and turn off zend and update gars .



update:

I restore site to before I update gars and now is working again but still get error in attachment.


All times are GMT. The time now is 07:44 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.04750 seconds
  • Memory Usage 1,770KB
  • 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
  • (2)bbcode_html_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