Thread: Major Additions - Links and Downloads Manager
View Single Post
  #308  
Old 08-29-2006, 01:37 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just upgraded my forums to 3.6 and upgraded the ldm to 2.6. beta1 and I reported this error to vbulletin.com
Quote:
One of the products which I have installed is called the Links and Downloads manager. The product works fine, however when I am finished downloading a file and click on the forum link on the navbit I get the following error:

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_real_escape_string(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 648

Warning: mysql_query(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 354

Warning: mysql_error(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 828

Warning: mysql_errno(): 6 is not a valid MySQL-Link resource in /includes/class_core.php on line 846

Database error in vBulletin 3.6.0:

Invalid SQL:

UPDATE session
SET lastactivity = 1156835672, location = '', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, useragent = ''
WHERE sessionhash = '';

MySQL Error :
Error Number :
Date : Tuesday, August 29th 2006 @ 12:14:33 AM
Script : http://www.troc.us/forum/downloads.p...p&id=9&catid=4
Referrer : http://www.troc.us/forum/downloads.php?catid=4&linkid=9
IP Address :
Username : EasyTarget
Classname : vB_Database

HTTP/1.1 200 OK Date: Tue, 29 Aug 2006 07:21:52 GMT Server: Apache/1.3.33 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e Cache-Control: private Content-Encoding: gzip Pragma: private X-Powered-By: PHP/5.1.2 Content-Length: 8870 Keep-Alive: timeout=5, max=89 Connection: Keep-Alive Content-Type: text/html; charset=ISO-8859-1

I use avant browser and confirmed that I receive this error in Internet Explorer as well (Avant is based on IE), however when using Firefox the error does not occur.
I reported it to them because when I searched the thread I found another error based on class_core.php and you asked the person to report it to them as it had something to do with unset array elements in the vB code. The support people said this was more or less correct but that
Quote:
The error is from third party code not correctly using vBulletin classes and functions.
I rolled back to 2.2.5 and it works fine.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01118 seconds
  • Memory Usage 1,769KB
  • 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_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