We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Handler class cannot be loaded

I was trying to create test project via DevTools

Phalcon DevTools (4.0.3)

Environment: OS: Linux balsianok-ThinkPad-T480s 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 PHP Version: 7.4.3 PHP SAPI: cli PHP Bin: /usr/bin/php7.4 PHP Extension Dir: /usr/lib/php/20190902 PHP Bin Dir: /usr/bin Loaded PHP config: /etc/php/7.4/cli/php.ini Versions: Phalcon DevTools Version: 4.0.3 Phalcon Version: 4.0.6 AdminLTE Version: 2.3.6

Apache configuration: <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /var/www/html/ <Directory /var/www/html> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined


Command: xxx:/var/www/html$ phalcon create-project test

Phalcon DevTools (4.0.3) Success: Controller "index" was successfully created.
Info: /var/www/html/test/app/controllers/IndexController.php
Success: Project 'test' was successfully created.
Info: Please choose a password and username to use Database connection.
Info: Used default: 'root' without password.

Output from web browser (https://localhost/test): TestController handler class cannot be loaded

0 [internal function]: Phalcon\Mvc\Dispatcher->throwDispatchException()

1 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()

2 /var/www/html/test/public/index.php(43): Phalcon\Mvc\Application->handle()

3 {main}

edited Nov '20

I have same issue.did you got any solution for this