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.

Installing SilverStripe /

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

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

Install Error:2.3.4-rc1[RESOLVED]


Reply


2 Posts   1733 Views

Avatar
Cem

Community Member, 31 Posts

20 November 2009 at 3:17am

Edited: 20/11/2009 11:21am

Installing SilverStripe...

I am now running through the installation steps (this should take about 30 seconds)

If you receive a fatal error, refresh this page to continue the installation

Warning: unlink(mysite/_config.php) [function.unlink]: Permission denied in /home/cheapinj/public_html/test/install.php on line 701
* Creating 'mysite/_config.php'...
* Creating /home/cheapinj/public_html/test/mysite/_config.php
* Creating '.htaccess' file...
* Creating /home/cheapinj/public_html/test/.htaccess

Fatal error: Cannot use string offset as an array in /home/cheapinj/public_html/test/sapphire/core/i18n.php on line 1417

I have all of the requirements "green" when starting the installation and then the install hangs with the above message.
This only happens when installing on a shared server.
It installs fine without any errors on my local wamp machine.
Any help is greatly appreciated.

Cheers
Cem

Attached Files
Avatar
Cem

Community Member, 31 Posts

20 November 2009 at 10:59am

Because of a successfull install on wamp but not live server,
I thought it probably was a server setting.
I compared the 2 phpinfo() and with trial and error found out that
the live server had register_globals set to on for whatever reason.
I'm still waiting for the administrator to turn it off.
While waiting I issued:
php_flag register_globals Off to the .htaccess file and voila.

Hope this is useful for folks experiencing the same errors.