WordPress.org

Ready to get started?Download WordPress

Forums

ERROR MESSAGE... (6 posts)

  1. jewelseinc
    Member
    Posted 1 year ago #

    I can not figure out how to get rid of this message and the set will not let me do anything including upload new photos.. It keeps telling me i am over QUOTA.. PLEASE HELP...

    The message i get is this:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 311296 bytes) in /home/jjewelse/public_html/wp-content/plugins/nextgen-gallery/admin/manage-images.php on line 475

    The site is: http://www.jewelseinc.com

    Please HELP!!

  2. Try increasing the allowed memory in your wp-config file... or deactivate the NextGen Gallery plugin.

    You can try these steps to increase your memory:

    1. Try adding this line to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '64M');
    
    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    
    3. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    4. Talk to your host.
  3. jewelseinc
    Member
    Posted 1 year ago #

    How do I find this line on the page? I had someone seeing the site and now I maintain it.. also the nexgen gallery I don't want to deactivate because its where I upload all my photos from. I didn't have issues with it before and loaded huge files with no problem. I have unlimited memory with my host company too.

  4. Using method number one... you won't find this on the page. You need to add it to the page.

    Just look for other code using the 'define('whatever');' and add it on a new line directly below the other code.

  5. jewelseinc
    Member
    Posted 1 year ago #

    Thank you for the help.. But can you give me a little bit more of direction like step by step on where I need to go because I am New to all this..

  6. Certainly.

    You will need to use FTP or your hosts CPanel software to access your WordPress file directories. One there, in your root folder, you will see the file wp-config.php.

    Open this in a file editor software... like NotePad++.

    Look for the code where definitions for the salt keys are set... it should be toward the top of the file:

    define('AUTH_KEY',         'put your unique phrase here');
    define('SECURE_AUTH_KEY',  'put your unique phrase here');
    define('LOGGED_IN_KEY',    'put your unique phrase here');
    define('NONCE_KEY',        'put your unique phrase here');
    define('AUTH_SALT',        'put your unique phrase here');
    define('SECURE_AUTH_SALT', 'put your unique phrase here');
    define('LOGGED_IN_SALT',   'put your unique phrase here');
    define('NONCE_SALT',       'put your unique phrase here');

    Then, just add the code to a new line below all of them.

    Final code should look similar to this:

    define('AUTH_KEY',         'put your unique phrase here');
    define('SECURE_AUTH_KEY',  'put your unique phrase here');
    define('LOGGED_IN_KEY',    'put your unique phrase here');
    define('NONCE_KEY',        'put your unique phrase here');
    define('AUTH_SALT',        'put your unique phrase here');
    define('SECURE_AUTH_SALT', 'put your unique phrase here');
    define('LOGGED_IN_SALT',   'put your unique phrase here');
    define('NONCE_SALT',       'put your unique phrase here');
    define('WP_MEMORY_LIMIT', '64M');

    Notice the bottom line.

Topic Closed

This topic has been closed to new replies.

About this Topic