Forums / Built-in Shipping and Payment Modules / Fatal error: Call to undefined function:

Fatal error: Call to undefined function:

Locked

Started by spdster on 22 Jan 2008, 9:48 PM · Views: 6,169

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
22 Jan 2008, 9:48 PM
#1
spdster avatar

spdster

New Zenner

Join Date:
Apr 2007
Posts:
36
Plugin Contributions:
0

Fatal error: Call to undefined function:

When i select Payment Modules. It displays this error and wont let me select any module..

Fatal error: Call to undefined function: tep_db_query() in /home/tuner1/public_html/catalog/includes/modules/payment/authorizenet_cc_aim.php on line 272

Please help!!

22 Jan 2008, 10:02 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Fatal error: Call to undefined function:

That looks like you have installed an osCommerce payment module which uses functions that don't exist in Zen Cart.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

23 Jan 2008, 12:01 AM
#3
spdster avatar

spdster

New Zenner

Join Date:
Apr 2007
Posts:
36
Plugin Contributions:
0

Re: Fatal error: Call to undefined function:

What should i remove?

23 Jan 2008, 12:12 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Fatal error: Call to undefined function:

You appear to have installed an authorize.net module from osCommerce. If so, that's what you need to remove. This is Zen Cart and authorize.net functionality is built in.

If the osCommerce module offers something that Zen Cart doesn't that you need, you will need to convert it to work with Zen Cart. Otherwise you need to remove it.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

9 May 2008, 7:26 PM
#5
sara_s_soaps avatar

sara_s_soaps

New Zenner

Join Date:
Apr 2008
Posts:
45
Plugin Contributions:
0

Re: Fatal error: Call to undefined function:

kuroi:

You appear to have installed an authorize.net module from osCommerce. If so, that's what you need to remove. This is Zen Cart and authorize.net functionality is built in.

If the osCommerce module offers something that Zen Cart doesn't that you need, you will need to convert it to work with Zen Cart. Otherwise you need to remove it.

Kuroi,

I'm dealing with this same error. How do I remove it? I looked in the scripts for the authorize.net modules, and they all, near the top say something like "copyright ZenCart" and "Portions copyright OsCommerce," so it seems that there's something of a both-and in there. In simple terms, can you walk me through the steps of removing the osCommerce authorize.net module? I know how to get there through my file manager, but I'm stumped beyond that. Thanks!

~Sara's Soaps (actually just Sara; the soaps don't type. :laugh:)

Sara's Soaps 'n Such
Good. Clean. Fun.
http://www.sarassoapsnsuch.com

10 May 2008, 12:25 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Fatal error: Call to undefined function:

Files with "copyright ZenCart" and "Portions copyright OsCommerce," are Zen Cart files recignizing Zen Cart's origins i osCommerce, rather than osCommerce files. You won't find a tep_db_query() in those as that's strictly an osCommerce function, which is completely different to how Zen Cart executes database queries, which in turn is why your need to track it down and get rid of it.

Unfortunately I can't offer any advice more specific than that, since I specialise in Zen Cart and simply don't load osCommerce modules into it, I don't even know how to install them, let along remove them again afterwards. Are there any instructions with your osCommerce module that give any clues on this?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 May 2008, 3:28 AM
#7
sara_s_soaps avatar

sara_s_soaps

New Zenner

Join Date:
Apr 2008
Posts:
45
Plugin Contributions:
0

Re: Fatal error: Call to undefined function:

kuroi:

Files with "copyright ZenCart" and "Portions copyright OsCommerce," are Zen Cart files recignizing Zen Cart's origins i osCommerce, rather than osCommerce files. You won't find a tep_db_query() in those as that's strictly an osCommerce function, which is completely different to how Zen Cart executes database queries, which in turn is why your need to track it down and get rid of it.

Unfortunately I can't offer any advice more specific than that, since I specialise in Zen Cart and simply don't load osCommerce modules into it, I don't even know how to install them, let along remove them again afterwards. Are there any instructions with your osCommerce module that give any clues on this?

I'd completely uninstalled osCommerce, and it was in the midst of tweaking my admin settings that I encountered this error message for the first time. In other words, it didn't show up when I first started using ZC. I have no idea how this OSC module ended up in my ZC admin. Trust me, I'm not quite computer savvy enough to install something like that. I know there's still an OSC footprint on my hard drive, but other than that, I have nothing illicitly osCommerce.

Sara's Soaps 'n Such
Good. Clean. Fun.
http://www.sarassoapsnsuch.com

10 May 2008, 4:17 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Fatal error: Call to undefined function:

Spdster:

Fatal error: Call to undefined function: tep_db_query() in /home/tuner1/public_html/catalog**/includes/modules/payment/authorizenet_cc_aim.php** on line 272
You would remove the file mentioned in the message, along with the language file by the same name in the /includes/languages/modules/payment folder.

.
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.