23355 Posts in 17838 Topics by 2862 members
|Go to End|
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
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?
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.
|Go to Top|