branchzero / discuz-x32-php7 Goto Github PK
View Code? Open in Web Editor NEWThis is a PHP7 Port of Discuz! X3.2.
This is a PHP7 Port of Discuz! X3.2.
开启伪静态后,页面空白,经排查,伪静态规则正常,推测DZ文件内容有错。
目前在努力排查中。
Please Wait patiently to let me merge the patch!
接口问题希望可以帮忙修复一下呢,
还有现在官方居然更新了版本,新版本号20151208
不知道可以不可以跟进一下呢,谢谢大大了~
嵌入点检测发现有嵌入点丢失,覆盖官方文件后也是如此
55,56行代码应该互换位置。
function bat_highlight($message, $words, $color = '#ff0000') {
if(!empty($words)) {
$highlightarray = explode(' ', $words);
$sppos = strrpos($message, chr(0).chr(0).chr(0));
if($sppos !== FALSE) {
$specialextra = substr($message, $sppos + 3);
$message = substr($message, 0, $sppos);
}
$message = preg_replace("/<highlight>(.*)<\/highlight>/siU", "<strong><font color=\"$color\">\\1</font></strong>", $message);
$message = preg_replace_callback("/(^|>)([^<]+)(?=<|$)/sU", function($matches) use($highlightarray) { return highlight($matches[2], $highlightarray, $matches[1]); }, $message);
if($sppos !== FALSE) {
$message = $message.chr(0).chr(0).chr(0).$specialextra;
}
}
return $message;
}
$message = preg_replace("/<highlight>(.*)<\/highlight>/siU", "<strong><font color=\"$color\">\\1</font></strong>", $message);
$message = preg_replace_callback("/(^|>)([^<]+)(?=<|$)/sU", function($matches) use($highlightarray) { return highlight($matches[2], $highlightarray, $matches[1]); }, $message);
改为
$message = preg_replace_callback("/(^|>)([^<]+)(?=<|$)/sU", function($matches) use($highlightarray) { return highlight($matches[2], $highlightarray, $matches[1]); }, $message);
$message = preg_replace("/<highlight>(.*)<\/highlight>/siU", "<strong><font color=\"$color\">\\1</font></strong>", $message);
Discuz! System Error
Call to a member function read() on boolean
PHP Debug
No. File Line Code
1 admin.php 57 require()
2 source/admincp/admincp_styles.php 139 break()
CRLF变成了LF,有点不适应了
未登录时无法打开首页,打开一片空白。必须先从后台登陆,才能显示首页。
网址(用手机访问) http://bbs.euyyue.com/
环境 CentOS 7 x64 AMH LAMP php-stable-1.0 (PHP 7.0)
手机版报错 Function name must be a string
网址(用手机访问) http://bbs.euyyue.com/forum.php?mobile=2
环境 CentOS 7 x64 AMH LAMP php-stable-1.0 (PHP 7.0)
使用DIY时 导入DIY文件完成后点击保存 无效 或者说有延迟 需要多导入保存几次才能生效 并有几率假死
环境如下:
系统信息
Discuz! 程序版本 Discuz! X3.2 Release 20150609 查看最新版本 专业支持与服务 Discuz!专用主机
UCenter 客户端版本 UCenter 1.6.0 Release 20141101
服务器系统及 PHP Linux / PHP v7.0.0
服务器软件 nginx/1.9.6
服务器 MySQL 版本 5.5.34-log
上传许可 20M
当前数据库尺寸 5.7 MB
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.