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.

Archive

Our old forums are still available as a read-only archive.

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

Fresh install missing language include


Reply

819 Views

Avatar
notzippy

6 September 2008 at 3:32am Community Member, 3 Posts

Hi

After a clean install I get the following error when trying to create a new page
Fatal error: Cannot use string offset as an array in /home/mysite/public_html/silverstripe-v2.2.2/sapphire/core/Core.php on line 133

Looking at Core.php it appears to depend on global $lang; which is populated when you include "lang/en_US.php" - but I am not sure why this would not have been automatically included ...

Anyone have thoughts on where this should be included from ?

Thanks
z