나는 안드로이드 앱을 가지고 있는데, 웹 서버 (cakephp 사용)의 기능을 호출합니다. 그리고이 '정의되지 않은 함수 curl_init()'호출과 같은 오류를 반환합니다. Google에서 일부 검색을 수행하고 php5-curl 패키지를 설치하여이 오류를 해결하려고했지만이 패키지를 설치 한 후 웹 서버가 더 이상 작동하지 않습니다. 돌아 오는php5-curl 꾸러미를 설치 한 후 Cakephp가 작동하지 않습니다.
Strict Standards: Non-static method App::core() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 429
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Warning: Illegal string offset 'file' in /var/www/postmail/cake/libs/debugger.php on line 622
Warning: Illegal string offset 'line' in /var/www/postmail/cake/libs/debugger.php on line 622
Strict Standards: Non-static method App::core() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 429
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 398
Strict Standards: Non-static method Configure::read() should not be called statically in /var/www/postmail/cake/basics.php on line 213
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /var/www/postmail/cake/libs/configure.php on line 155
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 657
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 657
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 668
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 668
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 673 Warning (2): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. [CORE/cake/libs/cache.php, line 570] Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 308
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 155
Strict Standards: Non-static method CakeLog::write() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 311
Strict Standards: Non-static method String::insert() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/debugger.php on line 311
Strict Standards: Non-static method CakeLog::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cake_log.php on line 230
Strict Standards: Non-static method App::import() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cake_log.php on line 180
Strict Standards: Non-static method App::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 909
Strict Standards: Non-static method Cache::read() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 982
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cache.php on line 330
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cache.php on line 505
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/configure.php on line 155
Strict Standards: Non-static method Inflector::underscore() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/cache.php on line 672
Strict Standards: Non-static method Inflector::getInstance() should not be called statically, assuming $this from incompatible context in /var/www/postmail/cake/libs/inflector.php on line 512
Notice: Trying to get property of non-object in /var/www/postmail/cake/libs/cache/file.php on line 248
Fatal error: Call to a member function cd() on a non-object in /var/www/postmail/cake/libs/cache/file.php on line 248
누구든지 그것을 고칠 방법을 알고 있습니까? 미리 감사드립니다.
을 ?? 나는이 같은 문제가 있었지만 CakePHP 1.3.6과 PHP 5.4의 조합 사이에는 문제가있었습니다. CakePHP를 최신 버전으로 업데이트 한 후 문제가 해결되었습니다. – elboletaire
이 항목을 숨기려면 http://stackoverflow.com/questions/1248952/php-5-disable-strict-standards-error를 참조하십시오. –
가장 안정적으로 업그레이드해야하는 항목은 무엇입니까? 1.4 또는 이와 유사한 것인가? 나는 2.3로 완전히 업그레이드하는 두통을 겪고 싶지 않다. – Ryan