• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (Fog 1.2.0 missing FOG_MEMORY_LIMIT)

Scheduled Pinned Locked Moved Solved
FOG Problems
2
5
2.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    lastchance12
    last edited by lastchance12 Feb 29, 2016, 1:03 PM Feb 29, 2016, 7:01 PM

    Fog 1.2.0/Kernel 3.14.2

    I am currently getting the below error every time I try and run a report for user login hist. I read many posts where Fog Settings/General Settings/FOG_MEMORY_LIMIT resolves this issue, but i do not have that option. Is there a work arround for this?

    Thanks,
    Chance

    [Mon Feb 29 13:47:54.355826 2016] [:error] [pid 17786] [client x.x.x.x:xxxxx] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/fog/lib/fog/FOGBase.class.php on line 53, referer: http://fogserver/fog/management/index.php?node=report

    0_1456772629445_upload-4775fb5e-2490-4faa-87e3-09bbaa018350

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Feb 29, 2016, 7:21 PM

      1.2.0 doesn’t have that I think. But you can still change it manually.

      Edit php.ini
      Search memory_limit in your php.ini, and change the value of it. If there is no memory_limit found, add the following line at the end of php.ini
      memory_limit = 128M ;

      Change the 128M to your needs

      Save file and then Restart Apache.

      Resource used:
      http://tutorials.hostucan.net/how-to-increase-php-memory-limit/

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 2
      • L
        lastchance12
        last edited by Feb 29, 2016, 7:56 PM

        That was the fix. I just came back to post that I changed the php.ini file to 1024M, rebooted and it loaded the user login hist. For anyone else with this issue the file is located in /etc/php5/apache2 and I had to change permissions before making the change. Thanks for your help Wayne.

        W 1 Reply Last reply Feb 29, 2016, 7:58 PM Reply Quote 1
        • W
          Wayne Workman @lastchance12
          last edited by Feb 29, 2016, 7:58 PM

          @lastchance12 What operating system and version?

          Also, glad you got it working.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          L 1 Reply Last reply Feb 29, 2016, 7:59 PM Reply Quote 0
          • L
            lastchance12 @Wayne Workman
            last edited by Feb 29, 2016, 7:59 PM

            @Wayne-Workman
            Ubuntu 14.04.2 LTS
            Fog 1.2.0

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              2/5
              Last post

            203

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project