In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
644 [In-Portal CMS] Optimization bug report always 2010-03-26 10:03 2012-07-25 05:33
Dmitry  
!COMMUNITY  
normal  
closed 5.0.2  
fixed  
 
none 5.2.0-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2dd7a0824fd0bb6f
2
0000644: Compatibility Issues with PHP 5.3.x
I've came across these errors, when I stated cron.php from command line.

Strict Standards: Declaration of kEvent::Init() should be compatible with that of kBase::Init() in /core/kernel/utility/event.php on line 337
PHP Strict Standards: Declaration of kFactory::makeClass() should be compatible with that of kBase::makeClass() in /core/kernel/utility/factory.php on line 331

Strict Standards: Declaration of kFactory::makeClass() should be compatible with that of kBase::makeClass() in /core/kernel/utility/factory.php on line 331
PHP Strict Standards: Declaration of PhrasesCache::Init() should be compatible with that of kBase::Init() in /core/kernel/languages/phrases_cache.php on line 363

Strict Standards: Declaration of PhrasesCache::Init() should be compatible with that of kBase::Init() in /core/kernel/languages/phrases_cache.php on line 363
PHP Strict Standards: Declaration of kDBItem::GetSelectSQL() should be compatible with that of kDBBase::GetSelectSQL() in /core/kernel/db/dbitem.php on line 1310

Strict Standards: Declaration of kDBItem::GetSelectSQL() should be compatible with that of kDBBase::GetSelectSQL() in /core/kernel/db/dbitem.php on line 1310
PHP Strict Standards: Declaration of kEventHandler::Init() should be compatible with that of kBase::Init() in /core/kernel/event_handler.php on line 206

Strict Standards: Declaration of kEventHandler::Init() should be compatible with that of kBase::Init() in /core/kernel/event_handler.php on line 206
PHP Strict Standards: Declaration of kEventHandler::getPrefixSpecial() should be compatible with that of kBase::getPrefixSpecial() in /core/kernel/event_handler.php on line 206

Strict Standards: Declaration of kEventHandler::getPrefixSpecial() should be compatible with that of kBase::getPrefixSpecial() in /core/kernel/event_handler.php on line 206

It looks like PHP 5.3.1 doesn't like, when we override method and removing part or all method parameters in it's overridden version.
Issue History
2012-07-25 05:33 alex Note Added: 0005081
2012-07-25 05:33 alex Status resolved => closed
2011-10-22 05:38 alex Estimate Points => 2
2011-09-27 04:28 alex Status reviewed and tested => resolved
2011-09-27 04:28 alex Fixed in Version => 5.2.0-B1
2011-09-27 04:28 alex Resolution open => fixed
2011-09-27 04:28 alex Note Added: 0003917
2011-09-27 04:28 alex Status needs testing => reviewed and tested
2011-09-27 04:27 alex Note Added: 0003916
2011-09-27 04:27 alex Assigned To => !COMMUNITY
2011-09-27 04:27 alex Developer => alex
2011-09-27 04:27 alex Status needs work => needs testing
2011-09-24 22:40 Dmitry Status needs testing => needs work
2011-09-24 22:40 Dmitry Assigned To Dmitry =>
2011-09-24 22:40 Dmitry Status needs feedback => needs testing
2011-09-24 22:40 Dmitry Note Added: 0003906
2011-09-24 22:40 Dmitry Target Version Icebox => 5.2.0
2010-04-12 16:06 alex Note Added: 0001868
2010-04-12 16:06 alex Target Version 5.1.0 => Icebox
2010-04-11 09:03 alex Note Added: 0001851
2010-04-11 09:03 alex Assigned To => Dmitry
2010-04-11 09:03 alex Status active => needs feedback
2010-03-26 10:03 Dmitry New Issue
2010-03-26 10:03 Dmitry Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2dd7a0824fd0bb6f

Notes
(0001851)
alex   
2010-04-11 09:03   
I don't know how to fix that, since it's normal to change method input
parameters when it is overwritten in extended class. All that errors about
about that.
(0001868)
alex   
2010-04-12 16:06   
Moving to Future because not critical and needs more research.
(0003906)
Dmitry   
2011-09-24 22:40   
I believe we can reviewed this in 5.2.0 release.
(0003916)
alex   
2011-09-27 04:27   
It seems to be resolved, because I no longer see such errors in command line, during mass refactoring in 5.2.0.
(0003917)
alex   
2011-09-27 04:28   
Will test with everything else later on.
(0005081)
alex   
2012-07-25 05:33   
Since 5.2.0 version was released.