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.

Archive /

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

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

Blog strange error with ss 2.2.2-rc5


Reply


4 Posts   1993 Views

Avatar
karibe

Community Member, 56 Posts

22 May 2008 at 5:37am

Hello

I have strange error with blog module and my site.
I'm using it to display news entries on home page, but from some time when I'm trying to click BlogHolder (Home) for blog news entries I'm getting js allert "There has been an error" and on my bugs email:

Error: collateDataFields() I noticed that a field called 'SideBar' appears twice in your form: 'Form_EditForm'. One is a 'WidgetAreaEditor' and the other is a 'WidgetAreaEditor'
At line 117 in /home/mysite/sapphire/forms/CompositeField.php

and in content:

user_error(collateDataFields() I noticed that a field called 'SideBar' appears twice in your form: 'Form_EditForm'. One is a 'WidgetAreaEditor' and the other is a 'WidgetAreaEditor',256) line 117 of CompositeField.php CompositeField->collateDataFields(Array) line 112 of CompositeField.php CompositeField->collateDataFields(Array) line 112 of CompositeField.php CompositeField->collateDataFields(Array) line 29 of FieldSet.php FieldSet->collateDataFields(Array) line 22 of FieldSet.php FieldSet->dataFields() line 517 of Form.php Form->loadDataFrom(BlogHolder) line 414 of CMSMain.php CMSMain->getEditForm(91) line 752 of LeftAndMain.php LeftAndMain->EditForm() line 227 of LeftAndMain.php LeftAndMain->getitem(Array) line 261 of Controller.php Controller->run(Array) line 104 of Director.php Director::direct(admin/getitem) line 158 of main.php

When I click old blog entries in front page I'm getting blank page without error notices...

Please help...:)

Avatar
Willr

Forum Moderator, 5513 Posts

22 May 2008 at 8:46am

have you got a SideBar defined on Page as well as the BlogHolder? or on anyother class?

Avatar
karibe

Community Member, 56 Posts

27 May 2008 at 12:13am

yES i HAD:)

Now works fine, thanks

Avatar
karibe

Community Member, 56 Posts

29 May 2008 at 8:14pm

New problem is that when I'm trying to read BlogEntry page i'm getting empty page....

Same with final 2.2.2