Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2004
    Posts
    237
    Plugin Contributions
    2

    Default Modules--> Orders Total

    I'm geting an error message when I access this area in admin:

    Modules--> Orders Total

    The error message is below

    Fatal error: Call to a member function on a non-object in /var/www/html/www.crimescene.com/web/store/includes/modules/order_total/ot_gv.php on line 29

    What have I done??? I can use the other areas of admin and when I remove ot_gv.php all is well.

    Tom

    PS line 29 is
    $this->checkbox = $this->user_prompt . '<input type="text" 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'])) : '');

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Modules--> Orders Total

    Was this happening before your upgrade?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2004
    Posts
    237
    Plugin Contributions
    2

    Default Re: Modules--> Orders Total

    This problem just cropped up--

    The good news is--The problem went away after a restart
    :)

    Tom

  4. #4
    Join Date
    Oct 2007
    Location
    Safford, AZ
    Posts
    323
    Plugin Contributions
    0

    red flag Re: Modules--> Orders Total

    I am now getting this message. My only difference is the error says it's line 49. Here is what I get:

    Fatal error: Call to a member function on a non-object in /includes/modules/order_total/ot_gv.php on line 49

    Because of this error only 3 of the Order Total Modules are showing up. I did NOT have this error before upgrading to 1.3.8a. Line 49 is as follows:
    Code:
    $this->checkbox = $this->user_prompt . '<input type="text" size="6" onkeyup="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'])) : '');
    I removed the ot_gv.php file and refreshed my Modules -> Order Total screen and all the modules showed up fine. However, it just happens the one I am trying to edit is the one causing the error. I have put it back on the server for now ... in hopes I can get an answer soon.

    Thank you!
    Steve
    Zen cart version: 1.3.9h

  5. #5
    Join Date
    Oct 2007
    Location
    Safford, AZ
    Posts
    323
    Plugin Contributions
    0

    Default Re: Modules--> Orders Total

    Just for the heck of it, I decided to restart my computer like tomarriola did. Well it seems to have fixed my error too. How is that possible that a local restart will correct an issue on a website?

    Anyway, it's seems to be fine now.
    Steve
    Zen cart version: 1.3.9h

  6. #6
    Join Date
    Oct 2007
    Posts
    98
    Plugin Contributions
    0

    Default Re: Modules--> Orders Total

    i have the same problem nothing... changed today. just came up

    Fatal error: Call to a member function on a non-object in /home/stencilw/public_html/includes/modules/order_total/ot_gv.php on line 49

    i have tryed reinstalling the ot_gv files like i found on another thread but no luck

  7. #7
    Join Date
    Oct 2007
    Posts
    98
    Plugin Contributions
    0

    Default Re: Modules--> Orders Total

    after 5 restarts. its fixed.

  8. #8
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Modules--> Orders Total

    When this is strange as I also received this error today: Call to a member function format() on a non-object in /includes/modules/order_total/ot_gv.php on line 49

    I too like everyone else clear cache restarted both IE and FF. Everything looks and works fine in FF but IE still displays the error. Very strange indeed.

 

 

Similar Threads

  1. v151 Order total modules don't appear in Modules/Order Total
    By godt in forum General Questions
    Replies: 8
    Last Post: 29 Nov 2013, 02:50 AM
  2. v139h change Customer Orders Total in Database without deleting orders?
    By AvaAdorn in forum Managing Customers and Orders
    Replies: 6
    Last Post: 30 Jun 2012, 05:00 AM
  3. Modules > Orders Total - Options not showing
    By BeautyHealth.com.cy in forum General Questions
    Replies: 2
    Last Post: 28 Jul 2010, 02:08 PM
  4. Adding Order Total Modules
    By alwayzfun in forum Addon Payment Modules
    Replies: 0
    Last Post: 31 May 2006, 06:40 AM

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