The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I get this message at the top of forum when I click on a post anyone know what it might be thanks in advance
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/includes/plugins_usercountd.php on line 190 Also get this if I click a thread Unable to add cookies, header already sent. File: /home/badboys/public_html/forum/includes/class_core.php Line: 3243 |
#2
|
||||
|
||||
![]()
plugins_usercountd.php is not a default vBulletin script - it belongs to one of your plugins. You should turn off that plugin and ask whoever wrote it to fix it.
That, or if you know how to program you should go to line 190 of that script and see why mysql_fetch_array() is failing. Either way, we can't help you without the source code. |
#3
|
|||
|
|||
![]()
plugins_usercountd.php this is the php could you look at it thanks
PHP Code:
|
#4
|
||||
|
||||
![]()
You need to post for help with the plugin in the modification thread.
|
#5
|
||||
|
||||
![]() Quote:
@Dingo14, here's the problem... Code:
$query = $vbulletin->db->query_read( "SELECT $cdfield FROM " . TABLE_PREFIX . "userfield WHERE userid='" . $post["userid"] . "';" ); $result = mysql_fetch_array( $query ); Code:
$query = $vbulletin->db->query_read( "SELECT $cdfield FROM " . TABLE_PREFIX . "userfield WHERE userid='" . $post["userid"] . "';" ); if( !empty($query) ) { $result = mysql_fetch_array( $query ); } |
#6
|
||||
|
||||
![]()
In many modification threads, other users will help out. So, one should first post in the modification thread for help - or read the modification thread to see if the issue has already been brought up and a fix posted.
|
#7
|
|||
|
|||
![]()
sorry Lynne wasn't sure where to put this will be more careful in future
and thanks TigerC10 for all the help |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|