The following *might* provide some relief until you can get around to doing the upgrade (which should still be done as soon as possible if you're on MySQL5 now):
/includes/classes/db/mysql/query_factory.php
around line 41 you'll find:
Code:
if ($this->link) {
if (@mysql_select_db($zf_database, $this->link)) {
$this->db_connected = true;
return true;
} else {
Insert an extra line as shown:
Code:
if ($this->link) {
if (@mysql_select_db($zf_database, $this->link)) {
@mysql_query("SET SESSION sql_mode = ''", $this->link);
$this->db_connected = true;
return true;
} else {
Doing this *might* be enough to tell MySQL 5 to ignore some of the strictness it normally enforces.
Bookmarks