I am trying to spin up a application I downloaded from a repository. It is built with Cakephp 2.3.7. The first error I am getting is URL Writing is not properly configured on your server.I have checked my .htaccess files and everything is ok. I have check Apache and LoadModule rewrite_module modules/mod_rewrite.so is as such. Not to sure what else to check. The other notice I am getting is Undefined Index: Datasource. I went to my config file as it is as follows:
class DATABASE_CONFIG {
var $default = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'root',
'password' => '',
'database' => 'icgw',
'prefix' => '',
);
var $array = array(
'datasource' => 'Array'
);
var $test = array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'user',
'password' => 'password',
'database' => 'test_database_name',
'prefix' => '',
);
}
That said I did try var $array = array( 'datasource' => 'Database/MySql' );
Unfortunately I had no luck. Any thoughts on this? Im not familiar with working in Cakephp 2.3.7. I use Cakephp 1.3.