Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2006
    Posts
    117
    Plugin Contributions
    0

    Default I get a fatal error

    I get a fatal error when trying to access the Gift module in Order Total. I have the Gift Vouchers working. The only thing I can remember doing before the error was doing a test emailing from admin of a Gift Card to myself, purchasing a gift and changing file /includes/languages/english/gv-faq.php to include a link to the gv_send.php page. Oh and I deleted the Euro from currencies... other than that I don't believe I changed anything else

    using zen v 1.3.0.2

    Code:
    Fatal error: Call to a member function on a non-object in /home/bishopba/public_html/cathis/includes/modules/order_total/ot_gv.php on line 29
    my code around line 29:

    Code:
        if (!zen_not_null(ltrim($_SESSION['cot_gv'], ' 0')) || $_SESSION['cot_gv'] == '0') $_SESSION['cot_gv'] = '0.00';
        $this->checkbox = $this->user_prompt . '<input type="textfield" size="6" onchange="submitFunction()" name="cot_gv" value="' . number_format($_SESSION['cot_gv'], 2) . '" onfocus="if (this.value == \'' . number_format($_SESSION['cot_gv'], 2) . '\') this.value = \'\';" />' . ($this->user_has_gv_account($_SESSION['customer_id']) > 0 ? '<br />' . MODULE_ORDER_TOTAL_GV_USER_BALANCE . $currencies->format($this->user_has_gv_account($_SESSION['customer_id'])) : '');
        $this->output = array();
      }
    I tried re-uploading ot_gv.php and the gv_faq.php files but that didn't fix anything.

    any ideas on how to fix?

  2. #2
    Join Date
    Mar 2006
    Posts
    117
    Plugin Contributions
    0

    Default Re: I get a fatal error

    odd... I closed out and came back in to admin and the fatal_error is gone.

    what a great cart - it's self healing!

 

 

Similar Threads

  1. v139d PHP Fatal error: Internal Zend error - Missing class information
    By badarac in forum General Questions
    Replies: 3
    Last Post: 1 May 2012, 01:33 PM
  2. Fatal error: mysql error (1064 error) -- v1.0-alpha
    By Dale Schibbelhut in forum General Questions
    Replies: 9
    Last Post: 18 Nov 2010, 08:08 PM
  3. Fatal error: Class 'notifier' not found and other error
    By mjfan80 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 24 Apr 2009, 12:39 PM
  4. Replies: 0
    Last Post: 6 Apr 2008, 01:33 PM
  5. Replies: 1
    Last Post: 9 Jan 2008, 09:19 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR