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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1682 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.