Jump to content

Cannot connect to the PrestaShop website to get the language list.


Recommended Posts

Could somebody help me with the following error in the backend of prestashop 1.5.6.1:

 

Cannot connect to the PrestaShop website to get the language list.

 

I get this error when I open the page "translations" Curl is on the server enabled.

 

Server information

Server information: Linux #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64

Server software version: Apache

PHP version: 5.4.22

Memory limit: 512M

Max execution time: 300

Database information

MySQL version: 5.1.73

MySQL engine: InnoDB

Tables prefix: ps_

Store information

PrestaShop version: 1.5.6.1

Link to comment
Share on other sites

  • 2 months later...

I experienced the same thing, :rolleyes:

 

error [Localization]: Cannot connect to prestashop.com

 

what's the solution ?

help me?

I installed prestashop in subdomain

 

I have added the php.ini allow_url_fopen = On

 

but the result is still an error

 

help me.. thanks

Link to comment
Share on other sites

  • 5 months later...
  • 2 years later...

 

on file: /controllers/admin/AdminTranslationsController.php

 Line 204: $arrayStreamContext = @stream_context_create(array('http' => array('method' => 'GET', 'timeout' => 8)));


change 'http' with 'https'

 

$arrayStreamContext = @stream_context_create(array('https' => array('method' => 'GET', 'timeout' => 8)));

Edited by Nik_Greece (see edit history)
  • Thanks 1
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...