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.

All other Modules /

Discuss all other Modules here.

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

Problems with Subsites


Go to End


2 Posts   1968 Views

Avatar
pinkdigital

Community Member, 7 Posts

12 January 2009 at 8:54pm

Hi
I am trying to get subsites to work with SS 2.2.3 and am having the following errors when trying to build...

Warning: Warning: there are two 'GenericDataAdmin' files both containing the same class: '/var/www/vhosts/domain.net/httpdocs/genericdataadmin/code/GenericDataAdmin.php' and '/var/www/vhosts/domain.net/httpdocs/cms/code/GenericDataAdmin.php'. This might mean that the wrong code is being used. in /var/www/vhosts/domain.net/httpdocs/sapphire/core/ManifestBuilder.php on line 253

Warning: Warning: there are two 'RelatedDataEditor' files both containing the same class: '/var/www/vhosts/domain.net/httpdocs/sapphire/forms/RelatedDataEditor.php' and '/var/www/vhosts/domain.net/httpdocs/genericdataadmin/forms/RelatedDataEditor.php'. This might mean that the wrong code is being used. in /var/www/vhosts/domain.net/httpdocs/sapphire/core/ManifestBuilder.php on line 253

This then redirect to a security page and results in a Server 500 error. if I remove genericdataadmin and subsites it all returns to normal... have I missed something?

Avatar
Ingo

Forum Moderator, 801 Posts

25 January 2009 at 9:00pm

The problem is that you've got the genericdataadmin module installed alongside 2.2 - we've moved GenericDataAdmin and related classes out of core starting from 2.3, meaning you don't need the separate module for 2.2