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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Getting error after upload and install CMS


Go to End


2 Posts   2052 Views

Avatar
spencerlim

Community Member, 16 Posts

11 April 2009 at 2:39am

Edited: 11/04/2009 2:43am

Fatal error: Cannot use string offset as an array in /home2/spencer/public_html/sapphire/core/i18n.php on line 859

line 859~$transEntity = isset($lang[$locale][$class][$realEntity]) ? $lang[$locale][$class][$realEntity] : $string;

above is the msg i got from the fatal ,
could anyone here please tell me what wrong ??
Thx in advance ~

Avatar
SilverDay

Community Member, 6 Posts

27 April 2009 at 2:26am

I have had that problem too and it had me in some panic (inspite of backups!).

I have changed the line to read :

$transEntity = $string

Basically disabling translations (I think ;) . This is for sure not the most elegant solution, but it works. I still hope for somebody to come up with a better solution ....

Regards

SilverDay