View Single Post
  #88  
Old 12-09-2005, 01:33 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vb 3.5.2 also and i get the exact error!!
Its not showing who has downloaded what either, when i click Who Downloaded, it says 2 downloads of File but no names or IP's also it is not logging downloads at all, and the Quick Search Engine is not finding anything....

Bashy

Quote:
Originally Posted by warrenrees
There definately appears to be compatibility issues with 3.5.2. Here's what I get when someone downloads the file:

Code:
Database error in vBulletin 3.5.2:

Invalid SQL:
INSERT INTO blunts_whodownloaded_ip (userid, username, filename, fileid, ipaddress, alt_ip, dateline)
		VALUES (1427,
			'',
			'',
			2661,
			'',
			'',
			1134139939);

MySQL Error  : 
Error Number : 
Date         : Friday, December 9th 2005 @ 09:52:19 AM
Script       : http://myforum/forum/attachment.php?attachmentid=2661&d=1133518215
Referrer     : http://myforum/forum/showthread.php?t=6349
IP Address   : x.x.x.x
Username     : blabla
Classname    : vb_database
and here's what's attached to files when I download them:

Code:
<br /><strong>Warning</strong>: mysql_real_escape_string(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>657</strong><br /><br /><strong>Warning</strong>: mysql_real_escape_string(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>657</strong><br /><br /><strong>Warning</strong>: mysql_real_escape_string(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>657</strong><br /><br /><strong>Warning</strong>: mysql_real_escape_string(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>657</strong><br /><br /><strong>Warning</strong>: mysql_query(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>395</strong><br /><br /><strong>Warning</strong>: mysql_error(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>837</strong><br /><br /><strong>Warning</strong>: mysql_errno(): 7 is not a valid MySQL-Link resource in <strong>/includes/class_core.php</strong> on line <strong>855</strong><br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
and then the whole "Database error" stuff. It gets attached to the file.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01046 seconds
  • Memory Usage 1,773KB
  • 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
  • (1)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