Download Now
Requires Joomla 1.5.x and PHP5

Warning: Invalid argument supplied for foreach() in /home/jforms/public_html/components/com_kb/view/front/article.php on line 298

Warning: implode() [function.implode]: Invalid arguments passed in /home/jforms/public_html/components/com_kb/view/front/article.php on line 321

mysql_get_server_info supplied argument is not a valid MySQL Link resource mysql_get_server_info supplied argument is not a valid MySQL Link resource

mysql_get_server_info supplied argument is not a valid MySQL Link resource


Some people are reporting the following error message:

Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in [some path]/plugins/system/blueflame/bfDBUtils.php on line 16

This only happens on some servers :-) The solution is to edit the file

/plugins/system/blueflame/bfDBUtils.php 

 and replace this code:

 $str = mysql_get_server_info ( bfCompat::getDBO ()->_resource );
if (ereg ( '4.0', $str )) {
    define ( '_BF_MYSQL', '4.0' );
    echo '

Running MySQL 4.0 - This is a VERY old MySQL Version - Please Get Your Web Hosting Company To Upgrade!

';
} else {
    define ( '_BF_MYSQL', '4.1' );
}

 

with this code:

 

define ( '_BF_MYSQL', '4.1' );

 

 


Leave A Comment

or close

Email This Article

or close

Existing Comments

There are currently no comments.

myNotes My Notes

You currently have no notes on this article. You can leave your own note on this page, the note can only be seen by you (and our administrators) but not other users.

You need to login first

mysql_get_server_info supplied argument is not a valid MySQL Link resource Article Information

Hits:
393
Created:
Thursday, 04 September 2008
Author:
Last Modified:
Thursday, 04 September 2008
Access:
Public
Version:
1

Powered by Joomla Knowledgebase