Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #12358 E_STRICT-Changes have broken PHP4 Compatiblity
Submitted: 2007-10-30 15:33 UTC
From: berdir Assigned: quipo
Status: Closed Package: MDB2 (version 2.5.0a1)
PHP Version: 4.4.0 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2007-10-30 15:33 UTC] berdir (Sascha Grossenbacher)
Description: ------------ Atleast the first change of r1.299 has broken php4 compatibility http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2.php?r1=1.298&r2=1.299 I am getting those error messages: 17:23:05 10/30/07 [notice] PHP Error: Undefined index: protocol in /usr/share/php/MDB2/Driver/mysql.php at line 451 17:23:05 10/30/07 [notice] PHP Error: Undefined index: hostspec in /usr/share/php/MDB2/Driver/mysql.php at line 454 17:23:05 10/30/07 [notice] PHP Error: Undefined index: port in /usr/share/php/MDB2/Driver/mysql.php at line 456 17:23:05 10/30/07 [notice] PHP Error: Undefined index: username in /usr/share/php/MDB2/Driver/mysql.php at line 460 17:23:05 10/30/07 [notice] PHP Error: Undefined index: password in /usr/share/php/MDB2/Driver/mysql.php at line 461 17:23:05 10/30/07 [error] MDB2 Error: connect failed connect: [Error message: unable to establish a connection] Re-adding the & does solve this issue.

Comments

 [2007-10-31 17:20 UTC] quipo (Lorenzo Alberton)
I've restored the reference in the first change of r1.299 as suggested. If there are other issues, please reopen this bug report. Thank you!