bill lizard Mon Nov 04 20:21:08 -0500 2013

Subject: Invalid or non-existent directory: models

Fatal error: Uncaught exception 'ActiveRecord\ConfigException' with message 'Invalid or non-existent directory: models' in C:\xampp\htdocs\Vayave\vendor\php-activerecord\lib\Config.php:212 Stack trace: #0 C:\xampp\htdocs\Vayave\vendor\php-activerecord\ActiveRecord.php(30): ActiveRecord\Config->get_model_directory() #1 [internal function]: activerecord_autoload('POST') #2 C:\xampp\htdocs\Vayave\admin\index.php(13): spl_autoload_call('POST') #3 {main} thrown in C:\xampp\htdocs\Vayave\vendor\php-activerecord\lib\Config.php on line 212

Why this error message thrown when i try to access localhost/vayave/admin/index and try to add a new article.

[code]if(!empty($title) || !empty($body)){
"title" => "dsd",
"body" => "dsdsd"
$status = "Post Inserted";
} else {
$status = "Please enter the fields";

The error strokes at when i try to call the static create method.