17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2549 Views |
-
Warning: $project isn't set in

22 March 2008 at 11:02am Last edited: 22 March 2008 11:04am
The windows install worked without a hitch. Amazing.
Not so straightforward with the linux tho.Eventually I got all the boxes to come up green, then started the install and I got this?
Anyone have any ideas?# Creating 'mysite/_config.php'...
# Creating '.htaccess' file...
# Building database schema...Warning: $project isn't set in /var/www/silverstripe-v2.2.1/sapphire/core/ManifestBuilder.php on line 144
The actual line looks like this:
user_error("\$project isn't set", E_USER_WARNING);Fatal error: DB::connect: Not passed a valid database config in /var/www/silverstripe-v2.2.1/sapphire/core/model/DB.php on line 51
The actual line looks like this:
user_error("DB::connect: Not passed a valid database config", E_USER_ERROR);I am not sure what "Project" refers to.
jeffDetails
============
Ubuntu gutsy gibbon
(Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.3 Server at localhost Port 80)
Mysql 5.0.45 -
Re: Warning: $project isn't set in

22 March 2008 at 1:41pm
$project should be set in your _config.php file in the mysite folder. something like $project = 'mysite'; This is were you set the name of the project (by default mysite).
It looks like your whole _config.php file is a bit broken since thats probably whats giving you the DB error too.
-
Re: Warning: $project isn't set in

23 March 2008 at 7:43pm
>>$project should be set in your _config.php file in the mysite folder.
No such file, why might that be?
I didn't give that folder correct write permissions, thats why !Thank you for the help Willr.
jeff
-
Re: Warning: $project isn't set in

25 November 2008 at 2:12pm
I get the same set of errors installing v2.2.3 on MySQL 5.067 with PHP 5.2.6
When does _config.php get created in mysite folder? as it certainly does not exist in default install package.
-
Re: Warning: $project isn't set in

25 November 2008 at 2:21pm
It gets created when you run through the installation process - eg running the install.php file
-
Re: Warning: $project isn't set in

25 November 2008 at 2:40pm Last edited: 25 November 2008 2:41pm
Ok problem solved.
For anyone getting this problem you need to check when setting Write access to .htaccess and the folders specified in install notes that you also set Excecute access as well. Using CHMOD I first set them to 777 then after install set them back to 755.
| 2549 Views | ||
|
Page:
1
|
Go to Top |



