Ticket #275 (closed defect: fixed)

Opened 9 months ago

Last modified 7 months ago

Fresh installation of Akelos fails

Reported by: jmontoya Assigned to:
Priority: major Milestone: 1.0.1
Component: Action Controller Keywords:
Cc:

Description

I got this error when trying to install a Akelos SVN 1440

I change this in order to fix my application:

AkConfig::_readConfig changed replace

$default_environments = array('testing','development','production');

to

$default_environments = array('testing','development','production','setup');

Otherwise you'll get a "(User Error) Could not load inflector rules file: config/inflector.yml" message

In order to install

lib/constants.php

//replace this
//defined('AK_DEFAULT_DATABASE_PROFILE') ? null : define('AK_DEFAULT_DATABASE_PROFILE', 'AK_ENVIRONMENT');
//to this
defined('AK_DEFAULT_DATABASE_PROFILE') ? null : define('AK_DEFAULT_DATABASE_PROFILE', 'production');

Otherwise the AkDbAdapter::getInstance will recieved a 'setup' value then the $static_var_name will be 'AkDbAdapter_getInstance_setup' which does not exist

Attachments

fails.png (24.9 kB) - added by jmontoya on 11/12/09 15:41:22.

Change History

11/12/09 15:41:22 changed by jmontoya

  • attachment fails.png added.

12/19/09 21:42:58 changed by bermi

  • status changed from new to closed.
  • resolution set to fixed.

Fixed on [1446], thanks for reporting