Error on index page in Dolphin 7.1 fresh install

 

Hi

I have installed a fresh copy of the last version of Dolphin.

The instalation was ok, without errors.

On index page ( bottom) i get this error :  "Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/admin/public_html/clubvirtual.ro/inc/classes/BxDolTemplate.php on line 782


Any ideea ?

bonnex-error.jpg · 139.2K · 225 views
https://RomaniaOnline.club
Quote · 13 Mar 2013

The default timezone has not been set in php config.

Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid, and/or a E_WARNING message if using the system settings or the TZ environment variable.

Geeks, making the world a better place
Quote · 13 Mar 2013

set in your php.ini; date.timezone = "America/Chicago" replacing the America/Chicago with your timezone.

A list of supported timezones can be found at http://www.php.net/manual/en/timezones.php

Geeks, making the world a better place
Quote · 13 Mar 2013

i dont have any date.timezone in phi.ini  in my cpanel...

 

and this is a bug.. should be resolved by boonex..

https://RomaniaOnline.club
Quote · 14 Mar 2013

 

i dont have any date.timezone in phi.ini  in my cpanel...

 

and this is a bug.. should be resolved by boonex..

 lol... SuperBus... What GeekGirl is telling you is that its a PHP issue... And its a very simple fix!

Look for your php.ini file. It should be in the site root directory. Edit it with your favorite editor (notepad or Dreamweaver) Add the line: 

date.timezone = "America/Chicago" replacing the America/Chicago with your timezone.

Save and upload back to your root dir....

Then Go to your Dolphin admin panel, click on tools and then Cache... and clear all.  Then refresh  your website's page and you should be all set.


Quote · 14 Mar 2013

if i edit phi.ini  i blow out all my websites :)

https://RomaniaOnline.club
Quote · 15 Mar 2013

 

if i edit phi.ini  i blow out all my websites :)

 Huh. Now why on earth would that happen? Unless you do something wrong.

In any case it is not a dolphin bug. PHP requires the servers time zone be configured for the php date functions. This is a requirement as of php version 5.3

If you search google for "Warning: date() [function.date]: It is not safe to rely on the system's timezone settings" you will find it affects tons of scripts that use php's date functions.


https://www.deanbassett.com
Quote · 15 Mar 2013

because is not the only website hosted on that server...

 

i have other 6 there :)

https://RomaniaOnline.club
Quote · 27 Mar 2013

 

because is not the only website hosted on that server...

 

i have other 6 there :)

Setting the timezone in PHP won't break your other sites.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 27 Mar 2013
 
 
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.