Jump to content
thewattons

back office errors

Recommended Posts

Hello Guys,

 

I just migrated my prestashop form local to ovh online.

 

It works but i always have sometimes some issues: 

 

1) i often have the following message when i go into the modules :Cannot get catalog data, please try again later. Reason: Data from PrestaShop Addons is invalid, and cannot fallback on cache"i tried to replace the cacert file which works the errors sometimes comes back. Do you guys know why?Is there way so i doesn't happen?

 

2) I also often have the followings errors and I think this is related:

RequestException in RequestException.php line 51:SSL CA bundle not found: /home/papadrinzb/www/app/cache/dev/cacert.pem
  1. in RequestException.php line 51
  2. at RequestException::wrapException(object(Request), object(InvalidArgumentException)) in Client.php line 184
  3. at Client->send(object(Request)) in Client.php line 125
  4. at Client->get(nullarray('query' => array('format' => 'json', 'iso_lang' => 'fr', 'iso_code' => 'FR', 'version' => '1.7.1.0', 'method' => 'listing', 'action' => 'categories'))) in ApiClient.php line 170
  5. at ApiClient->getResponse() in ApiClient.php line 124
  6. at ApiClient->getCategories() in CategoriesProvider.php line 48
  7. at CategoriesProvider->getCategories() in CategoriesProvider.php line 108
  8. at CategoriesProvider->getParentCategory('') in AdminModuleDataProvider.php line 188
  9. at AdminModuleDataProvider->generateAddonsUrls(array(object(Module), object(Module)), 'configure') in ModuleManager.php line 128
  10. at ModuleManager->getModulesWithNotifications(object(Closure)) in ModuleController.php line 405
  11. at ModuleController->notificationAction()
  12. at call_user_func_array(array(object(ModuleController), 'notificationAction'), array()) in bootstrap.php.cache line 3222
  13. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3181
  14. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3335
  15. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2540
  16. at Kernel->handle(object(Request), '1', false) in index.php line 86

and also:

InvalidArgumentException in CurlFactory.php line 372:SSL CA bundle not found: /home/papadrinzb/www/app/cache/dev/cacert.pem
  1. in CurlFactory.php line 372
  2. 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/papadrinzb/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', falsefalse, '150', object(Closure), '2', '3', '', array('Accept-Encoding:'), '2', true, '/home/papadrinzb/www/app/cache/dev/cacert.pem')) in CurlFactory.php line 33
  3. 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/papadrinzb/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
  4. 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/papadrinzb/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
  5. 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/papadrinzb/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
  6. at RequestFsm->__invoke(object(Transaction)) in Client.php line 165
  7. at Client->send(object(Request)) in Client.php line 125
  8. at Client->get(nullarray('query' => array('format' => 'json', 'iso_lang' => 'fr', 'iso_code' => 'FR', 'version' => '1.7.1.0', 'method' => 'listing', 'action' => 'categories'))) in ApiClient.php line 170
  9. at ApiClient->getResponse() in ApiClient.php line 124
  10. at ApiClient->getCategories() in CategoriesProvider.php line 48
  11. at CategoriesProvider->getCategories() in CategoriesProvider.php line 108
  12. at CategoriesProvider->getParentCategory('') in AdminModuleDataProvider.php line 188
  13. at AdminModuleDataProvider->generateAddonsUrls(array(object(Module), object(Module)), 'configure') in ModuleManager.php line 128
  14. at ModuleManager->getModulesWithNotifications(object(Closure)) in ModuleController.php line 405
  15. at ModuleController->notificationAction()
  16. at call_user_func_array(array(object(ModuleController), 'notificationAction'), array()) in bootstrap.php.cache line 3222
  17. at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3181
  18. at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3335
  19. at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2540
  20. at Kernel->handle(object(Request), '1', false) in index.php line 86

 

Any idea?

 

Thanks a lot!

 

Seb

d

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More