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

Multi Sites Module fails to install


Go to End


5 Posts   900 Views

Avatar
nzsilverstripe

Community Member, 3 Posts

7 April 2011 at 5:38pm

Hi there,

I've just downloaded the Multi Sites module (subsites-0.1-r89976) and am having no success installing it.

First I received the 'extraDBFields is deprecated' error which I seemed to have solved by replacing the function calls with the extraStatistics function. Now I'm getting the following message:

Warning: Unknown class passed as parameter in C:\xampp\htdocs\test\sapphire\core\Object.php on line 568

Fatal error: Uncaught exception 'ReflectionException' with message 'Class NewsletterType does not exist' in C:\xampp\htdocs\test\sapphire\core\Object.php:385 Stack trace: #0 C:\xampp\htdocs\test\sapphire\core\Object.php(385): ReflectionClass->__construct('NewsletterType') #1 C:\xampp\htdocs\test\sapphire\core\Object.php(543): Object::uninherited_static('NewsletterType', 'extensions') #2 C:\xampp\htdocs\test\subsites\_config.php(18): Object::add_extension('NewsletterType', 'NewsletterTypeS...') #3 C:\xampp\htdocs\test\silverstripe-cache\manifest-main(7326): require_once('C:\xampp\htdocs...') #4 C:\xampp\htdocs\test\sapphire\core\ManifestBuilder.php(74): require_once('C:\xampp\htdocs...') #5 C:\xampp\htdocs\test\sapphire\core\Core.php(232): ManifestBuilder::include_manifest() #6 C:\xampp\htdocs\test\sapphire\main.php(61): require_once('C:\xampp\htdocs...') #7 {main} thrown in C:\xampp\htdocs\test\sapphire\core\Object.php on line 385

Can someone help me install this module please?

Thanks,

Carl

Avatar
Willr

Forum Moderator, 5523 Posts

8 April 2011 at 4:33pm

Try the latest master build of subsites rather than 0.1. 0.1 is ancient nowadays!

Avatar
nzsilverstripe

Community Member, 3 Posts

8 April 2011 at 4:40pm

Hi Willr,

Thanks for your reply.

Do you think you could kindly post me the link to the download please?

Thank you,

Carl

Avatar
Willr

Forum Moderator, 5523 Posts

8 April 2011 at 4:57pm

All information (incl master download) is available on the modules page listing on this site or you can find it on github (like all the core modules)

https://github.com/silverstripe/silverstripe-subsites

Avatar
nzsilverstripe

Community Member, 3 Posts

8 April 2011 at 6:08pm

That's great Willr. Trunk module has been located and builds successfully.

Many thanks for your help. Much appreciated.

Carl