On 22/03/12 17:43, Chris Lamb wrote:
Bernat wrote:

it just shows some strict errors and warnings instead of my cakephp
app.
Care to share?

This is the ouput:

*Strict Standards*: Non-static method App::core() should not be called statically, assuming $this from incompatible context in */usr/share/php/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 */usr/share/php/cake/libs/debugger.php* on line *398*

*Warning*: Illegal string offset 'file' in */usr/share/php/cake/libs/debugger.php* on line *622*

*Warning*: Illegal string offset 'line' in */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/cake/libs/debugger.php* on line *398*

*Strict Standards*: Non-static method Configure::read() should not be called statically in */usr/share/php/cake/basics.php* on line *213*

*Strict Standards*: Non-static method Configure::getInstance() should not be called statically in */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/cake/libs/debugger.php* on line *673*

*Warning*  (2)  <javascript:void(0);>: strtotime() [function.strtotime  
<http://php.net/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/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 */usr/share/php/cake/libs/inflector.php* on line *512*

*Notice*: Trying to get property of non-object in */usr/share/php/cake/libs/cache/file.php* on line *248*

*Fatal error*: Call to a member function cd() on a non-object in */usr/share/php/cake/libs/cache/file.php* on line *248*



Also, does your app work with PHP 5.4.0 outside of cakephp-instaweb..?



I haven't tried since my main server doesn't have PHP 5.4.0. I guessed I'd file the bug for this package since I found some posts blaming the upstream program but I don't know for sure. It's my first contact with PHP 5.4.0.

--
Bernat




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to