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.

All other Modules /

Discuss all other Modules here.

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

removing reference to googlesitemaps


Reply


2 Posts   279 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, 5513 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