Skip to content
WJunction - Webmaster Forum

please help me here one more problem urgent help required

Status
Not open for further replies.

earnmoneybb

Experienced Member
511
2012
164
when i tries to open any page then i have a problem this is problem that i am facing today i deleted the plugins

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/earnmone/public_html/wp-admin/includes/post.php on line 1093

please solve my problem

thanks in advance
 

10 comments

1. Try adding this line to your wp-config.php file:
Code:
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:
Code:
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:
Code:
php_value memory_limit 64M

4. Talk to your host.
 
i dont accesable to my wp-admin panel any more so can you guide me where i can exactly found these files please guide me dear
 
In your wp-includes folder
edit the file default-constants.php

Refer the following code:
Code:
<?php
/**
 * Defines constants and global variables that can be overridden, generally in wp-config.php.
 *
 * @package WordPress
 */

/**
 * Defines initial WordPress constants
 *
 * @see wp_debug_mode()
 *
 * @since 3.0.0
 */
function wp_initial_constants( ) {
    global $blog_id;

    // set memory limits
    if ( !defined('WP_MEMORY_LIMIT') ) {
        if( is_multisite() ) {
            define('WP_MEMORY_LIMIT', '64M'); //Increase limit if you still get that error
        } else {
            define('WP_MEMORY_LIMIT', '40M'); //Increase limit if you still get that error
        }
    }
 
i tried this but increasing the size but failed again it is already 64 by 40 i increase it to 150 by 120

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/earnmone/public_html/wp-admin/includes/post.php on line 1162

can you tell me any other method
 
Last edited:
@ bahrat where i can find the wp_config.php

First you need to access your servers directory where wordpress is installed.

/public_html/wp-config.php its right in the main directory of your wordpress installation...

if it was installed in a sub-domain it would be
/public_html/subdomainname/wp-config.php

you will need to pull that file off the server using ftp and edit it locally than upload it back to the server, saying yes to overwrite the file.

PS : Better add me on skype , i'll help you though >_< if possible will show you how it can be done :)
 
Status
Not open for further replies.

About the author

E
Experienced Member · Joined
511
Messages
164
Reactions
43
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom