Installing feature/1.4_dev

edited February 2016 in Installation
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

  • edited 7:25AM
    Sorted:

    I've edited the environments.php config and added , 'local.*' to the development array. my local development domain is http://local.xxxx
  • edited 7:25AM
    I've worked through the rest of the setup, tried to access fuel and have a few errors:


    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
  • edited 7:25AM
    Had to change the $config['sess_save_path'] in application/config/config.php to:

    $config['sess_save_path'] = APPPATH . '/cache/';
  • edited 7:25AM
    Is it worth updating FUEL_VERSION?
  • edited 7:25AM
    I have uncommented the $config['settings'] section at the bottom of application/config/MY_fuel.php and get the following error:

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined property: Fuel::$settings

    Filename: libraries/Fuel_advanced_module.php

    Line Number: 504
  • edited 7:25AM
    Managed to hack this by commenting out line 501 in Fuel_advanced_module.php
    but not sure what I've broken by doing that.
  • edited 7:25AM
    However, while fuel admin doesn't error, the site name doesn't update via the settings module
  • edited 7:25AM
    The Fuel::$settings error is a bug. I've pushed a fix for that to the develop branch and the 1.4_dev branch.
  • edited April 2017
    Line 383 in the config.php file

    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/';
  • edited 7:25AM
    Nevermind, now I can't refresh the website cache via fuel cms.
Sign In or Register to comment.