** Description changed: - Guys while i have display_errors off in PHP 5.5.9-1ubuntu4 (package) it keeps printing the following error: - Unknown: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in seller/controller/dbOperator.php on line 9 + Guys while i have display_errors off in PHP 5.5.9-1ubuntu4 (package) it keeps printing the following error: + Unknown: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in seller/controller/dbOperator.php on line 9 - if i set the display_errors On the error messages is: + if i set the display_errors On the error messages is: Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in system/database/mysql_cached.php on line 10 Unknown: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in seller/controller/dbOperator.php on line 9 For some reason the Unknown: error cant get hidden i'm using a work around like this: ob_start(); - $dbOp = new dbOperator($dbHost,$dbUsername,$dbPassword,$dbName); + $this->link=mysql_connect($dbHost,$dbUsername,$dbPassword,true); ob_end_clean() Just to hide the message. I also have to say that the same legacy code was running fine in ubuntu 12.04. Have fun!
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1320532 Title: display_errors Off not respected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1320532/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs