Ok, so first context. I am a COMPLETE Phalcon n00b. This is my first application, and actually my first time using MVC with PHP at all.
I'm running on CentOS, php version 5.3.3, apache 2.2.15.
I used the phalcon devtools to create my project structure:
$ find .
.
./app
./app/forms
./app/forms/PatientIntakeForm.php
./app/cache
./app/controllers
./app/controllers/IndexController.php
./app/controllers/ControllerBase.php
./app/controllers/PatientintakeController.php
./app/models
./app/models/PatientIntake.php
./app/models/AuditView.php
./app/models/AuditValues.php
./app/models/Users.php
./app/models/AuditTransaction.php
./app/views
./app/views/layouts
./app/views/PatientIntake
./app/views/PatientIntake/search.volt
./app/views/PatientIntake/edit.volt
./app/views/PatientIntake/create.volt
./app/views/PatientIntake/index.volt
./app/views/index
./app/views/index/index.volt
./app/views/index.volt
./app/config
./app/config/loader.php
./app/config/services.php
./app/config/config.php
./.htaccess
./.phalcon
./public
./public/.htaccess
./public/files
./public/temp
./public/index.php
./public/js
./public/img
./public/css
./index.html
And all the stuff in app/config is the default except for me changing the MySQL credentials. I am more or less using Vokuro as an example/starting point. This is the beginning of my PatientintakeController.php:
<?php
namespace test\Controllers;
use Phalcon\Tag;
use Phalcon\Mvc\Controller;
use Phalcon\Mvc\Model\Criteria;
use Phalcon\Paginator\Adapter\Model as Paginator;
use test\Forms\PatientIntakeForm;
use test\Models\PatientIntake;
class PatientintakeController extends Controller {
}
When I try to go to https://URL.com/test/PatientIntake I get this "PatientintakeController handler class cannot be loaded"
What am I doing wrong? TIA!!