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.

General Questions /

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

Admin Area Failing To Load


Reply


3 Posts   1117 Views

Avatar
w1nk5

Community Member, 25 Posts

24 July 2010 at 10:02am

I receive the following error when trying to access the CMS.

[Warning] Missing argument 2 for CheckboxSetWithExtraField::setValue(), called in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\dea\sapphire\forms\FormField.php on line 78 and defined

Line 237 in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\dea\newsletter\code\CheckboxSetWithExtraField.php

Please help!

Avatar
w1nk5

Community Member, 25 Posts

24 July 2010 at 10:10am

Apparently it was a page with a bad page type causing the problem. I am able to get into the CMS, however, when I click on the specific page it throws a bunch of errors. Can I change the pagetype or even delete the page from the sitetree via the DB or will this cause problem?

Avatar
Willr

Forum Moderator, 5513 Posts

24 July 2010 at 11:19am

You can change the page type in the database. If you login to your db and view the SiteTree table. Find the page you want to fix and change it back to 'Page' the query would look something like

UPDATE SiteTree SET ClassName = "Page" WHERE ID = $ID

Where ID is the ID of the page you want to fix. You can find the ID by looking at the link to the page in the CMS sitetree on the left.