Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2dd7a0824fd0bb6f#

I've came across these errors, when I stated cron.php from command line.

No Format
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 removing part or all method parameters in it's overridden version.

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
Best Regards,
http://www.in-portal.com
http://www.alex-time.com
keyINP-508