php Warning: strtotime() Error

后端 未结 4 1233
无人及你
无人及你 2021-01-19 10:09

I have changed my joomla and wordpress files from old server to new server. In the front end and admin side its working without any errors. But in the Database (phpmyadmin)

4条回答
  •  心在旅途
    2021-01-19 10:29

    Do you really just want to hide the error message or do you want to solve the problem, they're indicating?

    On your new server, you should find a setting date.timezone in your php.ini file commented out. Here, you have to specify the timezone your server is located in. For instance, my server is located in Germany, so I use Europe/Berlin here:

    date.timezone = Europe/Berlin
    

    You find a complete list of supported timezones here:

    http://www.php.net/manual/en/timezones.php

    After changing this setting, restart your web server and the warnings should be gone.

提交回复
热议问题