yii框架后端产品页面未显示

yii框架后端产品页面未显示,yii,frameworks,Yii,Frameworks,当我打开网站的后端并单击产品时,会出现此错误 错误1: date() [<a href='function.date'>function.date</a>]: 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

当我打开网站的后端并单击产品时,会出现此错误

错误1:

date() [<a href='function.date'>function.date</a>]: 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
public function actions()
   {
  return array(
            'uploadManufacLogo' => 'application.controllers.upload.ManuLogoUploadAction',
            'uploadDesignerLogo' => 'application.controllers.upload.DesigLogoUploadAction',
             'uploadProductImage' => 'application.controllers.upload.ProductImageUploadAction',
        );
     }
     public function init(){
         $this->_start_date                =    date("Y-m-d");
         $this->_end_date                =    date("Y-m-d",strtotime("+60 days"));
     }
     /**

您可能需要将时区放在php.ini文件的配置行中。在php.ini文件中应该有这样一个块:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
配置后,确保重新启动httpd
服务httpd restart