Zen Cart Logo
Forums / General Questions / Modules--> Orders Total

Modules--> Orders Total

Locked

Views: 1,436

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
24 Nov 2007, 5:02 AM
#1
tomarriola avatar

tomarriola

Zen Follower

Join Date:
Oct 2004
Posts:
206
Plugin Contributions:
0

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'])) : '');

24 Nov 2007, 5:49 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Modules--> Orders Total

Was this happening before your upgrade?

24 Nov 2007, 6:34 AM
#3
tomarriola avatar

tomarriola

Zen Follower

Join Date:
Oct 2004
Posts:
206
Plugin Contributions:
0

Re: Modules--> Orders Total

This problem just cropped up--

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

Tom

21 Apr 2008, 2:07 AM
#4
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

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:```
$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!
21 Apr 2008, 2:42 AM
#5
fatguyinaz avatar

fatguyinaz

Zen Follower

Join Date:
Oct 2007
Location:
Safford, AZ
Posts:
313
Plugin Contributions:
0

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.

24 Oct 2008, 4:23 AM
#6
eaddesigns avatar

eaddesigns

New Zenner

Join Date:
Oct 2007
Posts:
90
Plugin Contributions:
0

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

24 Oct 2008, 2:19 PM
#7
eaddesigns avatar

eaddesigns

New Zenner

Join Date:
Oct 2007
Posts:
90
Plugin Contributions:
0

Re: Modules--> Orders Total

after 5 restarts. its fixed.

18 Nov 2008, 6:25 AM
#8
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

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.