Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default 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!!

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  3. #3
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Fatal error: Call to undefined function:

    What should i remove?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  5. #5

    Default Re: Fatal error: Call to undefined function:

    Quote Originally Posted by kuroi View Post
    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. )

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default 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)

  7. #7

    Default Re: Fatal error: Call to undefined function:

    Quote Originally Posted by kuroi View Post
    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.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Fatal error: Call to undefined function:

    Quote Originally Posted by Spdster View Post
    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.

 

 

Similar Threads

  1. Fatal error: Call to undefined function
    By Brenda in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2006, 08:44 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