Warning: mktime() + Warning: Cannot modify header

Hello,

Can someone help me solve issues causing the following warnings to show:

Warning: mktime() [function.mktime]: 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/Los_Angeles' for 'PDT/-7.0/DST' instead in /home/acc/public_html/mysite.com/templates/base/scripts/BxBaseFunctions.php on line 156

Warning: Cannot modify header information - headers already sent by (output started at /home/acc/public_html/mysite.com/templates/base/scripts/BxBaseFunctions.php:156) in /home/acc/public_html/mysite.com/inc/classes/BxDolTemplate.php on line 1702

Warning: Cannot modify header information - headers already sent by (output started at /home/acc/public_html/mysite.com/templates/base/scripts/BxBaseFunctions.php:156) in /home/acc/public_html/mysite.com/inc/design.inc.php on line 101

I got them when I clicked on a banner link.

 

Thanks

Quote · 22 May 2013

Hello,

I believe that this was an error on your apache configuration. It would be better to contact your host provider to fix this problem. 

http://www.ebboonex.com - Boonex Module Development
Quote · 22 May 2013

You need to specify a timezone for PHP.  Edit php.ini and include a line like this:

 

date.timezone = America/New_York

 

This will set the timezone to EST.  For more timezones, see: http://php.net/manual/en/timezones.php

 

If you're on a shared server, contact your host to have this fixed.  For VPS/dedicated, there's a PHP configuration editor available from WHM -> Service Configuration - PHP Configuration Editor.  Switch to advanced mode to see the timezone directive.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 May 2013

or you could try putting this on the top of inc/header.inc.php after <?php

date_default_timezone_set('America/New_York');

but better would be to set it in php.ini if you can.

so much to do....
Quote · 24 May 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.