FATAL ERROR:Memory Limit Changed

Discussion in 'General' started by whbh, Jun 2, 2009.

  1. whbh

    Joined:
    Jun 1, 2009
    Messages:
    23
    Likes Received:
    0
    Hi

    I got this message

    FATAL ERROR
    UPDATE notifications SET level = 600, display_text = 'Memory Limit Changed', extended_text = 'Your memory_limit, 64M, is set too low and has been increased to 100M. You may want to change this in you php.ini config file', link = '', reset = 0, candelete = 1, timestamp = 1243925612 WHERE module = 'core' AND id = 'MEMLIMIT' [nativecode=126 ** Incorrect key file for table './asterisk/notifications.MYI'; try to repair it]SQL -
    UPDATE notifications SET level = 600, display_text = 'Memory Limit Changed', extended_text = 'Your memory_limit, 64M, is set too low and has been increased to 100M. You may want to change this in you php.ini config file', link = '', reset = 0, candelete = 1, timestamp = 1243925612 WHERE module = 'core' AND id = 'MEMLIMIT'


    Can anybody help ?
     
  2. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    You can change the limit in /etc/php.d/elastix.ini
     
  3. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Your primary problem is with a mysql table:
    Code:
    /usr/bin/mysql -h 127.0.0.1 -u root -peLaStIx.2oo7 --batch -B -N -D asterisk -e "repair table notifications"
    
    (that was all one line)

    should fix it.

    The second is not really an error just a flaw in Elastix/FreePBX installation, edit /etc/php.ini and change memory_limit = 64M to 100M.
     

Share This Page