douqiju2520 2016-11-21 14:10
浏览 67
已采纳

Prestashop 1.7模块目录数据未找到

So i installed PrestaShop 1.7 on my local (keep in mind my local works perfectly find) moved it over to live staging (had no database import or exporting errors or installation errors),but for some reason everything works but if i open the CMS logged in, and i click on the tab "Modules & Services" i get the following message with a "try again" call to action button underneath the message.

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

So i tried clearing cache, tried searching for answers , but found unsecured replies which i cant rely on.

Also in my "Modules & Services" when i click on the tab "Installed modules" i get an "RequestException in RequestException.php line 51" saying SSL CA bundle not found, so my modules is broken , i did see im not the only one with this problem but havent seen any fix on this?

Also could it be that on my Apache server the SSL is blocking this module? which means i would have to get access because at this moment i do not have access.

Also i tried this secured sulotion, tripple checked all my changes still got the same exact error message. (https://github.com/PrestaShop/PrestaShop/pull/6848/files)

  • 写回答

2条回答 默认 最新

  • douxie7738 2016-12-12 11:54
    关注

    i have not tried this becuase i have moved back to version 1.6, but for anyone with the same problem, prestashop developer posted this to my question,just follow link.

    https://www.prestashop.com/forums/topic/569275-prestashop-17-modules-catalog-data-not-found/#entry2463881

    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/P...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. (ref, mrbrazzi)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 LiBeAs的带隙等于0.997eV,计算阴离子的N和P
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 来真人,不要ai!matlab有关常微分方程的问题求解决,
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算