Hi,
I have just installed the time offset module deisgned for 1.2.3. I am running ver.1.2.7d so instead of just copying function_general.php and orders.php i used winmerge to add the new time offset code into the files.
This seem to of worked fine for functions_general.php but orders.php throws up this error when trying to purchase through the site:
Fatal error: Call to a member function on a non-object in /var/www/vhosts/ry.com.au/httpdocs/store/includes/classes/order.php on line 827
Here is the section of code at line 827:
// lets start with the email confirmation
// make an array to store the html version
$html_msg=array();
// get the order date corrected for time zone offset
$date_query = "select date_purchased from " . TABLE_ORDERS . " where orders_id = '" . (int)$zf_insert_id . "'";
"Line 827" $offsetdate = $db->Execute($date_query);
$orderdate = $offsetdate->fields['date_purchased'];
Can someone please give me an idea on where this went wrong? The sql file loaded into the database no problem.
Thanks,
Brad.


)

