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

removing reference to googlesitemaps


Go to End


2 Posts   848 Views

Avatar
jimbeeer

Community Member, 4 Posts

27 November 2013 at 10:36pm

I've recently moved a silverstripe site to a new server. Since then it's bringing up the error:

Fatal error: Class 'SiteTreeDecorator' not found in /home/priorysc/public_html/googlesitemaps/code/GoogleSitemapDecorator.php on line 9

I try removing the googlesitemaps folder, but then it just brings up the error that it can't find the googlesitemaps _config file. Is there any way I can remove the reference to googlesitemaps, or failing that just get the thing to work?

I'm a fairly verse php coder but I don't know that much about silverstripe as it's just been dumped on me.

Anyone know? I'm tearing my hair out over this!

-James

Avatar
Willr

Forum Moderator, 5523 Posts

28 November 2013 at 10:41pm

After you remove the module folder you'll need to do a ?flush=1. Likewise, after installing the module you'll need to run ?flush=1