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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

How do i: Add Modules, Components and Widgits in the Admin


Go to End


15 Posts   5526 Views

Avatar
raamklaza

Community Member, 182 Posts

17 July 2008 at 9:36pm

how do i install just the core?

Avatar
raamklaza

Community Member, 182 Posts

17 July 2008 at 10:26pm

Edited: 17/07/2008 10:26pm

it's only happening with the blog module uptill now...

blog-0.1

maybe someone sees on error in the file?

Avatar
raamklaza

Community Member, 182 Posts

17 July 2008 at 10:26pm

.

Avatar
Willr

Forum Moderator, 5523 Posts

17 July 2008 at 11:04pm

the issue is maybe that your webhost does not support PHP short tags - <? compared to <?php - this would cause your PHP to be unable to read the blog page php file. Just change the <? at the top of the BlogEntry.php and BlogHolder.php to <?php and see if that works.

Avatar
raamklaza

Community Member, 182 Posts

17 July 2008 at 11:14pm

Thnx you Willr that was the tric :)

Avatar
nbsp

Community Member, 1 Post

29 September 2008 at 1:24pm

I'm running into the same problem (sorry for the thread necro) but I don't have the blog installed (and won't be installing it as i'm not using it like that.)

It's for the Homepage.

Bad class to singleton() - HomePage

Avatar
Sean

Forum Moderator, 922 Posts

29 September 2008 at 2:59pm

Edited: 29/09/2008 3:01pm

Is there a HomePage.php file in your project?

If so, try db/build?flush=1 in the URL as was previously suggested.

If that doesn't work, change <? to <?php in the file.

If that doesn't work, make sure it says "class HomePage" for the class name in the file. It's case sensitive, so "Homepage" wouldn't work.

Go to Top