Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After each checkout I find two error messages in the log:
Location http://test.sidepotsinternational.com/cart/checkout?op=next
Referrer http://test.sidepotsinternational.com/cart/checkout
Message fread(): SSL: fatal protocol error in /home/darrenoh/public_html/includes/common.inc on line 422.
Location http://test.sidepotsinternational.com/cart/checkout?op=next
Referrer http://test.sidepotsinternational.com/cart/checkout?op=next
Message fread(): SSL: fatal protocol error in /home/darrenoh/public_html/includes/common.inc on line 422.
Comments
Comment #1
Darren OhThis error is generated by the shipping page of the checkout process. It is generated whenever the USPS usps_get_rates function queries the USPS server. The file contrib/shipcalc/partners/usps.inc contains this code:
This prevents the error message from displaying on screen, but it still shows up in the log. This is distracting, since the error message is generated twice for each purchase. Does anyone know how to prevent this message from being logged?
Comment #2
Darren OhComment #3
Darren OhThe solution is to upgrade to PHP5.
Comment #4
JoshLangner CreditAttribution: JoshLangner commentedUpgrading to PHP5 is not the solution. I still have the error being generated, and I have tested it with 5.1.6.
Comment #5
brmassa CreditAttribution: brmassa commentedGuys,
its already fixed on ec3
regards,
massa
Comment #6
ymmatt CreditAttribution: ymmatt commentedI don't mean to open an old bug, but I'm experiencing this on the latest alpha release
Comment #7
gordon CreditAttribution: gordon commentedThis is actually an issue with the server on the other side. From my investigations it is a because of a buggy IIS implementation. So far I have only really for this bug on test/development servers
ATM we are using the drupal_http_request() to communicate with the other servers, but if this still seems to be an issue I will write a replacement for this which will use curl if it is available.
Comment #8
ymmatt CreditAttribution: ymmatt commentedAre you referring to the authorize.net servers? Or when running the transactions as test transactions?
This may or may not be related, but the ec_transaction table seems to be missing some key entries:
UID
payment_status
payment_date
due_date
These are all blank, is that normal?
Comment #9
gordon CreditAttribution: gordon commentedYes this is the authorize.net servers
These are depreciated fields and before the final release of v4.0 these will be dropped. But before then the information needs to be converted to the new format.
Comment #10
ymmatt CreditAttribution: ymmatt commentedThanks,
Where can I find the documentation on the new format so that I can work on this module, if not for everyone else, but at least for myself?
Comment #11
gordon CreditAttribution: gordon commentedCheck out http://drupalecommerce.org/api where there are links to a couple of examples, and you can also checkout the paypal or authorize.net module
Comment #12
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #13
Alan D. CreditAttribution: Alan D. commentedI'm seeing this code in some other modules, did anyone simply try adding "@drupal_http_request()"? This should suppress the error, but I haven't the ability to test this myself.
So if you see this, try @ before adding the other code!