Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Not stable with 248 pages

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 2042 Views
  • akp982
    Avatar
    8 Posts

    Not stable with 248 pages Link to this post

    I have a site with 248 pages, well it's hopefully going to get a lot bigger over time, I am using silverstripe-v2.2.1-rc2 and get the following error when going to the admin area after using the batch tool to publish all my pages.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 233472 bytes) in /var/www/vhosts/akp982.co.uk/subdomains/info/httpdocs/sapphire/lang/en_US.php on line 330

    The front end of the site works fine.

    Anyone got any ideas about how I can fix this? I could do with getting back into the site admin area.

    Update: I have just tried a server restart and same problem.

  • akp982
    Avatar
    8 Posts

    Re: Not stable with 248 pages Link to this post

    Anyone got anyideas how i can fix this?

    Need to make some changes to site thought about doing though sql but decided agasint that to be safe...

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Not stable with 248 pages Link to this post

    Raise the memory limit?

  • akp982
    Avatar
    8 Posts

    Re: Not stable with 248 pages Link to this post

    I maybe stupid but how would i do that?

  • dio5
    Avatar
    Community Member
    501 Posts

    Re: Not stable with 248 pages Link to this post

    Put this in your .htaccess file:

    php_value memory_limit 100M

    of course you replace the 100 with whatever value you'd like to use.

  • akp982
    Avatar
    8 Posts

    Re: Not stable with 248 pages Link to this post

    Cheers

    Takes a long time to load but once loaded works fine

    2042 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.