3877 Posts in 1011 Topics by 1176 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 995 Views |
-
Getting error after upload and install CMS

11 April 2009 at 2:39am Last edited: 11 April 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 ~ -
Re: Getting error after upload and install CMS

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
| 995 Views | ||
|
Page:
1
|
Go to Top |


