0
Welcome Guest! Login
0 items Join Now

SOLVED Huge error_log file

    • Nguyen's Avatar
    • Nguyen
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    SOLVED Huge error_log file

    Posted 11 years 3 months ago
    • One of my website having error_log file filled up quickly with this kind of error messages:

      [02-Feb-2014 06:06:07 UTC] PHP Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/xxx/public_html/nguyenmonggiac.info/libraries/rokcommon/RokCommon/Service/ContainerImpl.php on line 464

      The website is nguyenmonggiac.info , using Ionosphere template and the latest Gantry, and :
      Database Version 5.5.34-cll-lve
      PHP Version 5.5.8
      Joomla! Version Joomla! 2.5.17 Stable [ Ember ] 18-December-2013 14:30 GMT
      Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT

      How can I stop the error messages to fill up the error_log file.
      Thanks
    • Last Edit: 11 years 3 months ago by Nguyen.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Huge error_log file

    Posted 11 years 3 months ago
    • This is because your using such a new version of PHP -> http://www.php.net/manual/en/migration55.deprecated.php . You can have your hoster set it back to PHP 5.4.x or DISABLE all error reporting.

      Admin -> Site -> Global Configuration -> Server -> Error Reporting -> set to MAXIMUM

      Create or find PHP.ini and set error_reporting as:
      error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED
    • Nguyen's Avatar
    • Nguyen
    • Rocketeer
    • Posts: 57
    • Thanks: 0

    Re: SOLVED Huge error_log file

    Posted 11 years 3 months ago
    • Thanks a lot!
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: SOLVED Huge error_log file

    Posted 11 years 3 months ago
    • hi there,

      just an update, we have a newer version of rokcommon now which is no longer throwing errors in php 5.5.x
      you'll get that for example in the latest version of roksprocket.

      hope this helps, kat :)
    • The following users have thanked you: Les Moore, Humberto Rezende

    • Kat05 / QA Lead & Support / Germany

Time to create page: 0.062 seconds