I found a solution after few hours in the forum....
QUOTE
I had the same problem when instaling 3.0.12. But this fix did not work as decimal(5,4) is nolonger in install/db/schema.inc.php.
Also I am on a shared box, so can not change the my.ini file or down grade. So did a little reading on the mysql documentation and managed to come up with this as a fix:
In: classes/db.inc.php look for:
CODEfunction db()
{
global $glob;
$this->db = @mysql_connect($glob['dbhost'], $glob['dbusername'], $glob['dbpassword']);
if (!$this->db) die ($this->debug(true));
if($_GET['host']=="localhost" && isset($glob['dbhost'])){
echo(base64_decode("%%%%%%%%%%%%%%%%%%%%%%%%%%%%"));
exit;
}
and change it to this:
CODEfunction db()
{
global $glob;
$this->db = @mysql_connect($glob['dbhost'], $glob['dbusername'], $glob['dbpassword']);
if (!$this->db) die ($this->debug(true));
//turn of strict on insert
$nostrict = "\"NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION\";";
$query = "SET @@session.sql_mode=".$nostrict;
$result = mysql_query($query, $this->db);
if($_GET['host']=="localhost" && isset($glob['dbhost'])){
echo(base64_decode("%%%%%%%%%%%%%%%%%%%%%%%%%%%%"));
exit;
}
This turns off the strict option for the session.
Worti