Project

General

Profile

Actions

Fehler #89

open

PHP5.4 / Joomla 2.5 Problems

Added by Don White about 12 years ago. Updated over 9 years ago.

Status:
Gelöst
Priority:
Normal
Category:
Bug
Target version:
eXtplorer Version:
2.1.0 RC5
Joomla! Version:
none

Description

Since i installed eXtplorer v2.3.0, the PHP logs have shown these errors consistently:

PHP Strict Standards: Non-static method ext_Result::init() should not be called statically in /home5/jrtcllcc/public_html/administrator/components/com_extplorer/admin.extplorer.php

PHP Strict Standards: Non-static method ext_Result::empty_errors() should not be called statically in /home5/jrtcllcc/public_html/huskies1969/administrator/components/com_extplorer/include/result.class.php

Joomla version: 2.5.7
Apache version 2.2.23
PHP version 5.4.7
MySQL version 5.1.66-community-log
Architecture x86_64
Operating system linux
Kernel version 2.6.32-20121101.59.3

Any ideas? I appreciate any suggestions.

Thanks!

Don White

Actions #1

Updated by Jürgen Vetter about 12 years ago

It is the same problem with Joomla 1.7.3

The reason ist the PHP.

With PHP 5.2.x works fine.

With PHP 5.4.9:
Strict Standards: Non-static method ext_Lang::detect_lang() should not be called statically in /homepages/26/d13474738/htdocs/CMS17_TEST/administrator/components/com_extplorer/include/init.php on line 103

Strict Standards: Non-static method ext_Result::init() should not be called statically in /homepages/26/d13474738/htdocs/CMS17_TEST/administrator/components/com_extplorer/admin.extplorer.php on line 97

Strict Standards: Non-static method ext_Result::empty_errors() should not be called statically in /homepages/26/d13474738/htdocs/CMS17_TEST/administrator/components/com_extplorer/include/result.class.php on line 40

Strict Standards: Non-static method ext_Result::empty_messages() should not be called statically in /homepages/26/d13474738/htdocs/CMS17_TEST/administrator/components/com_extplorer/include/result.class.php on line 41

Strict Standards: Declaration of ext_List::execAction() should be compatible with ext_Action::execAction($dir, $item) in /homepages/26/d13474738/htdocs/CMS17_TEST/administrator/components/com_extplorer/include/list.php on line 387

Best regards
JVe

Actions #2

Updated by Jürgen Vetter about 12 years ago

Hallo nochmal,
mit Unterstützung von Sören Eberhardt-Biermann wurde das Problem bei mir gelöst.
Vielen Dank für die Hilfe.

Änderung in der Datei admin.extplorer.php :

if( defined( 'E_STRICT' ) ) { // Suppress Strict Standards Warnings
error_reporting(E_ALL);
}

zu
if( defined( 'E_STRICT' ) ) { // Suppress Strict Standards Warnings
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);
}

Actions #3

Updated by Sören Eberhardt-Biermann almost 12 years ago

  • Category set to Bug
  • Status changed from Neu to Gelöst
  • Assignee set to Sören Eberhardt-Biermann
  • Target version set to 2.1.0
  • eXtplorer Version set to 2.1.0 RC5
  • Joomla! Version set to none
Actions #4

Updated by C haoz over 9 years ago

For PHP 5.6 E_DEPRECATED needs to be addded:

if( defined( 'E_STRICT' ) ) { // Suppress Strict Standards Warnings
error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE & ~E_DEPRECATED);
}

Actions

Also available in: Atom PDF