If this is your first visit, check our documentation. To post, register or login.
Forums / Built-in Shipping and Payment Modules / Adding PayPal - getting tep_db_query error

Adding PayPal - getting tep_db_query error

Locked

Started by successbooks on 9 Nov 2009, 9:20 PM · Views: 1,641

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
9 Nov 2009, 9:20 PM
#1
successbooks avatar

successbooks

New Zenner

Join Date:
Nov 2009
Posts:
4
Plugin Contributions:
0

Adding PayPal - getting tep_db_query error

Help! I'm just getting started. Someone else set up my ZenCart, but he is no longer around. It is only set up to use Authorize.net. I want to use PayPal. How do I add that to my cart? I'm using Zen Cart 1.3.8a.

Thank you for your help.
Gaylyn

9 Nov 2009, 10:18 PM
#2
successbooks avatar

successbooks

New Zenner

Join Date:
Nov 2009
Posts:
4
Plugin Contributions:
0

Re: Adding PayPal - getting tep_db_query error

Here is the error that I receive when I go into Modules and Payment in my back office. It only shows Authorize.net, and doesn't let me install PayPal.

Fatal error: Call to undefined function: tep_db_query() in /home/content/s/u/c/successbooks/html/catalog/includes/modules/payment/authorizenet_cc_aim.php on line 272

10 Nov 2009, 12:16 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: Adding PayPal - getting tep_db_query error

"tep_db_query" is an old osCommerce function. Zen Cart doesn't use that, so you must have installed some osCommerce code onto your Zen Cart store. DOING THAT WILL BREAK YOUR STORE. Best to remove whatever you added, and put back the Zen Cart versions of those files instead.

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

10 Nov 2009, 1:15 AM
#4
successbooks avatar

successbooks

New Zenner

Join Date:
Nov 2009
Posts:
4
Plugin Contributions:
0

Re: Adding PayPal - getting tep_db_query error

Since I'm not the one who did my cart, how do I know what i need to get rid of? Or how do I know what to change?

10 Nov 2009, 1:17 AM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Adding PayPal - getting tep_db_query error

successbooks:

Since I'm not the one who did my cart, how do I know what i need to get rid of? Or how do I know what to change?

Ask the one who did your cart...

If anyone will know what was done, I trust it will be the one who did your cart...

20 years a Zencart User

11 Nov 2009, 1:52 AM
#6
successbooks avatar

successbooks

New Zenner

Join Date:
Nov 2009
Posts:
4
Plugin Contributions:
0

Re: Adding PayPal - getting tep_db_query error

Unfortunately, I don't have contact with the person who set up the cart. He messed so many things up, I really don't want to go back to him anyway. I don't think he would know how to fix it. Any other ideas, anyone?

11 Nov 2009, 3:09 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: Adding PayPal - getting tep_db_query error

successbooks:

Fatal error: Call to undefined function: tep_db_query() in /home/content/s/u/c/successbooks/html/catalog/includes/modules/payment/authorizenet_cc_aim.php on line 272

Since Zen Cart doesn't have a file named /includes/modules/payment/authorizenet_cc_aim.php, DELETE THE FILE.
Also delete the file by the same name in your /includes/languages/english/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.