Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Error - blank page


Go to End


13 Posts   4047 Views

Avatar
GEKO

Community Member, 7 Posts

21 July 2012 at 3:23am

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!

Avatar
Willr

Forum Moderator, 5523 Posts

21 July 2012 at 3:25pm

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)

Avatar
GEKO

Community Member, 7 Posts

21 July 2012 at 10:53pm

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

Avatar
Willr

Forum Moderator, 5523 Posts

21 July 2012 at 11:11pm

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

Avatar
GEKO

Community Member, 7 Posts

22 July 2012 at 6:34am

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.

Avatar
Willr

Forum Moderator, 5523 Posts

22 July 2012 at 9:26am

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/)

Avatar
GEKO

Community Member, 7 Posts

22 July 2012 at 10:25am

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

Avatar
Willr

Forum Moderator, 5523 Posts

22 July 2012 at 10:45am

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.

Go to Top