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

Tutorial 2: hangs when I add new Article Page


Reply


2 Posts   1121 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.