• Resolved stubbyd

    (@stubbyd)


    I last succesfully logged in to my blog yesterday.

    Tried to login tonight and I’m getting:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /public_html/wp-admin/includes/template.php on line 2572

    However on looking at line 2572 (programmers editor) I can’t see anything that makes any sense to me! But then I’m no programmer either.

    I tried searching but can only find references to changing my wp-settings.php memory size. Did that and no difference was made either.

    Any suggestions please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • tried searching but can only find references to changing my wp-settings.php memory size. Did that and no difference was made either.

    that IS the solution, and done properly, it works.

    Thread Starter stubbyd

    (@stubbyd)

    Apologies if this sounds rude …

    … but as I stated – I have already searched both google and the forum here with no success.

    Thread Starter stubbyd

    (@stubbyd)

    I’ve now fixed this.

    Used another search engine which found a post in this forum …

    My solution was to add

    php_value memory_limit 32M

    to my .htaccess file.

    The post I found has several options you can try – your mileage may vary but the post is here:

    http://wordpress.org/support/topic/235026?replies=4

    its not rude at all, actually. And I owe you an apology — that setting change should have been made inside your wp-config.php not the wp-settings.php in order to work.

    My sincerest apology.

    the .htaccess bit does exactly the same thing.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal Error – template.php’ is closed to new replies.