Jump to:

23355 Posts in 17734 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Issues with site on live server - blank admin screens

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1323 Views
  • pingu
    Avatar
    Community Member
    75 Posts

    Issues with site on live server - blank admin screens Link to this post

    Hi,

    I'm having issues with a site I've uploaded to a live server. The site has quite a large amount of content (900 product pages with related assets - 1 image per product, also resized to thumbnails). It runs fine on the development servers. However, on the live servers we are having issues in the admin section, possibly due to lack of memory? How much memory would a server need to run a site like this?

    Issues encountered are:

    - Sometimes the "Files and assets" tab will display a white page. I've added
    ini_set('memory_limit','128M');
    to the config which appears to resolve this issue.

    - When a new security group is added with limited priveleges, when a user from that security group tries to login to the admin all they can see is a blank page. The error log shows timeout errors:

    [error] [client 219.88.200.199] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/site/httpdocs/sapphire/core/model/SiteTree.php on line 635, referer: http://site/Security/login
    [error] [client 219.88.200.199] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/site/httpdocs/sapphire/core/model/DataObject.php(1313) : eval()'d code on line 1

    The PHP configuration of the host is as follows:

    Directive Local Value Master Value
    max_execution_time 30 30
    max_input_nesting_level 64 64
    max_input_time 60 60
    memory_limit 64M 32M

    How can I resolve this issue?
    Are there ways to optimise the memory usage of Silverstripe for a site with this much content?

    I've already disabled combined files in my config:
    Requirements::set_combined_files_enabled(false);

    Thanks all for your help.

  • rbquirke
    Avatar
    Community Member
    70 Posts

    Re: Issues with site on live server - blank admin screens Link to this post

    Hmm,

    What sort of hosting do you have at the moment? Just a shared hosting account somewhere?

    You could try increasing the max execution time for a start.
    I'm not sure how much optimisation you can do with the admin.

  • pingu
    Avatar
    Community Member
    75 Posts

    Re: Issues with site on live server - blank admin screens Link to this post

    Yes shared hosting, and we don't get much access to change configuration options.

    Users can login fine if they are in the Administrators group but obviously we don't want all users to have admin rights. I think perhaps this is related to the "many subpages" issue raised in the forums before. Is there a patch for this for v. 2.3.1?

    1323 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.