• Resolved rpeterson70

    (@rpeterson70)


    Hello everyone,

    I hope someone can help me, I am going crazy and wasting lot’s of time on this problem. I cannot log into my wordpress admin dashboard. I get this error:

    Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 49152 bytes) in /home/freedi5/public_html/wp-login.php on line 194

    I have seen all the post about increasing the PHP memory limit and have done that, hopefully correctly. I just went through a post that listed many things to try if you cannot log into wordpress and still I get the error. This is driving me crazy, I have reinstalled a new copy of wordpress on the root, but nothing seems to work.

    Hopefully someone can help.

    Thanks for any help you can give me,
    Bob

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    try increasing memory available for php.

    Simply increase the memory allocated to php, note that many hosts set the PHP limit at 8MB.

    Contact your host & Increase PHP Memory to 64MB
    define( ‘WP_MEMORY_LIMIT’, ’64M’ );

    or higher

    If you are trying to install in your local computer just edit the php.ini file

    memory_limit= ‘8M’
    change it to something higher value problem should be solved!

    Thread Starter rpeterson70

    (@rpeterson70)

    Hello Tara and JunaidRaza,

    Thanks for your input. I have tried increasing the WP memory limit because when I search for a solution that is what comes up. I have changed the WP memory limit in the WP config file to 256M and now up to 512M and still the same message. Is there somewhere else to change the limit? For my other website my hosting company increased the WP memory limit to 256M, so I know they don’t limit it to 8MB.

    Maybe I am not doing it correctly, but I think I did it right. Seems like there is another issue causing the fatal error, but I don’t know.

    Thanks, Bob

    Moderator t-p

    (@t-p)

    Maybe I am not doing it correctly,

    The codex guide I linked above explains everything.

    Thread Starter rpeterson70

    (@rpeterson70)

    Looks like I have fixed the memory limit problem, but now when I type in my WP admin web address, it just goes to my website homepage?

    Any ideas why this would happen?

    Thanks,
    Bob

    Thread Starter rpeterson70

    (@rpeterson70)

    Thanks for you help Tara. I finally got my wordpress running. I contacted my web host and they found it was set to multisite. I checked my WP memory limit everywhere it could be set and finally got it set to 256M.

    Thanks.

    Moderator t-p

    (@t-p)

    You are welcome ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cannot log into WordPress Admin Dashboard, getting fatal error’ is closed to new replies.