Jump to content

Error installing new package: Your default timezone is not supported by PHP.


Recommended Posts

Hello,

 

I am installing for the first time a copy of PrestaShop. I get the two following errors:

 

Your default timezone is not supported by PHP. Check for typos in your php.ini file and have a look at the list of deprecated timezones at http://php.net/manual/en/timezones.others.php.

Set short_open_tag to off in php.ini*.

 

But both, my time zone is correct and short open tag is off

 

This is taken form php info:

 

Directive Local Value Master Value date.default_latitude 31.7667 31.7667 date.default_longitude 35.2333 35.2333 date.sunrise_zenith 90.583333 90.583333 date.sunset_zenith 90.583333 90.583333 date.timezone America/Argentina/Buenos_Aires America/Argentina/Buenos_Aires

 

serialize_precision 17 17 short_open_tag Off Off

 

Any ideas?

 

Thanks.

Link to comment
Share on other sites

  • 3 months later...

Sorry Sir, but i finally solve the problem editing the file:

 

iso_to_timezone.xml

 

In /www/install/data directory 

 

I just copied from a line with similar timezone.

 

<relation iso="br" zone="America/Sao_Paulo" />

 

Now i´m in the next installation step..

 

 

  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...

For India

On 12/13/2017 at 8:59 PM, AvelarRio said:

Sorry Sir, but i finally solve the problem editing the file:

 

iso_to_timezone.xml

 

In /www/install/data directory 

 

I just copied from a line with similar timezone.

 

<relation iso="br" zone="America/Sao_Paulo" />

 

Now i´m in the next installation step..

 

 

For India it should be Asia/Kolkata

Damn!

Link to comment
Share on other sites

On 12/13/2017 at 6:54 PM, bellini13 said:

I believe this is a PHP bug, you should work with your hosting provider to upgrade from PHP 7.0.4 to the latest minor release.  I don't think this is an issue Prestashop can fix for you.

 

Prestashop iso_to_timezone.xml issue !

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...