using older php-versions in addition?

  • Hi - thelog entries are "deprecated warnings" - often about "ereg_replace". You can disable them in the settings (to prevent a log overflow :-)


    With newer php versions (6.0?) the now deprecated functions will be removed or changed definitly...


    /J

  • Like joximu say: Deprecated warnings can be disabled easily.


    Found on google :


    http://www.typo3forum.net/forum/165371-post14.html


    If not, you will have shit like : http://www.cargo-operation-centre.de/function.session-start

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Edit: The better to follows (I thinks) :


    If you are already using PHP 5.3.x and you’ve just upgraded to Typo 4.3 or greater, Typo3 might start throwing exceptions where previously everything had worked out just fine.


    This is because the Typo3 developers chose to take some of the error handling into their own hands and raise exceptions for certain errors. Now these “certain errors” for which exceptions are raised include E_DEPRECATED, and as a bunch of functions have been deprecated in PHP 5.3, well, you know where I’m going with this.


    Fortunately, there is a configuration variable which allows to change the default behavior:


    $TYPO3_CONF_VARS['SYS']['exceptionalErrors']


    The default value (defined in “t3lib/config_default.php”) is


    Code
    1. E_ALL ^ E_NOTICE ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE ^ E_USER_WARNING


    To disable the deprecation exceptions, just add a ^ E_DEPRECATED like this (the line goes in your localconf.php file):


    Code
    1. $TYPO3_CONF_VARS['SYS']['exceptionalErrors'] = E_ALL ^ E_NOTICE ^ E_WARNING ^ E_USER_ERROR ^ E_USER_NOTICE ^ E_USER_WARNING ^ E_DEPRECATED;


    Ref: http://x3ro.de/php-53-typo3-43-t3liberrorexception/


    Edit: Seem that is for typo >= 4.3 but normally, you must now got the idea to how resolve the issue without installing older php version.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206


  • Edit: Seem that is for typo >= 4.3 but normally, you must now got the idea to how resolve the issue without installing older php version.


    yes - thanks for all the constructive input!
    glad to have two opportunities now - at least for typo3 installations.


    regards
    olibert