• I have been experiencing two problems since upgrading to 2.7.

    The first is when I try to update plugins. Some have updated correctly but cforms and wp-visitors give me the following error message: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1010456 bytes) in /home1/crawfos2/public_html/wp-includes/http.php on line 1027

    The other problem occurs when writing a post. At odd times a message highlighted in pink shows up directly above the information at the bottom that tells when a post that has not been published was last edited. It tells me that I don’t have permission to do that. What that is I don’t know. If I refresh, it goes away. If I forget to refresh first, I lose everything written since the last save.

    [moderated bump removed. Please refrain from bumping as per Forum Rules]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Methods for increasing the amount of memory a PHP script may consume

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 16M try 32M:
    memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)

    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 32M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '32M');

    4. Talk to your host.

    As for your post writing problem, what happens after you’ve solved the PHP memory problem. Also what happens if you disable all plugins?

    Thread Starter nutcase

    (@nutcase)

    I apparently don’t have access to my PHP.ini file. At least I was unable to find it.

    I implemented suggestions 2 and 3, without success.

    I will talk to my host tomorrow or Monday.

    Thanks for the help but I was an assembler language programmer back in the 70s and have become almost proficient at HTML. PHP is not even in my vocabulary.

    Hello I’m Adrie Silva the owner of a web hosting, design, & tutorials network. I have my network on the same IP as my clients so I went through this same issue and I have the step by step solutions for altering the memory limit set by default in the php.ini file:

    1: Go to your “public_html” directory
    2: Locate the “wp-settings.php” file (it should be in the same directory where you first installed wordpress and where you’ll find the wp-config.php file)
    3: Edit the “wp-settings.php” file
    4: Change the number of the “memory_limit” to something bigger like 96..

    How?

    -Find:
    define(‘WP_MEMORY_LIMIT’, ’32M’);
    -Replace the 32 with 96
    define(‘WP_MEMORY_LIMIT’, ’96M’);
    -Save the file
    -Refresh your website
    -That should work and have you installing more plugins to your hearts delight!

    Now if you’re still having problems email me at: [email protected]

    Or get hosted with my shared ip at a rate of 0.17Cents a month per 1GB of unmetered bandwidth, unlimited services including Fantastico on cPanel! Three days of Free Trial plus 99% uptime between 4 servers!

    ~Adrie Silva
    https://motivate.silvaprints.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 problems’ is closed to new replies.