Any insight into this error? Trying to clone unclonable object of type mysqli?
public static function _link() {
if (!isset(self::$link)) {
self::_setup_link(); // establish link if it hasn't been done yet
}
return self::$link; // This line produces the error
}
In addition:
if (!$tmp_result = self::$link->query($tmp_query)) { //This line also produces an error
// Citing unclonable object of type mysqli_result
printf ("Query failed while attempting to populate object: <b>%s</b><br>", self::$link->error);
} else
These lines worked fine on windows xp, apache2, php 5, mysql 5
They are not working on fedora core 4, apache2, php5, mysql 4.1 - in additon this box uses a socket (if it makes a diffence)