Jump to content

USPS::submit_request: curl_exec is uncallable


Guest leperkuan

Recommended Posts

Guest leperkuan

Edited: Sorry about the post it can be moved or deleted. i read around some and found that the error is caused by the extension php_curl not being enabled. and also i have successfully tested the USPS module

USPS::submit_request: curl_exec is uncallable

During /cart.php?act=step4

I have received my username, Enabled module, Enabled TEST, put in my username and a bogus password as described in tutorials. When i go to checkout and Step4 i get this error.

Link to comment
Share on other sites

  • 2 months later...
Guest leperkuan

Curl is an extension of php and should be toggeled on and off through the PHP.ini file.

I fixed this error by turning n the php extension Php_Curl

How would one do that?

Link to comment
Share on other sites

  • 3 months later...
Guest TrueCHoJiN

Just to elaborate on what leperkuan said...

When you get the USPS::submit_request: curl_exec is uncallable error using the USPS module in CubeCart 3.x.x, it means that your web server does not have the PHP curl extension loaded. The curl extension is free, and if you want more information about it go here. Anyway, the EASIEST way to solve this error if you run your own web server, i.e. Apache, IIS, etc. Is to download the newest version of PHP here (latest version of PHP as of this post is 5.1.4, 04 May 2006) All PHP 5.x.x downloads (that I know of) come with the curl library packageed in with it. All you have to do is uncomment one line from your php.ini file to get the curl library working.

Here is a snapshot of my php.ini file: (PHP 5.x.x)

; Windows Extensions

; Note that ODBC support is built in, so no dll is needed for it.

; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)

; extension folders as well as the separate PECL DLL download (PHP 5).

; Be sure to appropriately set the extension_dir directive.



;extension=php_bz2.dll

;extension=php_bz2_filter.dll

;extension=php_classkit.dll

;extension=php_cpdf.dll

;extension=php_crack.dll

extension=php_curl.dll

;extension=php_cvsclient.dll

;extension=php_db.dll

;extension=php_dba.dll

It's pretty obvious which line needs to be uncommented...

;extension=php_curl.dll >>> extension=php_curl.dll

If you do not run your own web server, then you have to ask your provider to load the curl library. If they don't know what you are talking about, get a new host. Hell, I'll host people for a few bucks a month...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...