人人商城_Base_EweiShopV2Model_not found

请求地址: app/index.php?i=3&c=entry&m=ewei_shopv2&do=mobile&r=oilrebate.register
错误信息: Fatal error: Class 'Base_EweiShopV2Model' not found in /var/www/renren/addons/ewei_shopv2/core/model/oilcarduser.php on line 13
错误备注: windows-10 phpstudy运行正常 laradock中运行报错.

  • include
  • include_once
  • require
  • require_once

关于include函数

php.ini 关于包含文件可配置项: include-path

查看脚本包含过那些文件get_required_files() return array


测试代码: svn://svn.majianwei.com/less/_php phpstudy 与 laradock 运行都正常.

人人商城相关文件及代码片段

  • renren\addons\ewei_shopv2\core\model\oilcarduser.php
if (!defined('IN_IA')) {
    exit('Access Denied');
}
require_once 'base.php';
class Oilcarduser_EweiShopV2Model extends Base_EweiShopV2Model
{
...
  • renren\addons\ewei_shopv2\plugin\oilrebate\core\mobile\register.php
if (!defined('IN_IA')) {
    exit('Access Denied');
}

require_once 'base.php';
require_once 'Captcha.php';
class Register_EweiShopV2Page extends Base_EweiShopV2Page
{
...

发表评论