Jump to:

23377 Posts in 18296 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Error - blank page

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 2
Go to End
Author Topic: 1541 Views
  • GEKO
    Avatar
    Community Member
    7 Posts

    Error - blank page Link to this post

    Hi folks! Suddenly my site is down and is giving me a blank page in index or even in admin page. I'ved checked the error log and it gives me the next error there:

    [20-Jul-2012 17:31:46] PHP Fatal error: Call to undefined method CMSMenu::add_director_rules() in /home/rili4090/public_html/cms/_config.php on line 17

    The line is:

    CMSMenu::add_director_rules();

    What should I do? Thank you!

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Error - blank page Link to this post

    Have you recently upgraded or changed your core files? That function has been removed in 3.0 as rules should be in YAML configuration files now. (check upgrading notes for more information)

  • GEKO
    Avatar
    Community Member
    7 Posts

    Re: Error - blank page Link to this post

    Yes man, I'ved upgraded from vers 2.7 I think, to vers 3. But after the upgrade, i'ved have an message in the index that warning me that I have PHPMyAdmin version 5.2.1.7 and from SS 3. the minimal required is 5.3.2. I spoked to the host, and the upgrade procedure is in progress but it is in delay for weeks. I am worried because I want even the text from the pages to recover.... and I don't now what to do.

    Sorry for my english...

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Error - blank page Link to this post

    I recommend reverting back to the latest stable 2.4 version 3.0 is a serious upgrade and you won't want to do this on a live server. First download your site and setup a webserver locally, update your code, run through the massive upgrading guide for 3.0 then publish your site to the live server. I've upgraded a couple sites so far and usually need to update several lines of code or install modules (3.0 has seen several features of 2.4 spilt into modules like comments, widgets, RESTFul Service).

  • GEKO
    Avatar
    Community Member
    7 Posts

    Re: Error - blank page Link to this post

    After I install 2.4 on my local machine and then upgrade it at 3.0, when I will move it to server, it won't work because in server I don't have that version of PHPMyadmin. I now only want to save the texts in the site... that's all. After that, I will install again Silverstripe when the moderators may upgrade PHP.

    My vers now is not 3.0, it's 2.4.7, because i'ved used the backup. But the same problem (white page) persists.

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Error - blank page Link to this post

    But the same problem (white page) persists.

    Then check your error logs for the actual error message. The drupal documentation has a good article on the WSOD and some general points you can apply to this situation (http://drupal.org/node/158043/)

  • GEKO
    Avatar
    Community Member
    7 Posts

    Re: Error - blank page Link to this post

    Update: I'ved installed now XAMPP on localhost machine and installed Silverstripe 3 successfully too. Now I have to see how i can implement the pages in the new version to save the text.

    The error on server World Wide Web remains at this hour:

    [22-Jul-2012 01:24:38] PHP Fatal error: Call to undefined method CMSMenu::add_director_rules() in /home/rili4090/public_html/cms/_config.php on line 17

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Error - blank page Link to this post

    That function should exist in (https://github.com/silverstripe/silverstripe-cms/blob/2.4/code/CMSMenu.php#L40) make sure your files have been uploaded / copied correctly.

    1541 Views
Page: 1 2
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.