3. When I click the print button (both from s.o. admin interface and order details), the page that comes up has this error on it:
ORDER STATUS HISTORY & COMMENTS
1054 Unknown column 'track_id1' in 'field list'
in: [select orders_status_id, date_added, customer_notified, track_id1, track_id2, track_id3, track_id4, track_id5, comments from zen_orders_status_history where orders_id = '1117' order by date_added] If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
So I downloaded the new super data sheet file you posted earlier in this thread and uploaded it to the server.
Now when I click print, I get a blank page in a new window. This creates a debug log with this message:
[03-Jan-2011 12:13:18] PHP Fatal error: Cannot redeclare class base in public_html/My_Store/includes/classes/class.base.php on line 17
Line 17 only has this on it:
Here are lines 15-35:
PHP Code:
* @package classes
*/
class base {
/**
* method used to an attach an observer to the notifier object
*
* NB. We have to get a little sneaky here to stop session based classes adding events ad infinitum
* To do this we first concatenate the class name with the event id, as a class is only ever going to attach to an
* event id once, this provides a unigue key. To ensure there are no naming problems with the array key, we md5 the unique
* name to provide a unique hashed key.
*
* @param object Reference to the observer class
* @param array An array of eventId's to observe
*/
function attach(&$observer, $eventIDArray) {
foreach($eventIDArray as $eventID) {
$nameHash = md5(get_class($observer).$eventID);
base::setStaticObserver($nameHash, array('obs'=>&$observer, 'eventID'=>$eventID));
}
}
/**
Thoughts?
Bookmarks