Replies: 3 comments 14 replies
-
CcadminController handler class cannot be loaded Formatting messed up. That's what I see when I go to server/ccadmin Why is it not looking for IndexController? |
Beta Was this translation helpful? Give feedback.
-
kan haz help? :) |
Beta Was this translation helpful? Give feedback.
-
Hello, it's 2024 and I'm still struggling with the same error. I've moved my code from one Ubuntu 20.04 system to another 20.04 system. All PHP versions, Phalcon versions, and Nginx versions are the same. However, I'm getting an error that says the indexController is not found. I've even copied the entire /etc/nginx and /etc/php directories to the new system. All configurations are the same, but I'm still having no luck... |
Beta Was this translation helpful? Give feedback.
-
rhel 8.4, php 7.4.6, cphalcon 4.1.2
from phpinfo():
Phalcon is a full stack PHP framework, delivered as a PHP extension, offering lower resource consumption and high performance.
phalcon => enabled
Author => Phalcon Team and contributors
Version => 4.1.2
Build Date => May 23 2021 19:49:51
Powered by Zephir => Version 0.12.21-8a412a1
using phalcon-devtools. from phalcon info:
Environment:
OS: Linux nine.cpmc.columbia.edu 4.18.0-305.7.1.el8_4.x86_64 #1 SMP Mon Jun 14 17:25:42 EDT 2021 x86_64
PHP Version: 7.4.6
PHP SAPI: cli
PHP Bin: /usr/bin/php
PHP Extension Dir: /usr/lib64/php/modules
PHP Bin Dir: /usr/bin
Loaded PHP config: /etc/php.ini
Versions:
Phalcon DevTools Version: 4.1.2
Phalcon Version: 4.1.2
AdminLTE Version: 3.0.1
Mod rewrite is enabled
from /var/www/html I did this:
sudo phalcon create-project ccadmin --enable-webtools
that worked:
ccadmin/
ccadmin/app
ccadmin/app/views
ccadmin/app/views/index
ccadmin/app/views/index/index.phtml
ccadmin/app/views/layouts
ccadmin/app/views/index.phtml
ccadmin/app/config
ccadmin/app/config/loader.php
ccadmin/app/config/services.php
ccadmin/app/config/router.php
ccadmin/app/config/config.php~
ccadmin/app/config/config.php
ccadmin/app/models
ccadmin/app/controllers
ccadmin/app/controllers/ControllerBase.php
ccadmin/app/controllers/IndexController.php
ccadmin/app/library
ccadmin/app/migrations
ccadmin/cache
ccadmin/public
ccadmin/public/img
ccadmin/public/css
ccadmin/public/temp
ccadmin/public/files
ccadmin/public/js
ccadmin/public/index.php
ccadmin/public/.htaccess
ccadmin/public/webtools.php
ccadmin/public/webtools.config.php
ccadmin/.phalcon
ccadmin/.htaccess
ccadmin/index.html
ccadmin/.htrouter.php
ccadmin/.htrouter.php contents:
* * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ $uri = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); if ($uri !== '/' && file_exists(__DIR__ . '/public' . $uri)) { return false; } $_GET['_url'] = $_SERVER['REQUEST_URI']; require_once __DIR__ . '/public/index.php'; attempting to go to server/ccadmin I get this: CcadminController handler class cannot be loaded #0 [internal function]: Phalcon\Mvc\Dispatcher->throwDispatchException('CcadminControll...', 2) #1 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #2 /var/www/html/ccadmin/public/index.php(43): Phalcon\Mvc\Application->handle('/ccadmin/') #3 {main} Why is it not looking for IndexController?Beta Was this translation helpful? Give feedback.
All reactions