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

Working site now gives blank home page


Go to End


442 Views

Avatar
AD5XJ

Community Member, 35 Posts

16 March 2017 at 4:26am

I have a working site that now suddenly only displays blank pages. I looked in the apache 2.4 error log and got this:

[Wed Mar 15 08:18:35.584773 2017] [:error] [pid 14481] [client 127.0.0.1:58648] PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Unable to parse line 26 (SpamProtectorManager::set_spam_protector("RecaptchaProtector");).' in /var/www/html/ss/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/thirdparty/sfYaml/lib/sfYamlParser.php:265\nStack trace:\n#0 /var/www/html/ss/framework/core/manifest/ConfigManifest.php(317): sfYamlParser->parse('\\n# YAML configu...')\n#1 [internal function]: SS_ConfigManifest->addYAMLConfigFile('config.yml', '/var/www/html/s...', 2)\n#2 /var/www/html/ss/framework/filesystem/FileFinder.php(158): call_user_func(Array, 'config.yml', '/var/www/html/s...', 2)\n#3 /var/www/html/ss/framework/core/manifest/ConfigManifest.php(215): SS_FileFinder->find('/var/www/html/s...')\n#4 /var/www/html/ss/framework/core/manifest/ConfigManifest.php(103): SS_ConfigManifest->regenerate(false)\n#5 /var/www/html/ss/framework/core/Core.php(120): SS_ConfigManifest->__construct('/var/www/html/s...', false, false)\n#6 /var/www/html/ss/framework/main.php(136): require_on in /var/www/html/ss/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/thirdparty/sfYaml/lib/sfYamlParser.php on line 265

The recaptcha module (spamprotection) has been working. I am not sure why all this when nothing has changed.

Environment :
Linux Mint 18.1
Apache 2.4
PHP 5.6
SilverStripe 3.5.3

Some timely help would be appreciated as the site is down currently.