Jump to:

4935 Posts in 16002 Topics by 1488 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Getting error after upload and install CMS

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

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

Page: 1
Go to End
Author Topic: 1326 Views
  • spencerlim
    Avatar
    Community Member
    16 Posts

    Getting error after upload and install CMS Link to this post

    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 ~

  • SilverDay
    Avatar
    Community Member
    6 Posts

    Re: Getting error after upload and install CMS Link to this post

    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

    1326 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.