0
Welcome Guest! Login
0 items Join Now

errors after php upgrade from 5.2.6 to 5.3.13

  • errors after php upgrade from 5.2.6 to 5.3.13

    Posted 12 years 11 months ago
    • Hello, I'm having an issue with two of my rockettheme sites after my host upgraded PHP to 5.3.13 from 5.2.6. One site is on joomla 1.5.14 and the other is on 1.5.15. Both show similar errors. The error is:

      Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 35 bytes) in /home/westcoas/public_html/libraries/joomla/error/exception.php on line 117

      exception.php line 117 has:

      $this->backtrace = debug_backtrace();

      I did read that joomla 1.5.14 and below is not compatible with PHP 5.3.x, which would explain why one of the sites isn't working, but the other should work. Any ideas? Any help is much appreciated!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: errors after php upgrade from 5.2.6 to 5.3.13

    Posted 12 years 11 months ago
    • When you see an error that reads “Fatal Error: Allowed memory size of xxxxxx bytes exhausted” either in browser or server logs , that means PHP has exhausted the max memory limit. Mostly, this is due to the insufficient memory allocated for the script which tried to allocate xx more. This is part of the error message that says (tried to allocate xx bytes).

      Increase the "memory limit" to a size that totals over the amount you saw in the error.

      Generally for Joomla 64Mb is a good number and if your running a lot of extensions, like RokGallery, 128Mb would be preferable.
  • Re: errors after php upgrade from 5.2.6 to 5.3.13

    Posted 12 years 11 months ago
    • Thanks for the response Dan. What I don't understand is that this runs perfectly on PHP 5.2.6. upon upgrading it was exhausing 1024 MB of ram. Clearly there is something going on with a Joomla install on 5.3.13 that isn't happening on PHP 5.2.6. What that is, is what I'm trying to figure out. I rolled back php to my previous version of 5.2.6 and all is well again.

Time to create page: 0.075 seconds