我在这个便士拍卖脚本上的错误,我从一家公司购买了一段时间,现在已经不存在了,他们的网站处于脱机状态,并且无法获得他们过去大约一年到两年的技术支持几年前,现在它被上传,我收到了很多错误。有人可以帮忙吗?
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/config/core.php on line 50
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/config/core.php on line 51
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 643
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 663
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 664
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 670
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 671
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 676
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
答案 0 :(得分:5)
如果你的cakephp版本是1.3和php5.4
在php 5.4中,E_STRICT
位于E_ALL
/cake/bootstrap.php
用这个替换error_reporting()
......
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
答案 1 :(得分:0)
正如拉杰夫建议的那样,但在我的情况下error_reporting(E_ALL和〜E_STRICT和〜E_DEPRECATED)应位于cake \ cake \ libs \ configure.php