Forums

WP 2.2.3 - Cache.php line 48 error - URGENT HELP Pls (5 posts)

  1. edditor
    Member
    Posted 4 years ago #

    Everything had been working fine for over 6 months, then suddenly yesterday I started to get the following error all over the admin side of the blog

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 72865 bytes) in /home/*username*/public_html/blog/wp-includes/cache.php on line 48

    On the dashboard page, all the content streamed from WP has disappeared, all my scheduled posts have disappeared too.

    If I click on manage - I cannot see the posts list - it is replaced with the error above, and when editing any unpublished page, everytime I click save or save & continue editing, that error appears as well and I have to hard edit the browser URL back to admin home and go back in through manage -- pages -- select page and edit.

    The cache.php is the standard file as supplied with the original download, and line 48 seems to refer to the strings for the $server, $host, $database, $user, $password, datas.

    The public side of the site is working, and I can write and publish new posts and pages, but the admin back end is a mess, and I've lost all the scheduled posts - days of work :(

    Can anyone suggest a fix on this?

    Thanks

  2. RosieMBanks
    Member
    Posted 4 years ago #

    I searched the forum and found many posts on this problem, all boiling down to this answer.

    Now, I noticed you are still on version 2.3. You should definitely upgrade. But back everything up first! Here are directions on how to do back up.

  3. edditor
    Member
    Posted 4 years ago #

    Thanks Rosie .... but eek!

    Regarding the fix - my reply on the thread you pointed to says it all.

    Regarding the back up - it looks like a terrifying task, especially when it starts waffling about anti-spam etc swelling the database and needing to not be backed up.

    It's 5am here and maybe I'm too tired - I'll look again in the morning after some sleep

    Thanks again
    Ed

  4. RosieMBanks
    Member
    Posted 4 years ago #

    Heh! My bad. I should've seen you'd already been to that particular post.

    Here is Codex article with a few more details. As it says, your host may not allow you to change the PHP memory size; that you have to ask them to do it. It should be no biggie to do.

  5. RosieMBanks
    Member
    Posted 4 years ago #

    And regarding the backup, it's not so difficult... even a goober like me can do it, and I mess everything up!

    Print out the instructions, and ignore the part about your spam plugin swelling tables--just select all the tables and mark the boxes as described.

    I can't tell you how important backing up your database is. It has saved my prodigious derrière more times than I can count.

Topic Closed

This topic has been closed to new replies.

About this Topic