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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

Tutorial 2: hangs when I add new Article Page


Go to End


2 Posts   1428 Views

Avatar
Noel

Community Member, 8 Posts

6 May 2010 at 2:40pm

Edited: 06/05/2010 2:41pm

I've been through Tutorial 2 twice now, and both times when I get to the bit about adding a new Article Page under the Article Holder, then I get a blank error dialog, and the Admin hangs ....
I have to restart & flush the Admin & then delete the Article Holder to get rid of the bad Article Page.
I really want to get this working - I actually want this facility on my site.
Can anyone help please?

Avatar
Noel

Community Member, 8 Posts

6 May 2010 at 6:49pm

OK - the tutorial is wrong:

$fields->addFieldToTab('Root.Content.Main', new DateDateField('Date'), 'Content');

should of course read:

$fields->addFieldToTab('Root.Content.Main', new DateField('Date'), 'Content');

Problem solved.