运行程序出现这个错误提示

问:我们的的程序运行出现这样的提示Fatal error: Class 'app\\\\controller\\Base' not found in /home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/application//controller/System.php on line 5[1]  in System.php line 'app\\\\controller\\Base' not found<?phpnamespace app\\\\controller;class extends Base {     function index(){        $group_list =   ['com'=>'公司信息','sit'=>'站点信息'];        $this->assign('group_list',$group_list);        $inc_type   = request()->param('inc_type');;        if(!isset($inc_type) || empty($inc_type)){            $inc_type='com';        }        $data=tpCache($inc_type);        $this->assign('inc_type',$inc_type);        $this->assign('',$data);         $this->fetch($inc_type);    }     function handle(){        $param=request()->param();

,运行程序出现这个错误提示

答:您好,核实您当前提供的报错是说的缺少app\\\\controller\\Base 该文件目录,我司查看您主机FTP空间中也没有该目录,查看其现在程序所在目录应该是/www/application//controller/,您可以重新联系您程序员为您核实看看,是否是因为修改了application 该文件目录地址,导致程序内部内用报错,非常感谢您长期对我司的支持!

问:源程序就没有这个base目录喔,但是有base文件,另外这个以前在阿里云那边运行是正常的。以前他们是在服务器运行的,是否跟这个有关系
Environment DataemptyPOST DataemptyFilesemptyCookiesPHPSESSIDag41pv8q18i81b3doqfvehchq1SessionemptyServer/Request DataREDIRECT_REDIRECT_UNIQUE_IDX0X4dZx3s-Sez-rTyWYXkwAAAAEREDIRECT_REDIRECT_PHPRC/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/othersREDIRECT_REDIRECT_STATUS200REDIRECT_UNIQUE_IDX0X4dZx3s-Sez-rTyWYXkwAAAAEREDIRECT_PHPRC/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/othersREDIRECT_HAIRECT_STATUS200UNIQUE_IDX0X4dZx3s-Sez-rTyWYXkwAAAAEPHPRC/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/othersHTTP_X_FORWARDED_FOR127.0.0.1HTTP_X_REAL_IP127.0.0.1HTTP_HOSTwww.jhhclaser.comHTTP_CONNECTIONcloseHTTP_ACCEPT_ENCODINGgzipHTTP_X_FORWARDED_PROTOhttpHTTP_UPGRADE_INSECURE_REQUESTS1HTTP_USER_AGENTMozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36HTTP_ACCEPTtext/html,application/xhtml xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3HTTP_REFERERhttp://www.jhhclaser.com//index/index.htmlHTTP_ACCEPT_LANGUAGEzh-CN,zh;q=0.9HTTP_COOKIEPHPSESSID=ag41pv8q18i81b3doqfvehchq1PATH/sbin:/usr/sbin:/bin:/usr/binSERVER_SIGNATURE<> server=demo</address>SERVER_SOFTWAREApacheSERVER_NAMEwww.jhhclaser.comSERVER_ADDR127.0.0.1SERVER_PORT80REMOTE_ADDR127.0.0.1DOCUMENT_/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/publicREQUEST_SCHEMEhttpCONTEXT_PREFIX/php-run-as-cgiCONTEXT_DOCUMENT_/usr/php5.6/binSERVER_webmaster@szshxjh2020SCRIPT_FILENAME/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/index.phpREMOTE_PORT58304REDIRECT_URL/index.php//system/recruit.htmlGATEWAY_INTERFACECGI/1.1SERVER_PROTOCOLHTTP/1.0REQUEST_METHODGETQUERY_STRINGREQUEST_URI//system/recruit.htmlSCRIPT_NAME/index.phpPATH_INFO//system/recruit.htmlPATH_TRANSLATED/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public//system/recruit.htmlORIG_PATH_INFO/index.php//system/recruit.htmlORIG_SCRIPT_NAME/php-run-as-cgi/php-cgiORIG_SCRIPT_FILENAME/usr/php5.6/bin/php-cgiORIG_PATH_TRANSLATED/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/index.php//system/recruit.htmlPHP_SELF/index.php//system/recruit.htmlREQUEST_TIME_FLOAT.4524REQUEST_TIMEEnvironment VariablesemptyThinkPHP ConstantsAPP_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/../application/RUNTIME_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/../runtime/APP_DEBUGtrueTHINK_VERSION5.0.10THINK_START_TIME.4543THINK_START_MEM233872EXT.phpDS/THINK_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/thinkphp/LIB_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/thinkphp/library/CORE_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/thinkphp/library/think/TRAIT_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/thinkphp/library/traits/_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/EXTEND_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/extend/VENDOR_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/vendor/LOG_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/../runtime/log/CACHE_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/../runtime/cache/TEMP_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/../runtime/temp/CONF_PATH/home/szshxjh2020ssqzjszh2xcj3hx2l0k2u0/www/public/../application/CONF_EXT.phpENV_PREFIXPHP_IS_CLIfalseIS_WINfalse

答:您好,当前为您将程序缓存目录重命名重新生成了程序缓存,您可以重新测试看看(您也可以先提供一下相关报错地址,我司为您看看,但因对您程序架构也不熟悉,所以可能无法完全为您处理到),该问题其是程序内部调用的,而我司也不清楚您程序内部模板构架等,建议您也可以先联系您程序员为您核实看看,非常感谢您长期对我司的支持!

西部数码(west.cn)是经工信部、ICANN、CNNIC认证审批,持有ISP、云牌照、IDC、CDN、顶级域名注册商等全业务资质的正规老牌服务商,自成立至今20余年专注于域名注册、虚拟主机云服务器企业邮箱、企业建站等互联网基础服务!

截止目前,已经为超过2000万个域名提供了注册、解析等服务,是中国五星级域名注册注册商!已为超过50万个网站提供了高速稳定的云托管服务,获评中国最受用户喜欢云主机服务商。

西部数码提供全方位7X24H专业售后支撑,域名注册特价1元起,高速稳定云主机45元起,更多详情请浏览西部数码官网:https://www.west.cn/

赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » 运行程序出现这个错误提示

登录

找回密码

注册