22851 Posts in 9904 Topics by 2804 members
Page: 1 2
|Go to End||Next >|
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:
What should I do? Thank you!
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)
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 22.214.171.124 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...
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).
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.
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
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.
Page: 1 2
|Go to Top||Next >|