Thread: CURL Error 28

Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Sep 2017
    Location
    United States
    Posts
    14
    Plugin Contributions
    0

    Default Re: CURL Error 28

    Orders that are paid by credit card are not showing in new orders in admin, but PayPal has the order information and not me.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CURL Error 28

    Quote Originally Posted by astm0652 View Post
    Orders that are paid by credit card are not showing in new orders in admin, but PayPal has the order information and not me.
    That's symptomatic of whatever PHP errors are occurring when submitting the transaction. If PayPal has the details (ie: the payment) but your store does not then it means a PHP fatal error happened after/during the transaction response and the store wasn't able to finish saving the order or sending the emails.

    Normally Zen Cart will log fatal PHP errors in the /logs/ directory.
    If those logs are indicating CURL problems, you'll probably need to work with your hosting company to sort that out.
    .

    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.

  3. #3
    Join Date
    Sep 2017
    Location
    United States
    Posts
    14
    Plugin Contributions
    0

    Default Re: CURL Error 28

    I'm going to check the error the logs. Does this help to solving the problem?

    ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error


    Thank You DrByte

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CURL Error 28

    Quote Originally Posted by astm0652 View Post
    I'm going to check the error the logs. Does this help to solving the problem?

    ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error
    Not really.

    81002 is a very generic PayPal error that suggests the request being transmitted is malformed and doesn't make sense to them.
    But that would be completely different from a CURL error 28 which means connection timed out, because if it's timed out then it's not getting a response.
    .

    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.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CURL Error 28

    If this happened "out of the blue", (ie: was working and then suddenly isn't) then there are numerous things to check ... because obviously "something" changed.

    Between the time when things were "working", and now they're "not" ...
    - what software updates has the hosting company installed on the server?
    - did they change PHP versions? Apache version? These could have changed default configuration settings in php.ini
    - who has had access to your server's control panel?
    - have they made any changes to anything, especially PHP/Apache settings?
    - who has had FTP or filesystem access to your server?
    - have the uploaded/edited anything? Are you sure?

    Have you been making regular backups of your server's files and your store database?

    It's worth taking a copy of your server's current files and database, and comparing them against a backup from before the problem happened. This can help identify unexpected/unauthorized changes. In short, it's worth proving nothing's been tampered with, by going through these steps until you've verified that nothing unauthorized has happened: https://www.zen-cart.com/wiki/index....ing_From_Hacks
    .

    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.

  6. #6
    Join Date
    Sep 2017
    Location
    United States
    Posts
    14
    Plugin Contributions
    0

    Default Re: CURL Error 28

    This is the error i'm getting from my log, hope this helps.

    PHP Warning: Illegal string offset 'cost' in /home/pkpoker/public_html/includes/classes/order.php on line 355


    Thank You DrByte

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: CURL Error 28

    This is a mod. There's no such field in vanilla Zen Cart.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CURL Error 28

    Quote Originally Posted by swguy View Post
    This is a mod. There's no such field in vanilla Zen Cart.
    Actually, yes there is. The OP said they're using v1.5.1.
    .

    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.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: CURL Error 28

    Quote Originally Posted by astm0652 View Post
    This is the error i'm getting from my log, hope this helps.

    PHP Warning: Illegal string offset 'cost' in /home/pkpoker/public_html/includes/classes/order.php on line 355
    in v1.5.1 the line reads:
    Code:
                            'shipping_cost' => $_SESSION['shipping']['cost'],
    in v1.5.7 it's using the following, which you can safely use in v1.5.1 as well:
    Code:
                            'shipping_cost' => !empty($_SESSION['shipping']['cost']) ? $_SESSION['shipping']['cost'] : 0,
    While this isn't technically a "bug", there have been some bugs fixed in various Zen Cart versions associated with mixed ways of representing that $_SESSION['shipping'] array.

    If you're going to stay on v1.5.1 then you should also keep watching for all bugs fixed in newer versions and backport them to your old version.

    That said, this "PHP Warning" is just a warning. Warnings sometimes do point to underlying issues. I don't think this one is affecting/causing your CURL issues or the issue of orders not completing. I would expect that a "PHP Fatal error" is happening somewhere to cause the issues you were reporting.
    .

    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. #10
    Join Date
    Jul 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: CURL Error 28

    Hi, jumping in here as I also have the same issue since start of July,
    Connecting to PayPal Express/Pro Server ... Error 28: Connection timed out after 5000 milliseconds
    Connecting to PayPal TLSTest Server ... Error 51: SSL: no alternative certificate subject name matches target host name 'tlstest.paypal.com'

    Apart from hosting issues, I'm wondering if this has got anything to do with Paypal's NVP deprecation to REST?

 

 

Similar Threads

  1. v151 using easyphp getting CURL and CURL SSL support error
    By lepitite in forum Installing on a Windows Server
    Replies: 2
    Last Post: 6 Jan 2014, 02:48 PM
  2. Curl error during 1.3.9 install. we have curl installed tho
    By bangsters in forum General Questions
    Replies: 1
    Last Post: 16 May 2010, 08:55 AM
  3. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  4. FedEx Error - Please help - cURL ERROR: 6: name lookup timed out
    By wootoot1234 in forum Addon Shipping Modules
    Replies: 2
    Last Post: 17 Jun 2009, 08:15 PM
  5. Pay Pal Error!! (CURL is slow, causing error)
    By pettiger15 in forum General Questions
    Replies: 15
    Last Post: 8 May 2007, 04:47 AM

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