<bdo id='TtjDa'></bdo><ul id='TtjDa'></ul>

      <small id='TtjDa'></small><noframes id='TtjDa'>

    1. <i id='TtjDa'><tr id='TtjDa'><dt id='TtjDa'><q id='TtjDa'><span id='TtjDa'><b id='TtjDa'><form id='TtjDa'><ins id='TtjDa'></ins><ul id='TtjDa'></ul><sub id='TtjDa'></sub></form><legend id='TtjDa'></legend><bdo id='TtjDa'><pre id='TtjDa'><center id='TtjDa'></center></pre></bdo></b><th id='TtjDa'></th></span></q></dt></tr></i><div id='TtjDa'><tfoot id='TtjDa'></tfoot><dl id='TtjDa'><fieldset id='TtjDa'></fieldset></dl></div>

    2. <tfoot id='TtjDa'></tfoot><legend id='TtjDa'><style id='TtjDa'><dir id='TtjDa'><q id='TtjDa'></q></dir></style></legend>

        php 警告:strtotime() 错误

        时间:2023-10-11
        <tfoot id='yh3ci'></tfoot>

          1. <i id='yh3ci'><tr id='yh3ci'><dt id='yh3ci'><q id='yh3ci'><span id='yh3ci'><b id='yh3ci'><form id='yh3ci'><ins id='yh3ci'></ins><ul id='yh3ci'></ul><sub id='yh3ci'></sub></form><legend id='yh3ci'></legend><bdo id='yh3ci'><pre id='yh3ci'><center id='yh3ci'></center></pre></bdo></b><th id='yh3ci'></th></span></q></dt></tr></i><div id='yh3ci'><tfoot id='yh3ci'></tfoot><dl id='yh3ci'><fieldset id='yh3ci'></fieldset></dl></div>
              • <legend id='yh3ci'><style id='yh3ci'><dir id='yh3ci'><q id='yh3ci'></q></dir></style></legend>
                  <tbody id='yh3ci'></tbody>

                <small id='yh3ci'></small><noframes id='yh3ci'>

                  <bdo id='yh3ci'></bdo><ul id='yh3ci'></ul>

                  本文介绍了php 警告:strtotime() 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我已将我的 joomla 和 wordpress 文件从旧服务器更改为新服务器.在前端和管理端,它的工作没有任何错误.但是在数据库(phpmyadmin)部分它显示了一些这样的警告消息..

                  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) Section it shows some warning messages like this..

                  Warning: strtotime() [function.strtotime]: 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 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /usr/share/phpmyadmin/libraries/db_info.inc.php on line 88
                  
                  Warning: strftime() [function.strftime]: 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 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /usr/share/phpmyadmin/libraries/common.lib.php on line 1483
                  

                  您能否建议如何隐藏这些警告消息??

                  Can you please suggest, how to hide these warning messages??

                  提前致谢.

                  推荐答案

                  你真的只是想隐藏错误信息还是你想解决问题,他们正在指示?

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

                  在您的新服务器上,您应该会发现 php.ini 文件中的设置 date.timezone 被注释掉了.在这里,您必须指定您的服务器所在的时区.例如,我的服务器位于德国,所以我在这里使用 Europe/Berlin:

                  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.

                  这篇关于php 警告:strtotime() 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:open_basedir 限制生效 文件不在允许的路径内 下一篇:配置中定义的控制用户连接失败.xampp

                  相关文章

                    <bdo id='CUONr'></bdo><ul id='CUONr'></ul>

                    <small id='CUONr'></small><noframes id='CUONr'>

                  1. <legend id='CUONr'><style id='CUONr'><dir id='CUONr'><q id='CUONr'></q></dir></style></legend>
                    <tfoot id='CUONr'></tfoot>
                    <i id='CUONr'><tr id='CUONr'><dt id='CUONr'><q id='CUONr'><span id='CUONr'><b id='CUONr'><form id='CUONr'><ins id='CUONr'></ins><ul id='CUONr'></ul><sub id='CUONr'></sub></form><legend id='CUONr'></legend><bdo id='CUONr'><pre id='CUONr'><center id='CUONr'></center></pre></bdo></b><th id='CUONr'></th></span></q></dt></tr></i><div id='CUONr'><tfoot id='CUONr'></tfoot><dl id='CUONr'><fieldset id='CUONr'></fieldset></dl></div>