20 Kasım 2010 Cumartesi

Strict Standards: Non-static method JLoader::import() should not be called statically


after deleting the "installation" folder and opening the website what I observe is:

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 29

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 32

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 138

Strict Standards: Non-static method JRequest::clean() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 33

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 463

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 464

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 465

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 466

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 467

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 468

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 35

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 38

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 39

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71


SOLUTION:

open the "php.ini" file in the EasyPHP-5.3.3.1/conf_files/ and make the changes below:


1) change
Code:

Kod:
error_reporting = E_ALL | E_STRICT

by
Code:

Kod:
error_reporting = E_ALL & ~E_STRICT


2) change
Code:
Kod:
display_errors = On

by
Code:
Kod:
display_errors = Off


Warning : Be sure your error_reporting and display_errors variables are the last one to be read in the php.ini file, else yours could be overwritten by default values.
Furthermore, you can leave var $error_reporting = '-1'; unchanged in joomla configuration.php

1 yorum:

  1. Disabling error reporting is not going to fix it :p

    YanıtlaSil