Installing feature/1.4_dev
Hi,
I have a new project on the horizon and would like to use the latest version of fuel and CI.
I've downloaded fuel 1.4. I guess you need to run "composer install" first? Is fuel dependent on "vfs://stream"?
When I try to access fuel in the browser I get a notice and a warning:
Notice: Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT' in /Users/david/Sites/fuel_1.4/index.php on line 133
Warning: Cannot modify header information - headers already sent by (output started at /Users/david/Sites/fuel_1.4/index.php:133) in /Users/david/Sites/fuel_1.4/index.php on line 154
message: The application environment is not set correctly.
Is this an issue with my install?
Regards
David
Comments
I've edited the environments.php config and added , 'local.*' to the development array. my local development domain is http://local.xxxx
A PHP Error was encountered
Severity: Warning
Message: mkdir(): Invalid path
Filename: drivers/Session_files_driver.php
Line Number: 117
Backtrace:
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/core/Loader.php
Line: 777
Function: __construct
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/core/Loader.php
Line: 670
Function: _ci_init_library
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/core/Loader.php
Line: 526
Function: _ci_load_stock_library
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/core/Loader.php
Line: 578
Function: _ci_load_library
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/core/Loader.php
Line: 190
Function: _ci_load_library
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/libraries/Fuel_auth.php
Line: 137
Function: library
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/libraries/Fuel_auth.php
Line: 176
Function: valid_user
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/libraries/Fuel_admin.php
Line: 653
Function: user_data
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/libraries/Fuel_admin.php
Line: 673
Function: language
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/libraries/Fuel_admin.php
Line: 116
Function: load_languages
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/libraries/Fuel_base_controller.php
Line: 55
Function: initialize
File: /Users/david/Sites/fuel_1.4/fuel/modules/fuel/controllers/Dashboard.php
Line: 8
Function: __construct
File: /Users/david/Sites/fuel_1.4/index.php
Line: 359
Function: require_once
A
$config['sess_save_path'] = APPPATH . '/cache/';
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Fuel::$settings
Filename: libraries/Fuel_advanced_module.php
Line Number: 504
but not sure what I've broken by doing that.
I was having a hard time with this, but got it to work by removing the spaces:
APPATH[space].[space]'/cache';
$config['sess_save_path'] = APPPATH.'cache/';