I have not made changes to the files for at least six months. Lastnight, a guest let me know my cart wasn't working. I tried uploading my archive copy from six months ago, which did not resolve the problem.
This is the error entry. It looks like there is a bad query:
[06-Feb-2014 20:14:14] PHP Fatal error: 1054:Unknown column 'c.categories_status' in 'where clause' :: select c.categories_id, cd.categories_name from categories c, categories_description cd where c.categories_id=cd.categories_id and c.parent_id= '0' and cd.language_id='1' and c.categories_status='1' order by c.sort_order, cd.categories_name in /big/dom/xwhatwouldwaltdo/www/Secure_Server/pages/pins/includes/classes/db/mysql/query_factory.php on line 219
Any ideas?
Line 219-233:
$zp_db_resource = @$this->query($zf_sql, $this->link);
if (!$zp_db_resource) {
if (@mysql_errno($this->link) == 2006) {
$this->link = FALSE;
$this->connect($this->host, $this->user, $this->password, $this->database, $this->pConnect, $this->real);
$zp_db_resource = @mysql_query($zf_sql, $this->link);
}
if (!$zp_db_resource) {
$this->set_error(@mysql_errno($this->link),@mysql_error($this->link));
}
}
if(!is_resource($zp_db_resource)){
$obj = null;
return true;
}


Reply With Quote
