Thread: CURL Error 28

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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.

  2. #12
    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

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,621
    Plugin Contributions
    123

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

  4. #14
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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.

  5. #15
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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.

  6. #16
    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?

  7. #17
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: CURL Error 28

    The "tlstest.paypal.com" host was retired awhile back.
    The latest curltester script doesn't check it anymore.

    The paypal servers still respond from all parts of the world that I've been able to check.
    Error 28 means a timeout happened, either during DNS lookup (a hosting configuration issue) or during attempting to connect (no response, which could be a firewall issue with your server/hosting-company, a server-overload (ie: slow) on the destination server, or the destination server is down, affecting everyone globally).

    .

    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.

 

 
Page 2 of 2 FirstFirst 12

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

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