Hi,
I'm not sure what I've done but I'm getting the following error everytime I try to access my store
Fatal error: Class 'DB\stdClass' not found in /MYSITE/public_html/store/system/library/db/mysql.php on line 39
which is
$query = new stdClass();
in code
if ($resource) {
if (is_resource($resource)) {
$i = 0;
$data = array();
while ($result = mysql_fetch_assoc($resource)) {
$data[$i] = $result;
$i++;
}
mysql_free_result($resource);
$query = new stdClass();
$query->row = isset($data[0]) ? $data[0] : array();
$query->rows = $data;
$query->num_rows = $i;
unset($data);
return $query;
} else {
return true;
}
} else {
$trace = debug_backtrace();
Can anyone help?????
Hi
I have just change it to MYSQLi and i now get this. please can you help.
Notice: Error: Can't DROP 'value'; check that column/key exists
Error No: 1091
ALTER TABLE `product_option` DROP `value` in /home/flowcent/public_html/system/library/db/mysqli.php on line 40
Notice: Error: Can't DROP 'option_value'; check that column/key exists
Error No: 1091
ALTER TABLE `product_option` DROP `option_value` in /home/flowcent/public_html/system/library/db/mysqli.php on line 40
Warning: Cannot modify header information - headers already sent by (output started at /home/flowcent/public_html/system/library/db/mysqli.php:40) in /home/flowcent/public_html/system/library/response.php on line 12
put back up for now.
Thank you
Mark
I have just change it to MYSQLi and i now get this. please can you help.
Notice: Error: Can't DROP 'value'; check that column/key exists
Error No: 1091
ALTER TABLE `product_option` DROP `value` in /home/flowcent/public_html/system/library/db/mysqli.php on line 40
Notice: Error: Can't DROP 'option_value'; check that column/key exists
Error No: 1091
ALTER TABLE `product_option` DROP `option_value` in /home/flowcent/public_html/system/library/db/mysqli.php on line 40
Warning: Cannot modify header information - headers already sent by (output started at /home/flowcent/public_html/system/library/db/mysqli.php:40) in /home/flowcent/public_html/system/library/response.php on line 12
put back up for now.
Thank you
Mark
alreadyon 2.0.3.1 new \stdClass();ocxd wrote:new stdClass();
Changed To:
new \stdClass();
can you help me ?
Who is online
Users browsing this forum: Bing [Bot] and 260 guests