thewattons Posted July 20, 2017 Share Posted July 20, 2017 (edited) Bonjour, J'ai transférer mon site en local sur ovh sur un sql privé. J'ai bien accès au front et au bak office mais je n'arrive pas à accéder aux modules. J'ai l'erreur suivante: Cannot get catalog data, please try again later. Reason: Data from PrestaShop Addons is invalid, and cannot fallback on cache Ensuite lorsque je vais sur notifications j'ai l'erreur suivante: Whoops, looks like something went wrong. 2/2RequestException in RequestException.php line 51:SSL CA bundle not found: /home/xxxxxx/www/app/cache/dev/cacert.pem in RequestException.php line 51 at RequestException::wrapException(object(Request), object(InvalidArgumentException)) in Client.php line 184 at Client->send(object(Request)) in Client.php line 125 at Client->get(null, array('query' => array('format' => 'json', 'iso_lang' => 'fr', 'iso_code' => 'FR', 'version' => '1.7.1.0', 'method' => 'listing', 'action' => 'categories'))) in ApiClient.php line 170 at ApiClient->getResponse() in ApiClient.php line 124 at ApiClient->getCategories() in CategoriesProvider.php line 48 at CategoriesProvider->getCategories() in CategoriesProvider.php line 108 at CategoriesProvider->getParentCategory('') in AdminModuleDataProvider.php line 188 at AdminModuleDataProvider->generateAddonsUrls(array(object(Module), object(Module), object(Module)), 'configure') in ModuleManager.php line 128 at ModuleManager->getModulesWithNotifications(object(Closure)) in ModuleController.php line 405 at ModuleController->notificationAction() at call_user_func_array(array(object(ModuleController), 'notificationAction'), array()) in bootstrap.php.cache line 3222 at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3181 at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3335 at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2540 at Kernel->handle(object(Request), '1', false) in index.php line 86 1/2InvalidArgumentException in CurlFactory.php line 372:SSL CA bundle not found: /home/xxxxx/www/app/cache/dev/cacert.pem in CurlFactory.php line 372 at CurlFactory->applyHandlerOptions(array('scheme' => 'https', 'http_method' => 'GET', 'url' => 'https://api-addons.prestashop.com?format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories' 'uri' => '/', 'headers' => array('Host' => array('api-addons.prestashop.com'), 'User-Agent' => array('Guzzle/5.3.1 curl/7.21.0 PHP/5.4.45')), 'body' => null, 'version' => '1.1', 'client' => array('redirect' => array('max' => '5', 'strict' => false, 'referer' => false, 'protocols' => array('http', 'https')), 'decode_content' => true, 'verify' => '/home/xxxxx/www/app/cache/dev/cacert.pem', 'timeout' => '5.0', 'cache_lookup' => 'MISS'), 'query_string' => 'format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories', 'future' => false), array('_headers' => array('Host' => array('api-addons.prestashop.com'), 'User-Agent' => array('Guzzle/5.3.1 curl/7.21.0 PHP/5.4.45')), 'GET', 'https://api-addons.prestashop.com?format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories', false, false, '150', object(Closure), '2', '3', '', array('Accept-Encoding:'), '2', true, '/home/xxxxx/www/app/cache/dev/cacert.pem')) in CurlFactory.php line 33 at CurlFactory->__invoke(array('scheme' => 'https', 'http_method' => 'GET', 'url' => 'https://api-addons.prestashop.com?format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories' 'uri' => '/', 'headers' => array('Host' => array('api-addons.prestashop.com'), 'User-Agent' => array('Guzzle/5.3.1 curl/7.21.0 PHP/5.4.45')), 'body' => null, 'version' => '1.1', 'client' => array('redirect' => array('max' => '5', 'strict' => false, 'referer' => false, 'protocols' => array('http', 'https')), 'decode_content' => true, 'verify' => '/home/xxxxx/www/app/cache/dev/cacert.pem', 'timeout' => '5.0', 'cache_lookup' => 'MISS'), 'query_string' => 'format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories', 'future' => false)) in CurlMultiHandler.php line 82 at CurlMultiHandler->__invoke(array('scheme' => 'https', 'http_method' => 'GET', 'url' => 'https://api-addons.prestashop.com?format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories' 'uri' => '/', 'headers' => array('Host' => array('api-addons.prestashop.com'), 'User-Agent' => array('Guzzle/5.3.1 curl/7.21.0 PHP/5.4.45')), 'body' => null, 'version' => '1.1', 'client' => array('redirect' => array('max' => '5', 'strict' => false, 'referer' => false, 'protocols' => array('http', 'https')), 'decode_content' => true, 'verify' => '/home/xxxx/www/app/cache/dev/cacert.pem', 'timeout' => '5.0', 'cache_lookup' => 'MISS'), 'query_string' => 'format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories', 'future' => false)) in Middleware.php line 54 at Middleware::GuzzleHttp\Ring\Client\{closure}(array('scheme' => 'https', 'http_method' => 'GET', 'url' => 'https://api-addons.prestashop.com?format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories' 'uri' => '/', 'headers' => array('Host' => array('api-addons.prestashop.com'), 'User-Agent' => array('Guzzle/5.3.1 curl/7.21.0 PHP/5.4.45')), 'body' => null, 'version' => '1.1', 'client' => array('redirect' => array('max' => '5', 'strict' => false, 'referer' => false, 'protocols' => array('http', 'https')), 'decode_content' => true, 'verify' => '/home/xxxxx/www/app/cache/dev/cacert.pem', 'timeout' => '5.0', 'cache_lookup' => 'MISS'), 'query_string' => 'format=json&iso_lang=fr&iso_code=FR&version=1.7.1.0&method=listing&action=categories', 'future' => false)) in RequestFsm.php line 129 at RequestFsm->__invoke(object(Transaction)) in Client.php line 165 at Client->send(object(Request)) in Client.php line 125 at Client->get(null, array('query' => array('format' => 'json', 'iso_lang' => 'fr', 'iso_code' => 'FR', 'version' => '1.7.1.0', 'method' => 'listing', 'action' => 'categories'))) in ApiClient.php line 170 at ApiClient->getResponse() in ApiClient.php line 124 at ApiClient->getCategories() in CategoriesProvider.php line 48 at CategoriesProvider->getCategories() in CategoriesProvider.php line 108 at CategoriesProvider->getParentCategory('') in AdminModuleDataProvider.php line 188 at AdminModuleDataProvider->generateAddonsUrls(array(object(Module), object(Module), object(Module)), 'configure') in ModuleManager.php line 128 at ModuleManager->getModulesWithNotifications(object(Closure)) in ModuleController.php line 405 at ModuleController->notificationAction() at call_user_func_array(array(object(ModuleController), 'notificationAction'), array()) in bootstrap.php.cache line 3222 at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3181 at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3335 at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2540 at Kernel->handle(object(Request), '1', false) in index.php line 86 Est-ce que vous avez une idée? Edited July 20, 2017 by thewattons (see edit history) Link to comment Share on other sites More sharing options...
thewattons Posted July 20, 2017 Author Share Posted July 20, 2017 problème résolu.IL suffisait de remettre de télécharger le fichier cacert.pem et de le mettre dans dev. merci Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now