Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Jun 2007
    Posts
    6
    Plugin Contributions
    0

    red flag Error in referrals.php - Cannot use object of type queryFactoryResult as array

    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:
    Fatal error: Cannot use object of type queryFactoryResult as array in [....]/admin/referrals.php on line 112
    line 112 (formatted):
    <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>';
    }
    ?>&nbsp;</td>

    Fatal error: Cannot use object of type queryFactoryResult as array in [....]/admin/stats_referral_sources.php on line 86
    line 86:
    if ( zen_not_null($referrals['sources_name']) ) {
    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.
    Last edited by Agouti; 7 Jun 2007 at 09:20 AM. Reason: Formatting

 

 

Similar Threads

  1. Google Checkout module for ZC 1.3.x (beta)
    By jacob13moon in forum Addon Payment Modules
    Replies: 3932
    Last Post: 16 Aug 2012, 02:04 AM
  2. paypal express checkout erros
    By tabdiggy in forum PayPal Express Checkout support
    Replies: 37
    Last Post: 9 Jul 2007, 02:11 AM
  3. Paypal Express button not going anywhere
    By duckee in forum PayPal Express Checkout support
    Replies: 25
    Last Post: 27 Jan 2007, 11:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •