Setup / Configuration Error Message

Discussion in 'Installation' started by rhodian, Nov 25, 2014.

  1. rhodian

    rhodian New Member

    Joined:
    Dec 11, 2008
    Messages:
    7
    I've recently set up my amember software and all worked fine but today when I wanted to continue, I got an error message when I tried to access the Setup / Configuration page from the menu.

    "Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/socioview/public_html/members/library/pear/HTML/QuickForm2/Element/Select.php on line 131"

    Does anybody know how I can fix this problem please?

    Many thanks!

    Rhodian
  2. robw

    robw CGI-Central Partner

    Joined:
    Dec 18, 2007
    Messages:
    267
    Yes, you need to increase the memory limit available to PHP. Depending on your host, you may be able to do this by adding a .htaccess file to your amember directory containing the command:

    For .htaccess:
    Code:
    <IfModule mod_php5.c>
    php_value memory_limit 128M
    </IfModule>
    But if your host has locked down changes via .htaccess, then you'll find the command throws a 500 internal server error when you try to access aMember.

    In which case, remove the lines and contact your host to get the php memory limit increased.

    Cheers
    Rob
  3. rhodian

    rhodian New Member

    Joined:
    Dec 11, 2008
    Messages:
    7
    Thanks Rob!
    Have a nice day buddy.
    robw likes this.

Share This Page