Phalcon Framework 3.3.2

Phalcon\Mvc\Dispatcher\Exception: Modules\Isv\Controllers\IsvController handler class cannot be loaded

/var/www/coodinweixin/workweixin/public/index.php (86)
#0Phalcon\Mvc\Dispatcher->_throwDispatchException(Modules\Isv\Controllers\IsvController handler class cannot be loaded, 2)
#1Phalcon\Dispatcher->dispatch()
#2Phalcon\Mvc\Application->handle()
/var/www/coodinweixin/workweixin/public/index.php (86)
<?php
 
error_reporting(E_ALL);
(new \Phalcon\Debug())->listen();//开启调试监听
 
 
define('BASE_PATH', dirname(__DIR__));
define('APP_PATH', BASE_PATH . '/app');
 
use Phalcon\Loader;
use Phalcon\Mvc\Router;
use Phalcon\DI\FactoryDefault;
use Phalcon\Mvc\Application as BaseApplication;
use Phalcon\Mvc\Url as UrlResolver;
use Phalcon\Session\Adapter\Files as SessionAdapter;
use Phalcon\Mvc\Model\Metadata\Memory as MetaDataAdapter;
 
class Application extends BaseApplication
{
    /**
     * Register the services here to make them general or register in the ModuleDefinition to make them module-specific
     */
    protected function registerServices()
    {
 
        $di = new FactoryDefault();
        $di->setShared('config', function () {
            return include APP_PATH . "/config/config.php";
        });
        
        $di->setShared('url', function () {
            $config = $this->getConfig();
            $url = new UrlResolver();
            $url->setBaseUri($config->application->baseUri);
            return $url;
        });
 
        $di->setShared('session', function () {
            $session = new SessionAdapter();
            $session->start();
            return $session;
        });
 
        /**
        * If the configuration specify the use of metadata adapter use it or use memory otherwise
        */
        $di->setShared('modelsMetadata', function () {
            return new MetaDataAdapter();
        });
        
 
      
        include APP_PATH . '/config/router.php';
 
        /**
        * Include Autoloader
        */
        $config = $di->getConfig();
        include APP_PATH . '/config/loader.php';
    
        // Registering a router
        $di->set('router', function () {
            return include APP_PATH . "/config/router.php";
        });
 
        $this->setDI($di);
    }
 
    public function main()
    {
 
        $this->registerServices();
 
        // Register the installed modules
        $this->registerModules([
            'isv' => [
                'className' => 'Modules\Isv\Module',
                'path'      => APP_PATH.'/modules/isv/Module.php'
            ],
            'backend'  => [
                'className' => 'Modules\Backend\Module',
                'path'      =>  APP_PATH.'/modules/backend/Module.php'
            ]
        ]);
 
        echo $this->handle()->getContent();
    }
}
 
$application = new Application();
$application->main();
#3Application->main()
/var/www/coodinweixin/workweixin/public/index.php (91)
<?php
 
error_reporting(E_ALL);
(new \Phalcon\Debug())->listen();//开启调试监听
 
 
define('BASE_PATH', dirname(__DIR__));
define('APP_PATH', BASE_PATH . '/app');
 
use Phalcon\Loader;
use Phalcon\Mvc\Router;
use Phalcon\DI\FactoryDefault;
use Phalcon\Mvc\Application as BaseApplication;
use Phalcon\Mvc\Url as UrlResolver;
use Phalcon\Session\Adapter\Files as SessionAdapter;
use Phalcon\Mvc\Model\Metadata\Memory as MetaDataAdapter;
 
class Application extends BaseApplication
{
    /**
     * Register the services here to make them general or register in the ModuleDefinition to make them module-specific
     */
    protected function registerServices()
    {
 
        $di = new FactoryDefault();
        $di->setShared('config', function () {
            return include APP_PATH . "/config/config.php";
        });
        
        $di->setShared('url', function () {
            $config = $this->getConfig();
            $url = new UrlResolver();
            $url->setBaseUri($config->application->baseUri);
            return $url;
        });
 
        $di->setShared('session', function () {
            $session = new SessionAdapter();
            $session->start();
            return $session;
        });
 
        /**
        * If the configuration specify the use of metadata adapter use it or use memory otherwise
        */
        $di->setShared('modelsMetadata', function () {
            return new MetaDataAdapter();
        });
        
 
      
        include APP_PATH . '/config/router.php';
 
        /**
        * Include Autoloader
        */
        $config = $di->getConfig();
        include APP_PATH . '/config/loader.php';
    
        // Registering a router
        $di->set('router', function () {
            return include APP_PATH . "/config/router.php";
        });
 
        $this->setDI($di);
    }
 
    public function main()
    {
 
        $this->registerServices();
 
        // Register the installed modules
        $this->registerModules([
            'isv' => [
                'className' => 'Modules\Isv\Module',
                'path'      => APP_PATH.'/modules/isv/Module.php'
            ],
            'backend'  => [
                'className' => 'Modules\Backend\Module',
                'path'      =>  APP_PATH.'/modules/backend/Module.php'
            ]
        ]);
 
        echo $this->handle()->getContent();
    }
}
 
$application = new Application();
$application->main();
KeyValue
_url/isv/index/reg
KeyValue
REDIRECT_REDIRECT_UNIQUE_IDZ5EQamIOcsRfF5j8tCy7FgAAAAg
REDIRECT_REDIRECT_STATUS200
REDIRECT_UNIQUE_IDZ5EQamIOcsRfF5j8tCy7FgAAAAg
REDIRECT_STATUS200
UNIQUE_IDZ5EQamIOcsRfF5j8tCy7FgAAAAg
HTTP_ACCEPT*/*
HTTP_USER_AGENTMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT_ENCODINGgzip, br, zstd, deflate
HTTP_HOSTweixin.coodin.cn
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWAREApache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.2
SERVER_NAMEweixin.coodin.cn
SERVER_ADDR172.16.0.3
SERVER_PORT80
REMOTE_ADDR18.218.123.194
DOCUMENT_ROOT/var/www/coodinweixin
REQUEST_SCHEMEhttp
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT/var/www/coodinweixin
SERVER_ADMINweixin@coodin.cn
SCRIPT_FILENAME/var/www/coodinweixin/workweixin/public/index.php
REMOTE_PORT42782
REDIRECT_QUERY_STRING_url=/isv/index/reg
REDIRECT_URL/workweixin/public/isv/index/reg
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.1
REQUEST_METHODGET
QUERY_STRING_url=/isv/index/reg
REQUEST_URI/workweixin/isv/index/reg
SCRIPT_NAME/workweixin/public/index.php
PHP_SELF/workweixin/public/index.php
REQUEST_TIME_FLOAT1737560170.089
REQUEST_TIME1737560170
#Path
0/var/www/coodinweixin/workweixin/public/index.php
1/var/www/coodinweixin/workweixin/app/config/router.php
2/var/www/coodinweixin/workweixin/app/config/config.php
3/var/www/coodinweixin/workweixin/app/config/loader.php
4/var/www/coodinweixin/workweixin/vendor/phpexcel/lib/PHPExcel/PHPExcel.php
5/var/www/coodinweixin/workweixin/vendor/phpexcel/lib/PHPExcel/PHPExcel/Autoloader.php
6/var/www/coodinweixin/workweixin/vendor/phpexcel/lib/PHPExcel/PHPExcel/Shared/String.php
7/var/www/coodinweixin/workweixin/vendor/weixinlib/WXBizMsgCrypt.php
8/var/www/coodinweixin/workweixin/vendor/weixinlib/sha1.php
9/var/www/coodinweixin/workweixin/vendor/weixinlib/errorCode.php
10/var/www/coodinweixin/workweixin/vendor/weixinlib/xmlparse.php
11/var/www/coodinweixin/workweixin/vendor/weixinlib/pkcs7Encoder.php
12/var/www/coodinweixin/workweixin/vendor/phpseclib/mcrypt_compat/lib/mcrypt.php
13/var/www/coodinweixin/workweixin/app/modules/isv/Module.php
Memory
Usage2097152