Jump to content

Cannot acces Modules tab in backend of presta 1.7


Recommended Posts

Hy.

After i have installed the new released 1.7 version (the final one) everything works well instead of modules tab.

When i press the Modules tab i get following error:

Cannot get catalog data, please try again later. Reason: Data from PrestaShop Addons is invalid, and cannot fallback on cache

When i acces INSTALLED Modules i get blank screen and in dev mode activate i get:

RequestException in RequestException.php line 51:

SSL CA bundle not found:

and

InvalidArgumentException in CurlFactory.php line 372:

SSL CA bundle not found

 

 

Link to comment
Share on other sites

I understand that you are right, but this is a bug in new version of prestashop. And it must be fixed.

The issue reported in this thread is a bug reported to Prestashop and fixed.

 

The issue about not working without an internet connection is NOT a bug reported in this thread.  If you feel that is a new bug in v1.7, then you should report that to Prestashop using their Forge.  Certainly not report the issue in an unrelated thread

Link to comment
Share on other sites

  • 2 weeks later...

I just went on that link, and copied everything - opened notepad, and saved the file to cacert.pem.
Using Filezilla I uploaded the file to /app/cache/dev

Use debug mode and click on modules & services - you will see there is missing file "cacert.pem" in that directory.

Hope that helps you guys! 

that solved my Problem, thanks :)

 

I had the same issue twice, my solution was download the file https://curl.haxx.se/ca/cacert.pem and save into /app/cache/prod/. The problem exist because if the production cache is deleted then the file cacert.pem is deleted too.
 
I check in https://github.com/PrestaShop/PrestaShop/pull/6848/files and in my offline copy that file classes/Tools.php have the constant declaration:

const CACERT_LOCATION = 'https://curl.haxx.se/ca/cacert.pem';
and that file must exist in:
_PS_CACHE_DIR_.'cacert.pem'
as you can see in this global definition:
define('_PS_CACHE_CA_CERT_FILE_', _PS_CACHE_DIR_.'cacert.pem')
so, I chek if the file cacert.pem exist in production cache and it was deleted...
 
 
I hope this help.

 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

I just went on that link, and copied everything - opened notepad, and saved the file to cacert.pem.

Using Filezilla I uploaded the file to /app/cache/dev

 

Use debug mode and click on modules & services - you will see there is missing file "cacert.pem" in that directory.

 

Hope that helps you guys! 

 

You save my life. Thanks bro!!

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