If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / PayPal Express Checkout support / Call to undefined function curl_init()

Call to undefined function curl_init()

Locked

Started by pivojackson on 14 Jan 2007, 2:08 AM · Views: 4,111

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Jan 2007, 2:08 AM
#1
pivojackson avatar

pivojackson

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

Call to undefined function curl_init()

I'm trying to use the PayPal Express Checkout and I get following error
Fatal error: Call to undefined function curl_init() in ......\zen\includes\modules\payment\paypal\paypal_curl.php on line 333
Did anyone ran into same issue? I have tried with the SandBox and Live environment already.
Thank You, Petra

14 Jan 2007, 2:32 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,752
Plugin Contributions:
0

Re: Call to undefined function curl_init()

Does your server have cURL compiled?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

14 Jan 2007, 11:31 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Call to undefined function curl_init()

PayPal Express Checkout does require CURL to be compiled into PHP on your server.

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

23 Jan 2007, 7:33 PM
#4
pivojackson avatar

pivojackson

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

Re: Call to undefined function curl_init()

Thank you for the response. I'm not really fimiliar with it, I'm assuming I will need to download CURL, is that correct? And then do some configuration?
Thank You!

23 Jan 2007, 7:34 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Call to undefined function curl_init()

you need to make sure that your host has cURL compiled with php

this is a job for them

Zen cart PCI compliant Hosting

23 Jan 2007, 7:43 PM
#6
pivojackson avatar

pivojackson

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

Re: Call to undefined function curl_init()

Oh ok, but when I try to test it on my PC at home before I put it on the web hosting server I will still need to do something. I'm using Apache for testin on my PC.

23 Jan 2007, 7:49 PM
#7
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Call to undefined function curl_init()

OK,
1 you will need to recompile php --with curl

  1. you must make sure that your local machine can recieve the replys from the remote server

Zen cart PCI compliant Hosting