I have been trying to update my site from 1.2.1 to later versions and cannot do it. I get this message when I looked at the log, referencing lines 74 and 114 in the mysql.php file.
I installed a test 1.2.4 version with an empty data base, exported the entire database from 1.2.1 and tried to import. It failed. I then download each individual data type and tried to import those. Some worked, some failed. In other words it doesn't work.
Any ideas specific to the line 74 and 114 problems, or how to make the data export/import work?
public function query($sql, $noexcept = false) {
//echo $this->database_name;
$time_start = microtime(true);
LINE 74 -> $resource = mysql_query($sql, $this->connection);
$time_exec = microtime(true) - $time_start;
if($noexcept){
$this->error = 'AbanteCart Error: ' . mysql_error($this->connection) . '<br />Error No: ' . mysql_errno($this->connection) . '<br />' . $sql;
return FALSE;
}else{
LINE 114 -> throw new AException(AC_ERR_MYSQL, 'Error: ' . mysql_error($this->connection) . '<br />Error No: ' . mysql_errno($this->connection) . '<br />' . $sql);
}
}
}
Modify message