It means exactly what it says.
Your server's PHP configuration doesn't have date.timezone set properly.
You, or your hosting company, need to correct that. Contact them for help with fixing their configuration problem.
It means exactly what it says.
Your server's PHP configuration doesn't have date.timezone set properly.
You, or your hosting company, need to correct that. Contact them for help with fixing their configuration problem.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thank you, I thought if any other idea could not be here. I have solved it. I know the best way is to correct server. Thank you for quick reply.
Talk to your hosting company and ask them to tell you which method they prefer you to use: either php.ini or .htaccess ... and ask them for specific instructions on how to do that for YOUR site.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
note - I am replicating my "real world" cart to be able to customize a template on an installation on my own computer.
Code:<?php /** * @package Installer * @access private * @copyright Copyright 2003-2010 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: application_top.php 17117 2010-07-31 18:19:41Z drbyte $ */ /** * ensure odd settings are disabled and set required defaults */ //@ini_set("session.auto_start","0"); //@ini_set("session.use_trans_sid","0"); @ini_set('date.timezone', 'America/Vancouver'); @ini_set("arg_separator.output","&"); /** * Set the local configuration parameters - mainly for developers */ if (file_exists('includes/local/configure.php')) { /** * load any local(user created) configure file. */ include('includes/local/configure.php'); } /**
Last edited by jbdougherty; 30 Oct 2011 at 04:41 PM. Reason: lose double spacing in code snippet
Bookmarks