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 想问一下树莓派接上显示屏后出现如图所示画面,是什么问题导致的
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号