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

Install stop on define TEMP FOLDER


Go to End


2 Posts   1888 Views

Avatar
labesk

Community Member, 3 Posts

28 July 2010 at 8:37pm

Edited: 28/07/2010 8:39pm

Hello,

(sorry for my english)

I try to install SS v2.4.1 (same thing with 2.3.7) but install stop there :

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

    * Creating 'mysite/_config.php'...
    * Creating /var/www/cdt/mysite/_config.php
    * Creating '.htaccess' file...
    * Creating /var/www/cdt/.htaccess

After many searchs, i have found the function where install stop
It's in core/Core.php file :

if(!defined('TEMP_FOLDER')) {
	define('TEMP_FOLDER', getTempFolder());
}

The temp folder is not define and normally it should launch the function getTempFolder() but does not.

If anyone have a idee ...
Thanks

Avatar
labesk

Community Member, 3 Posts

28 July 2010 at 9:04pm

I have found !
The function scandir in manifest file not autorised because chmod on root directory was not good.