Not sure if this is the right place to post, but here goes...
I'm receiving the following errors in the referals part of zen cart:
line 112 (formatted):Fatal error: Cannot use object of type queryFactoryResult as array in [....]/admin/referrals.php on line 112
<td class="dataTableContent" align="right">
<?php
if (isset($cInfo) && is_object($cInfo) && ($sources->fields['sources_id'] == $cInfo->sources_id)) {
echo zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif');
} else {
echo '<a href="' . zen_href_link(FILENAME_REFERRALS, 'page=' . $_GET['page'] . '&sID=' . $sources['sources_id']) . '">'
. zen_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>';
}
?> </td>
line 86:Fatal error: Cannot use object of type queryFactoryResult as array in [....]/admin/stats_referral_sources.php on line 86
It's a fairly old version of Zen Cart (circa 2005 I believe), not sure how I can tell exactly what - referrals is 1.0, if that helps.if ( zen_not_null($referrals['sources_name']) ) {




