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.

Archive /

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

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

Fresh install missing language include


Go to End


1133 Views

Avatar
notzippy

Community Member, 3 Posts

6 September 2008 at 3:32am

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