Hi All, Before I begin (I'm new to SilverStripe). I have successfully followed the tutorials up installing the site search facility. All went well & I thought that I would follow the video describing how to install the Blog. I believed that I could just install it within the tutorial site that I had been working with all day; however, after unzipping the blog folder into the silverstripe folder {localhost/silverstripe/blog} I then attempted to rebuild / flush the db with http://localhost/silverstripe/db/build?flush=1 and got a Fatal error. I've tried searching the forums, but without success. The details of the fatal error are (sorry about all the output but it may be relevant):
FATAL ERROR: Bad class to singleton() - BlogEntry
At line 85 in C:\wamp\www\silverstripe\sapphire\core\Core.php
user_error(Bad class to singleton() - BlogEntry,256)
line 85 of Core.php
singleton(BlogEntry)
line 175 of DatabaseAdmin.php
DatabaseAdmin->doBuild()
line 90 of DatabaseAdmin.php
DatabaseAdmin->build(Array)
line 261 of Controller.php
Controller->run(Array)
line 104 of Director.php
Director::direct(/db/build)
line 158 of main.php
Context
Debug (Debug::showError() in line 180 of Debug.php)
* className =
BlogEntry
* _SINGLETONS =
o Member =
Database record: Member
+ ID :
0
o Newsletter =
Database record: Newsletter
+ ID :
0
o Newsletter_SentRecipient =
Database record: Newsletter_SentRecipient
+ ID :
0
o Newsletter_Recipient =
Database record: Newsletter_Recipient
+ ID :
0
o NewsletterType =
Database record: NewsletterType
+ ID :
0
o PageComment =
Database record: PageComment
+ ID :
0
o Email_BounceRecord =
Database record: Email_BounceRecord
+ ID :
0
o Email_BlackList =
Database record: Email_BlackList
+ ID :
0
o PageView =
Database record: PageView
+ ID :
0
o SiteTree =
Database record: SiteTree
+ ID :
0
o Translatable = Translatable::__set_state(array( 'translatableFields' => array ( 0 => NULL, 1 => true, 2 => NULL, 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, ), 'original_values' => NULL, 'owner' => NULL, 'extension_instances' => array ( ), 'class' => 'Translatable', ))
o QueuedEmail =
Database record: QueuedEmail
+ ID :
0
o File =
Database record: File
+ ID :
0
o EditableCheckboxOption =
Database record: EditableCheckboxOption
+ ID :
0
o EditableDropdownOption =
Database record: EditableDropdownOption
+ ID :
0
o EditableFormField =
Database record: EditableFormField
+ ID :
0
o EditableRadioOption =
Database record: EditableRadioOption
+ ID :
0
o SubmittedForm =
Database record: SubmittedForm
+ ID :
0
o SubmittedFormField =
Database record: SubmittedFormField
+ ID :
0
o Group =
Database record: Group
+ ID :
0
o Member_UnsubscribeRecord =
Database record: Member_UnsubscribeRecord
+ ID :
0
o Permission =
Database record: Permission
+ ID :
0
o Widget =
Database record: Widget
+ ID :
0
o WidgetArea =
Database record: WidgetArea
+ ID :
0
o BrowserPollSubmission =
Database record: BrowserPollSubmission
+ ID :
0
o GhostPage =
Database record: GhostPage
+ ID :
0
o Page =
Database record: Page
+ ID :
0
This means nothing to me and would be greatfull of any help. I have read one post that suggests that duplicate db names could cause problems so I have renamed the date field in the News area to Art_Date but no difference.
Regards.
Jonathan.