<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() 错误

        php Warning: strtotime() Error(php 警告:strtotime() 错误)
        <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() 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                      <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>
                          <tbody id='CUONr'></tbody>
                          <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>