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 - Help Needed


Reply


3 Posts   855 Views

Avatar
taligent

Community Member, 18 Posts

23 September 2009 at 11:37pm

I am working my way through tutorial 2. I have created the ArticleHolder and ArticlePage classes and they show up as new page types in the CMS. However, when I try to create an ArticlePage page under an ArticleHolder page I get a blank warning dialog box. The only thing in it is the warning triangle. Can anyone tell me what this means or perhaps tell me how to view a log file to find out what is happening. I am stumped.

Avatar
dalesaurus

Community Member, 283 Posts

24 September 2009 at 9:06am

Edited: 24/09/2009 9:06am

First be sure you have followed the tutorial closely, and have not taken any liberties with the code. Try not to taunt the SS code provided in the tutorials until you have a good handle on it's idiosyncrasies.

IF
You are working in Dev mode you should see any errors. Log in as an admin and set ?&isDev=1 in your url, per http://doc.silverstripe.com/doku.php?id=urlvariabletools

ELSEIF
You want logs, be sure the option is set then check em: http://doc.silverstripe.com/doku.php?id=error-handling#filesystem_logs

ELSEIF
None of the above helps, use Firebug's Net >> XHR tab to see what is going on. Viewing the actual request will give you insight into what is failing.

ELSE
Attach a screenshot of your error and we'll go from there

Avatar
taligent

Community Member, 18 Posts

2 October 2009 at 3:35am

Thanks for the help. Unfortunately - or not - I needed to reinstall a second copy on another server. The second install worked just fine on the tutorial. I am not sure why the first did not work, but lets call it a noob error.