date.timezone

Someone can help me to create a (php.ini) file.

For dolphin 7.2 I have the page full of Warming - date.timezone 

I need my time zone be date.timezone = "Europe / Madrid"

I have no idea to program. Can someone help me with my problem?

Thank you very much

Quote · 4 Sep 2015

In the administration section, if you go to tools, Host Tools, and select PHP info, you get an overview of your PHP settings, incl the location of the PHP.ini file that is in use (Loaded Configuration File).

In the PHP.ini file add the following line:

date.timezone = "Europe/Madrid"

 

When done, you need to restart the Apache service for this new setting to become active

 

Please be aware that PHP executed via crons might use a different PHP.ini file than PHP executed via your webserver

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 4 Sep 2015

no I find the php.ini file in dolphin 7.2

It can be a little more specific about how to solve this problem

It would be very grateful

Quote · 4 Sep 2015

This is going to depend on your hosting and what access you have for setting php.ini.  php.ini is a server file that configures the parameters for php.  You may or may not have access to the php.ini file.  If you don't have access, there is another way to set the date/time zone.

Geeks, making the world a better place
Quote · 4 Sep 2015

I do not have access

and the server does not think it helps a lot

Quote · 4 Sep 2015

OK, you can try adding it to the header.inc.php file located in /inc directory of Dolphin.

First make a backup of the file, header.inc.php.  Then edit header.inc.php and add after the php opening tag:

date_default_timezone_set('Europe/London'); change the Europe/London for your time zone; you can find a list of timezones at the php website..

If you experience any issues, copy the backup of the file back in place and report back to the forum here.

Geeks, making the world a better place
Quote · 4 Sep 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.