When using Zend Compatibility Mode, you'll not be able to use MySQLi as you would like. Each time you try to create a new object you'll get:
"Fatal error: Trying to clone an uncloneable object of class mysqli in XXX".
In order to use the mysqli objects you'll need to deactivate Zend Compatibility mode before calling the connect procedure:
ini_set('zend.ze1_compatibility_mode', 0);
$mysqli = new mysqli(hostname,username,password,[database]);
for rayzz.. edit /var/www/rayzz/common/classes/adodb/drivers/adodb-mysqli.inc.php
** Issue happening under Unix and Windows OS.
Windows and linux information and one stop centre for myself. Having difficulties to remember all things at once. This blog will remain be my references on the internet. Other people can take benefit from it. Thank you for visiting
Thursday, November 22, 2007
PHP : Fatal error: Trying to clone an uncloneable object of class mysqli
Subscribe to:
Post Comments (Atom)
Simple Python Calculator This script will allows your to calculate the integers given with the chosen operation. You can add, substract, mu...
-
when trying to apt-get update i got this error message :- W: There is no public key available for the following key IDs xxxxxxxxxxxx t...
-
Skrip ini aku guna kat server aku.. backup mysql setiap hari. Hanya perlu ubah pada bahagian setting sahaja. chmod dan set cron untuk daily ...
-
This tutorial will help you get AWStats and Lighttpd working together. AWStats is an excellent log analyzer, and works well with Lighttpd. T...
No comments:
Post a Comment