Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Php Fatal Error - Timezone_Identifiers_List Rate Topic   - - - - -

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3830 posts

Posted 09 July 2019 - 01:46 PM #1

I'm running 4.9.3 and have been noticing these errors once every couple of days.

[09-Jul-2019 01:27:41 America/Chicago] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in /home/account/public_html/app/functions/fn.init.php on line 864
[09-Jul-2019 01:27:41 America/Chicago] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 32768 bytes) in /home/account/public_html/app/Tygh/Exceptions/PHPErrorException.php on line 1

Line 864 in fn.init.php shows:
 

    $valid_timezone_identifiers = timezone_identifiers_list();

Anybody have any ideas what is going on? I am assuming it cannot populate the timezone list. I am not sure but I think the errors began after I started using redis for sessions.



 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3830 posts

Posted 11 July 2019 - 01:34 AM #2

Anybody have any ideas what is going on?


As usual, I didn't think so.



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11363 posts

Posted 11 July 2019 - 06:49 PM #3

I'm seeing errors regarding the DateTime class not being defined running 7.1 on an MVE site.  But DateTime is a builtin class so I have no idea why it's generating the errors.  But I'm going to guess that the timezone_identifiers_list() function is a functional interface into the DateTime class.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3830 posts

Posted 12 July 2019 - 03:26 AM #4

It occurs so infrequent that I cannot pinpoint what action is causing the error.  But I do know (from stats) that it puts a hell of a load on the server for about 5-10 minutes.

 

I will probably go back to database and monitor.



 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 547 posts

Posted 12 July 2019 - 05:30 AM #5

There are a bunch of DateTime related bugs in PHP already: https://bugs.php.net...120&status=Open


PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).