[8] ErrorException in c9a849c51e8565290d2c8475019034e5.php line 174

未定义变量: photo

  1. $(".nav-leftbox li."+name).addClass("on");
  2. }
  3. </script>
  4. <div class="public-box">
  5. <div class="obg-fff obg-fff2">
  6. <div class="my_header">
  7. <div class="my-data">
  8. <ul>
  9. <li>
  10. <img src="<?php if($photo == ''): ?>/static/cdoers/images/noimage.jpg<?php else: ?><?php echo $photo; endif; ?>">
  11. <p>
  12. <span>真实姓名:<?php echo $real; ?></span>
  13. <em>积分余额:<?php echo $integral; ?></em>
  14. </p>
  15. </li>
  16. </ul>
  17. </div>
  18. <div class="my-nav clearfix">
  19. <ul>

Call Stack

  1. in c9a849c51e8565290d2c8475019034e5.php line 174
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/cdoers....', 174, ['cacheFile' => '/www/wwwroot/cdoers....', 'vars' => ['' => ''], 'key' => 1, ...]) in c9a849c51e8565290d2c8475019034e5.php line 174
  3. at include('/www/wwwroot/cdoers....') in File.php line 50
  4. at File->read('/www/wwwroot/cdoers....', ['' => '']) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/cdoers....', ['' => ''], []) in Think.php line 84
  6. at Think->fetch('index', ['' => ''], []) in View.php line 163
  7. at View->fetch('index', ['' => ''], []) in View.php line 36
  8. at View->output('index') in Response.php line 311
  9. at Response->getContent() in Response.php line 96
  10. at Response->send() in start.php line 19
  11. at require('/www/wwwroot/cdoers....') in index.php line 19

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "www": { "uid": null } }

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/cdoers.com/www.cdoers.com/public/index.php
QUERY_STRING
s=/profile/index.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/profile/index.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/cdoers.com/www.cdoers.com/public
SERVER_PROTOCOL
HTTP/2.0
REQUEST_SCHEME
https
HTTPS
on
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.18.0
REMOTE_ADDR
3.85.63.190
REMOTE_PORT
49636
SERVER_ADDR
10.0.4.7
SERVER_PORT
443
SERVER_NAME
www.cdoers.com
REDIRECT_STATUS
200
PATH_INFO
/profile/index.html
HTTP_HOST
www.cdoers.com
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710820261.4827
REQUEST_TIME
1710820261
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/public/../application/
BIND_MODULE
index
THINK_VERSION
5.0.16
THINK_START_TIME
1710820261.4834
THINK_START_MEM
285928
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/thinkphp/
LIB_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/thinkphp/library/
CORE_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/
EXTEND_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/extend/
VENDOR_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/vendor/
RUNTIME_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/runtime/
LOG_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/runtime/log/
CACHE_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/runtime/cache/
TEMP_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/runtime/temp/
CONF_PATH
/www/wwwroot/cdoers.com/www.cdoers.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false