私はアンドロイドアプリを持っています。これはweb-server(cakephpを使用)の機能を呼び出します。そして、この '未定義関数curl_init()'のようなエラーを返します。 Googleでいくつかの検索を行い、php5-curlパッケージをインストールしてこのエラーを修正しようとしましたが、このパッケージをインストールした後、Webサーバーはそれ以上動作しません。返す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
誰でもそれを修正する方法を知っていますか? ありがとうございます。
あなたがPHPのバージョンを使用しています?私はこの同じ問題を抱えていましたが、それは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