[0] ClassNotFoundException in App.php line 684

类不存在:app\common\model\PageContent

  1. list($module, $class) = $this->parseModuleAndClass($name, $layer, $appendSuffix);
  2. if (class_exists($class)) {
  3. $object = $this->__get($class);
  4. } else {
  5. $class = str_replace('\\' . $module . '\\', '\\' . $common . '\\', $class);
  6. if (class_exists($class)) {
  7. $object = $this->__get($class);
  8. } else {
  9. throw new ClassNotFoundException('class not exists:' . $class, $class);
  10. }
  11. }
  12. $this->__set($guid, $class);
  13. return $object;
  14. }
  15. /**

Call Stack

  1. in App.php line 684
  2. at App->create('pageContent', 'model', false, 'common') in App.php line 705
  3. at App->model('pageContent', 'model', false) in helper.php line 470
  4. at model('pageContent') in Show.php line 56
  5. at Show->index()
  6. at ReflectionMethod->invokeArgs(object(Show), []) in Container.php line 395
  7. at Container->invokeReflectMethod(object(Show), object(ReflectionMethod), ['ename' => 'contact', 'id' => 'index', 'convert' => false]) in Module.php line 131
  8. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  9. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  10. at Middleware->think\{closure}(object(Request))
  11. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  12. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  13. at Module->exec() in Dispatch.php line 168
  14. at Dispatch->run() in App.php line 432
  15. at App->think\{closure}(object(Request), object(Closure), null)
  16. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  17. at Middleware->think\{closure}(object(Request))
  18. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  19. at Middleware->dispatch(object(Request)) in App.php line 435
  20. at App->run() in index.php line 29

Environment Variables

GET Data
cid 6
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_REDIRECT_UNIQUE_ID ZgWw8uiZpZ0ad156TjwxawAAAAY
REDIRECT_REDIRECT_PHPRC /home/yinxicyci4njxri/others
REDIRECT_REDIRECT_STATUS 200
REDIRECT_UNIQUE_ID ZgWw8uiZpZ0ad156TjwxawAAAAY
REDIRECT_PHPRC /home/yinxicyci4njxri/others
REDIRECT_HANDLER php-cgi
REDIRECT_STATUS 200
UNIQUE_ID ZgWw8uiZpZ0ad156TjwxawAAAAY
PHPRC /home/yinxicyci4njxri/others
HTTP_X_FORWARDED_FOR 3.80.131.164
HTTP_X_REAL_IP 3.80.131.164
HTTP_HOST www.yinxi.com.cn
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE <address>Apache Server at www.yinxi.com.cn Port 80</address>
SERVER_SOFTWARE Apache
SERVER_NAME www.yinxi.com.cn
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 3.80.131.164
DOCUMENT_ROOT /home/yinxicyci4njxri/wwwroot
REQUEST_SCHEME http
CONTEXT_PREFIX /php-run-as-cgi
CONTEXT_DOCUMENT_ROOT /usr/php7.0/bin
SERVER_ADMIN webmaster@yinxi
SCRIPT_FILENAME /home/yinxicyci4njxri/wwwroot/index.php
REMOTE_PORT 42944
REDIRECT_URL /index.php
REDIRECT_QUERY_STRING s=/contact/index.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING s=/contact/index.html
REQUEST_URI /contact/index.html
SCRIPT_NAME /index.php
ORIG_SCRIPT_FILENAME /usr/php7.0/bin/php-cgi
ORIG_PATH_INFO /index.php
ORIG_PATH_TRANSLATED /home/yinxicyci4njxri/wwwroot/index.php
ORIG_SCRIPT_NAME /php-run-as-cgi/php-cgi
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711649010.7526
REQUEST_TIME 1711649010
Environment Variablesempty
ThinkPHP Constants
DS /
APP_PATH /home/yinxicyci4njxri/wwwroot/application/
APP_DEBUG true