facebookarchive / Facebook-For-OpenCart

Facebook Ads integration with OpenCart
Other
72 stars 54 forks source link

[BUG] ERR_HTTP2_PROTOCOL_ERROR Cart page #467

Open nathanyoliveiraassuncao opened 4 years ago

nathanyoliveiraassuncao commented 4 years ago

Webstore Url cafofo21.com.br

FBE plugin version 3.1.0

OpenCart version 3.0.3.6 Describe the bug ERR_HTTP2_PROTOCOL_ERROR

Hi, I need help, When I try to access the shopping cart page after installing Facebook, the following error appears: This website cannot be accessedThe https://cafofo21.com.br/shopping/index.php?route=checkout/cart page may be temporarily unavailable or may have been moved permanently to a new web address. ERR_HTTP2_PROTOCOL_ERROR

what can i do to solve it?

Screenshots Google Chrome and Firefox image image

nathanyoliveiraassuncao commented 4 years ago

https://cafofo21.com.br/shopping/index.php?route=checkout/checkout

dtying commented 4 years ago

Hi @nathanyoliveiraassuncao, thanks for reporting! Let me check the issue first, meanwhile, you can downgrade to the previous version v3.0.1 for use. https://github.com/facebookincubator/Facebook-For-OpenCart/tags

dtying commented 4 years ago

Hi @nathanyoliveiraassuncao , as Facebook Graph API didn't support HTTP2, it has caused issue in your webpage (which is on HTTP2). https://developers.facebook.com/docs/graph-api/using-graph-api/

Screen Shot 2020-08-25 at 10 07 19 AM

nathanyoliveiraassuncao commented 4 years ago

Thanks for the help, it worked by downgrading the facebook version to 3.0.1

TimwaySupport commented 4 years ago

Our shop, https://www. jekca. com.au/, running on a http/1.1, server, when install v3.1 facebook extension, encounter the same problem (error 500 on checkout page, with Apache error log:

[Fri Aug 07 11:37:19.851100 2020] [http:error] [pid 24658] AH02429: Response header name 'FacebookAds\CrashReporter ' contains invalid characters, aborting request

We installed v3.0.1 facebook extension now, however, we may want to upgrade to the latest version with extra features.

djlaserman commented 3 years ago

I had the exact same error. (My shop had crashed [ from installing an isenselabs badly coded plugin, which I had to pluck off the database and my install folder file by file, using the oc_extensions... table as a ref to see where all the bits and pieces had been installed to ] and I repatched my shop by overwriting all the OC files apart from my configurations with the OC 3.0.3.6 official release files, and also patched all of my third party theme (yes, the much hated Journal 3 theme) files; then I ran the upgrade process again and redid the admin permission under Users > User Groups > Administrator).

It didn't work right off the bat, I'd still get the nasty ERR_HTTP2_PROTOCOL_ERROR when trying to view the cart.

My solution was to clear the cloudflare cache and other third party cache and the OC cache from the dashboard and rebuilding the cache using Modifications > Refresh and the final thing was to change Linux hosting parameters (at my hosting provider) from PHP 7.3 CGI to PHP 7.3 Fast CGI and voila .... as my cache rebuilt it worked without downgrading anything. I'm using OC 3.0.3.6 and the latest FB plugin