按照五分钟快速入门的内容建立了文件夹和HTML文件以及JSON文件,然后打开CMF后台管理系统,点击模板管理,然后点击安装模板,直接报错如下图:
at Error::appError(8, 'Undefined index: nam...', 'D:\wamp_phptest\thin...', 104, ['cacheFile' => 'D:\wamp_phptest\thin...', 'vars' => ['admin' => ['id' => 1, 'user_type' => 1, 'sex' => 1, ...], 'themes' => [['theme' => 'quick_start']]], 'admin' => ['id' => 1, 'user_type' => 1, 'sex' => 1, ...], ...]) in 719661102bfe8e1caf17933976ab2253.php line 104
at include('D:\wamp_phptest\thin...') in File.php line 50
at File->read('D:\wamp_phptest\thin...', ['admin' => ['id' => 1, 'user_type' => 1, 'sex' => 1, ...], 'themes' => [['theme' => 'quick_start']]]) in Template.php line 198
at Template->fetch('themes/admin_simpleb...', ['admin' => ['id' => 1, 'user_type' => 1, 'sex' => 1, ...], 'themes' => [['theme' => 'quick_start']]], []) in Think.php line 84
at Think->fetch('', ['admin' => ['id' => 1, 'user_type' => 1, 'sex' => 1, ...], 'themes' => [['theme' => 'quick_start']]], []) in View.php line 163
at View->fetch('', [], [], []) in Controller.php line 120
at Controller->fetch() in ThemeController.php line 84
at ThemeController->install()
at ReflectionMethod->invokeArgs(object(ThemeController), []) in App.php line 343
at App::invokeMethod([object(ThemeController), 'install'], []) in App.php line 595
at App::module(['admin', 'theme', 'install'], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], null) in App.php line 457
at App::exec(['type' => 'module', 'module' => ['admin', 'theme', 'install']], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 139
at App::run() in index.php line 41
GET Data
empty
POST Data
empty
Files
empty
thinkphp_show_page_trace
0|0
PHPSESSID
irf4l7jq7k3ot0cg5dooh87lh3
admin_username
admin
think
{ "__SP_ADMIN_LOGIN_PAGE_SHOWED_SUCCESS__": true, "ADMIN_ID": 1, "name": "admin", "token": "6c13bdfd0e77aebb27d26869a1380ef968d5047061e2fbdcce9cd5dcf09b390f" }
REDIRECT_STATUS
200
HTTP_HOST
thinkcmf5.0.180123
HTTP_CONNECTION
keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_REFERER
http://thinkcmf5.0.180123/admin/theme/index.html
HTTP_ACCEPT_ENCODING
gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE
zh-CN,zh;q=0.8
HTTP_COOKIE
thinkphp_show_page_trace=0|0; PHPSESSID=irf4l7jq7k3ot0cg5dooh87lh3; admin_username=admin; thinkphp_show_page_trace=0|0
PATH
C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;E:\MATLABA\bin\win32;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;d:\Program Files (x86)\IDM Computer Solutions\UltraEdit;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
SystemRoot
C:\WINDOWS
COMSPEC
C:\WINDOWS\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\WINDOWS
SERVER_SIGNATURE
<address>Apache/2.4.23 (Win64) PHP/5.6.25 Server at thinkcmf5.0.180123 Port 80</address>
SERVER_SOFTWARE
Apache/2.4.23 (Win64) PHP/5.6.25
SERVER_NAME
thinkcmf5.0.180123
SERVER_ADDR
::1
SERVER_PORT
80
REMOTE_ADDR
::1
DOCUMENT_ROOT
D:/wamp_phptest/thinkcmf-5.0.180123/public
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
D:/wamp_phptest/thinkcmf-5.0.180123/public
SERVER_ADMIN
wampserver@wampserver.invalid
SCRIPT_FILENAME
D:/wamp_phptest/thinkcmf-5.0.180123/public/index.php
REMOTE_PORT
51969
REDIRECT_URL
/admin/theme/install.html
REDIRECT_QUERY_STRING
s=admin/theme/install.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
s=admin/theme/install.html
REQUEST_URI
/admin/theme/install.html
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1524020017.302
REQUEST_TIME
1524020017
PATH_INFO
admin/theme/install.html
Environment Variables
empty
APP_DEBUG
true
CMF_ROOT
D:\wamp_phptest\thinkcmf-5.0.180123\public/../
APP_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../app/
CMF_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../simplewind/cmf/
PLUGINS_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/plugins/
EXTEND_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../simplewind/extend/
VENDOR_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../simplewind/vendor/
RUNTIME_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../data/runtime/
THINKCMF_VERSION
5.0.180123
THINK_VERSION
5.0.14
THINK_START_TIME
1524020017.3051
THINK_START_MEM
283168
EXT
.php
DS
\
THINK_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\simplewind\thinkphp\
LIB_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\simplewind\thinkphp\library\
CORE_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\simplewind\thinkphp\library\think\
TRAIT_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\simplewind\thinkphp\library\traits\
ROOT_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\
LOG_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../data/runtime/log\
CACHE_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../data/runtime/cache\
TEMP_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../data/runtime/temp\
CONF_PATH
D:\wamp_phptest\thinkcmf-5.0.180123\public/../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
D:\wamp_phptest\thinkcmf-5.0.180123\simplewind\vendor\ezyang\htmlpurifier\library
QINIU_FUNCTIONS_VERSION
7.2.1
有那位大佬能帮帮我,谢谢谢谢!
0.话题发布后没及时显示,请联系官方QQ群管理;
1.话题支持代码,qq截屏直接粘贴,和QQ群一样;
2.问题描述清,比如服务器版本,程序版本;
3.能上代码,就不用文字;
4.把问题发到话题后再发QQ群;
5.如果感觉回复者解答的不错,可以发红包!
6.多帮助别人也是对自己的锻炼!
7.付费讨论中只有提问者和付费用户才可以查看回复
1.评论积分+1;每天最多10次奖励
2.发布话题积分+1;每天最多5次奖励
3.垃圾评论积分-500;
4.黄色,暴力,违反我国法律评论直接封号