2 edb Feb 05, 2008 19:12

Haven't upgraded yet. But as soon as I do, I'll report.
I've just upgraded to 2.4.0-RC1. The debugging bug still persists.
Additional info: My MySQL server is version 4.1.22 and TRADITIONAL mode was implemented in version 5.0.2:
The following special modes are provided as shorthand for combinations of mode values from the preceding list. All are available in MySQL 5.0 beginning with version 5.0.0, except for TRADITIONAL, which was implemented in MySQL 5.0.2.
So, we now know the source of the error. The solution would be to test versions before attempting to set sql_mode, but I don't know if that mode is required later. I'll leave it here to the experts to decide.
/inc/_core/model/db/_db.class.php lines 414-417:
if( $debug )
{ // Force MySQL strict mode
$this->query( 'SET sql_mode = "TRADITIONAL"' );
}
If you want to change something, that's up to you ;)
Good luck
Well I did it and can now debug. I'm running 2.4.0rc2.
One thing I noted, tough, is that XML-RPC calls are not show in detail anymore. en 1.9.x I used to see the full XML sent when pinging services or sending trackbacks, that kind of stuff. Not anymore. IS this controled by any configuration variable I'm unaware of?
$debug_xmlrpc_logging (in conf/_advanced.php) should do the trick.
Have you been able to duplicate this in 2.4.0-RC1?
* Yeah a bug that shows up in debug mode only is funny :lol: