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

server problem on installation


Go to End


2 Posts   1323 Views

Avatar
RobertM

Community Member, 26 Posts

19 August 2008 at 11:10pm

I've installed silverstripe a number of times and have never had any trouble before, but on one host I seem to be having the following problem:

# Creating 'tutorial/_config.php'...
# Creating /home/mosten/domains/mostentertaining.com/public_html/silverstripe/tutorial/_config.php
# Creating '.htaccess' file...
# Creating /home/mosten/domains/mostentertaining.com/public_html/silverstripe/.htaccess
Warning: Installer::require_once(core/Core.php) [function.Installer-require-once]: failed to open stream: No such file or directory in /home/mosten/domains/mostentertaining.com/public_html/silverstripe/install.php on line 669

Fatal error: Installer::require_once() [function.require]: Failed opening required 'core/Core.php' (include_path='/usr/local/lib/php') in /home/mosten/domains/mostentertaining.com/public_html/silverstripe/install.php on line 669

anyone got any ideas why this might be happening?

Avatar
RobertM

Community Member, 26 Posts

23 August 2008 at 8:40am

I have now solved this problem - I needed to modify the install.php so that the require once command paths had ./ before them.

eg. require_once(core/Core.php) should be require_once(./core/Core.php) -This is the first server I have seen this happen on. Any ideas why this is?