• Resolved aaronh

    (@aaronh)


    I upgraded to 2.1 this morning, which also involved upgrading my mysql to 4.1 from 3.23 (no big deal). Everything looks OK, except when I try to delete a comment, by editing it directly and choosing delete, I get the following error (mydomain swapped for the actual file path):

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 145 bytes) in /mydomain/wordpress/wp-includes/formatting.php on line 31

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11 bytes) in Unknown on line 0

    The comment does not delete. When I try the same thing from the dashboard, Manage > Comments, the comment flashes red, and the error message is suppressed, but the comment still will not delete.

    Any help would be appreciated.

    Thanks,
    Aaron

Viewing 3 replies - 1 through 3 (of 3 total)
  • This isn’t exactly a solution, but you could try deleting it from the database for now.

    Thread Starter aaronh

    (@aaronh)

    Well, sure. I’ve already done that. But as you say, it’s not exactly what I had in mind.

    Thread Starter aaronh

    (@aaronh)

    I fixed this by simply bumping up the memory allotment for php. Search your php.ini file for the following line:

    memory_limit = 8M

    I replaced the line with

    memory_limit = 16M

    which solved my problem. Use a number appropriate for your needs, which may differ.

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