Jump to content

Install issues SSL_CTX_set_default_verify_paths


Recommended Posts

I'm running into an issue as shown below and I'm not sure how to resolve it.

Hosted mysql 5.7.40 and php 7.4

    1: 13:59:02 ERROR [console] Error thrown while running command "prestashop:schema:update-without-foreign --env=prod". Message: "An exception occurred in driver: SQLSTATE[HY000] [2026] SSL connection error: SSL_CTX_set_default_verify_paths failed" ["exception" => Doctrine\DBAL\Exception\DriverException { …},"command" => "prestashop:schema:update-without-foreign --env=prod","message" => "An exception occurred in driver: SQLSTATE[HY000] [2026] SSL connection error: SSL_CTX_set_default_verify_paths failed"]

 

Link to comment
Share on other sites

  • 3 months later...
  • 4 weeks later...

I had this issue with prestashop 8.0.4. My updated to 8.0.4 shop worked fine in my local computer with XAMP  but when I uploaded it to my online server I got the fatal error

 "An exception occurred in driver: SQLSTATE[HY000] [2026] SSL connection error: SSL_CTX_set_default_verify_paths failed" 

I searched online for a solution without success , finally I got it working by deleting the following line in app\config\doctrine.yml:

# PDO::MYSQL_ATTR_MULTI_STATEMENTS
          1013: '%env(const:runtime:_PS_ALLOW_MULTI_STATEMENTS_QUERIES_)%'

Now I have to test the shop to be sure everything is working as it should

Domo

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...