Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装WindPT后页面一片空白 #9

Closed
huxinmin opened this issue Nov 2, 2015 · 2 comments
Closed

安装WindPT后页面一片空白 #9

huxinmin opened this issue Nov 2, 2015 · 2 comments
Labels

Comments

@huxinmin
Copy link

huxinmin commented Nov 2, 2015

Uncaught error with message 'E_WARNING: Invalid argument supplied for foreach()'

D:\APMServ5.2.6\www\htdocs\data\compile\template\torrent\extensions\torrent\template\admin\manage_run.tpl: 133

128: <div class="cross">
129: <ul id="J_ul_list_deniedfts" class="J_ul_list_public">
130: <li>
131: <span class="span_3">后缀名(小写)</span>
132: </li>
133: <?php foreach ($config['app.torrent.deniedfts'] as $deniedft) { ?>
134: <li>
135: <span class="span_3"><input name="deniedfts[]" type="text" class="input length_2" value="<?php echo htmlspecialchars($deniedft, ENT_QUOTES, 'UTF-8');?>"></span>
136: <span class="span_4"><a href="#" class="J_ul_list_remove">[删除]</a></span>
137: </li>
__Stack:
#12 D:\APMServ5.2.6\www\htdocs\wind\base\AbstractWindFrontController.php (245)
#11 D:\APMServ5.2.6\www\htdocs\data\compile\template\torrent\extensions\torrent\template\admin\manage_run.tpl (133) _errorHandle(2,"Invalid argument supplied for foreach()","D:\APMServ5.2.6\www\htdocs\data\compile\template\torrent\extensi…",133,array( '__tpl' => 'D:\APMServ5.2.6\www\htdocs\data\compile/template/torrent/extensions/torrent/template/admin/manage_run.tpl', '__vars' => array 'loginUser' => NULL, 'config' => array( 'app.torrent.calcmd' => 'bc', 'app.torrent.calfunc' => 'exec', 'app.torrent.check' => array '0' => 'deniedfts', '1' => 'source', ), 'app.torrent.creditifopen' => '1', 'app.torrent.credits' => array( ), 'app.torrent.cron.peertimeout' => '15', 'app.torrent.cron.torrentimeout' => '0', 'app.torrent.showuserinfo' => array( '0' => 'threadside', '1' => 'profile', ), 'app.torrent.theme.showpeers' => array( '0' => 'index', '1' => 'forum_my', '2' => 'cate', '3' => 'widget', ), 'app.torrent.titlegen.douban' => '', 'app.torrent.titlegen.ifopen' => '1', 'app.torrent.torrentnameprefix' => 'phpwind 9.0', 'avatarUrl' => 'http://127.0.0.1/windid/attachment', 'cookie.domain' => '', 'cookie.path' => '', 'cookie.pre' => 'MIL', 'debug' => '1', 'hash' => 'llj2G41K', 'homeRouter' => array( 'm' => 'bbs', 'c' => 'index', 'a' => 'run', ), 'homeUrl' => 'index.php?m=bbs', 'info.mail' => 'admin@phpwind.com', 'info.name' => 'phpwind 9.0', 'info.notice' => '', 'info.url' => 'http://127.0.0.1', 'managereasons' => '问题已收集,谢谢反馈! 建议已收集,谢谢反馈! 已关注,谢谢反馈! 广告帖 恶意灌水 非法内容 与版规不符 重复发帖 ------------------------------------------------ 优秀文章 原创内容', 'medal.isopen' => '1', 'onlinetime' => '30', 'punch.friend.open' => '1', 'punch.friend.reward' => array( 'friendNum' => '3', 'rewardMeNum' => '1', 'rewardNum' => '1', ), 'punch.open' => '1', 'punch.reward' => array( 'type' => '1', 'min' => '1', 'max' => '5', 'step' => '1', ), 'refreshtime' => '0', 'search.isopen' => '1', 'task.isOpen' => '1', 'theme.forum.default' => 'default', 'theme.forum.pack' => 'forum', 'theme.portal.pack' => 'portal/appcenter', 'theme.site.default' => 'pt', 'theme.site.pack' => 'site', 'theme.space.default' => 'default', 'theme.space.pack' => 'space', 'time.cv' => '0' 'time.timezone' => '8', 'upgradestrategy' => array( 'credit1' => '1', 'credit2' => '1', 'postnum' => '1', ), 'visit.message' => '站点升级中。。。', 'windid' => 'local', ), 'cronList' => array( 'ClearPeers' => array( ), 'ClearTorrents' => array( ), ), ), '__viewer' => NULL, 'loginUser' => NULL, 'config' => array( 'app.torrent.calcmd' => 'bc', 'app.torrent.calfunc' => 'exec', 'app.torrent.check' => array( '0' => 'deniedfts', '1' => 'source', ), 'app.torrent.creditifopen' => '1', 'app.torrent.credits' => array( ), 'app.torrent.cron.peertimeout' => '15', 'app.torrent.cron.torrentimeout' => '0', 'app.torrent.showuserinfo' => array( '0' => 'threadside', '1' => 'profile', ), 'app.torrent.theme.showpeers' => array( '0' => 'index', '1' => 'forum_my', '2' => 'cate', '3' => 'widget', ), 'app.torrent.titlegen.douban' => '', 'app.torrent.titlegen.ifopen' => '1', 'app.torrent.torrentnameprefix' => 'phpwind 9.0', 'avatarUrl' => 'http://127.0.0.1/windid/attachment', 'cookie.domain' => '', 'cookie.path' => '', 'cookie.pre' => 'MIL', 'debug' => '1', 'hash' => 'llj2G41K', 'homeRouter' => array( 'm' => 'bbs', 'c' => 'index' 'a' => 'run', ), 'homeUrl' => 'index.php?m=bbs', 'info.mail' => 'admin@phpwind.com', 'info.name' => 'phpwind 9.0', 'info.notice' => '', 'info.url' => 'http://127.0.0.1', 'managereasons' => '问题已收集,谢谢反馈! 建议已收集,谢谢反馈! 已关注,谢谢反馈! 广告帖 恶意灌水 非法内容 与版规不符 重复发帖 ------------------------------------------------ 优秀文章 原创内容', 'medal.isopen' => '1', 'onlinetime' => '30', 'punch.friend.open' => '1', 'punch.friend.reward' => array( 'friendNum' => '3', 'rewardMeNum' => '1', 'rewardNum' => '1', ), 'punch.open' => '1', 'punch.reward' => array( 'type' => '1', 'min' => '1', 'max' => '5', 'step' => '1', ), 'refreshtime' => '0', 'search.isopen' => '1', 'task.isOpen' => '1', 'theme.forum.default' => 'default', 'theme.forum.pack' => 'forum', 'theme.portal.pack' => 'portal/appcenter', 'theme.site.default' => 'pt', 'theme.site.pack' => 'site', 'theme.space.default' => 'default', 'theme.space.pack' => 'space', 'time.cv' => '0', 'time.timezone' => '8' 'upgradestrategy' => array( 'credit1' => '1', 'credit2' => '1', 'postnum' => '1', ), 'visit.message' => '站点升级中。。。', 'windid' => 'local', ), 'cronList' => array( 'ClearPeers' => array( ), 'ClearTorrents' => array( ), ), ))
#10 D:\APMServ5.2.6\www\htdocs\wind\viewer\IWindViewerResolver.php (59) include("D:\APMServ5.2.6\www\htdocs\data\compile\template\torrent\extensi…")
#9 D:\APMServ5.2.6\www\htdocs\wind\viewer\resolver\WindViewerResolver.php (38) render("D:\APMServ5.2.6\www\htdocs\data\compile/template/torrent/extensi…",array( 'loginUser' => NULL, 'config' => array( 'app.torrent.calcmd' => 'bc', 'app.torrent.calfunc' => 'exec', 'app.torrent.check' => array( '0' => 'deniedfts', '1' => 'source', ), 'app.torrent.creditifopen' => '1', 'app.torrent.credits' => array( ), 'app.torrent.cron.peertimeout' => '15', 'app.torrent.cron.torrentimeout' => '0', 'app.torrent.showuserinfo' => array( '0' => 'threadside', '1' => 'profile', ), 'app.torrent.theme.showpeers' => array( '0' => 'index', '1' => 'forum_my', '2' => 'cate', '3' => 'widget', ), 'app.torrent.titlegen.douban' => '', 'app.torrent.titlegen.ifopen' => '1', 'app.torrent.torrentnameprefix' => 'phpwind 9.0', 'avatarUrl' => 'http://127.0.0.1/windid/attachment', 'cookie.domain' => '', 'cookie.path' => '', 'cookie.pre' => 'MIL', 'debug' => '1', 'hash' => 'llj2G41K', 'homeRouter' => array( 'm' => 'bbs', 'c' => 'index', 'a' => 'run', ), 'homeUrl' => 'index.php?m=bbs', 'info.mail' => 'admin@phpwind.com', 'info.name' => 'phpwind 9.0', 'info.notice' => '', 'info.url' => 'http://127.0.0.1', 'managereasons' => '问题已收集,谢谢反馈! 建议已收集,谢谢反馈! 已关注,谢谢反馈! 广告帖 恶意灌水 非法内容 与版规不符 重复发帖 ------------------------------------------------ 优秀文章 原创内容', 'medal.isopen' => '1', 'onlinetime' => '30', 'punch.friend.open' => '1', 'punch.friend.reward' => array( 'friendNum' => '3', 'rewardMeNum' => '1', 'rewardNum' => '1', ), 'punch.open' => '1', 'punch.reward' => array( 'type' => '1', 'min' => '1', 'max' => '5', 'step' => '1', ), 'refreshtime' => '0', 'search.isopen' => '1', 'task.isOpen' => '1', 'theme.forum.default' => 'default', 'theme.forum.pack' => 'forum', 'theme.portal.pack' => 'portal/appcenter', 'theme.site.default' => 'pt', 'theme.site.pack' => 'site', 'theme.space.default' => 'default', 'theme.space.pack' => 'space', 'time.cv' => '0' 'time.timezone' => '8', 'upgradestrategy' => array( 'credit1' => '1', 'credit2' => '1', 'postnum' => '1', ), 'visit.message' => '站点升级中。。。', 'windid' => 'local', ), 'cronList' => array( 'ClearPeers' => array( ), 'ClearTorrents' => array( ), ), ),WindViewerResolver)
#8 D:\APMServ5.2.6\www\htdocs\wind\viewer\WindView.php (145) windFetch()
#7 D:\APMServ5.2.6\www\htdocs\wind\web\WindDispatcher.php (43) render(false)
#6 D:\APMServ5.2.6\www\htdocs\wind\web\WindWebApplication.php (26) dispatch(WindForward,WindRouter,false)
#5 D:\APMServ5.2.6\www\htdocs\wind\base\AbstractWindApplication.php (91) doDispatch(WindForward)
#4 D:\APMServ5.2.6\www\htdocs\wind\base\AbstractWindFrontController.php (205) run(WindRouter)
#3 D:\APMServ5.2.6\www\htdocs\wind\web\WindWebFrontController.php (20) run()
#2 D:\APMServ5.2.6\www\htdocs\src\wekit.php (38) run()
#1 D:\APMServ5.2.6\www\htdocs\admin.php (7) run("pwadmin",array( 'router' => array( 'config' => array( 'module' => array( 'default-value' => 'default', ), 'routes' => array( 'admin' => array( 'class' => 'LIB:route.PwAdminRoute', 'default' => true, ), ), ), ), ))

The server encountered an internal error and failed to process your request. Please try again later. If this error is temporary, reloading the page might resolve the problem.
If you are able to contact the administrator report this error message.(http://www.windframework.com/)

@kinosang kinosang added the bug label Nov 2, 2015
@kinosang kinosang changed the title bug(apache安装windpt页面一片空白) 安装WindPT后页面一片空白 Nov 2, 2015
@kinosang
Copy link
Collaborator

kinosang commented Nov 2, 2015

try 9d3a8e1

@kinosang
Copy link
Collaborator

kinosang commented Nov 2, 2015

PHPWind not support PHP 5.2, upgrade to PHP 5.3 or later.

And make sure that you have enabled php-mcrypt and some other extensions that required.

@kinosang kinosang closed this as completed Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants