9.6.1版本的文件无法上传BUG
BUG重现
1、选择文件(似乎获取不到路径)
2、点击上传后,编辑器空白,获取不到文件。
3、查看了文件上传目录,有文件了,似乎是获取不到文件?还是解析不到?
操作系统:macOS High Sierra
操作浏览器:Chrome(在Safari下正常)
然后去Windows 10系统下操作测试,Chrome,Firefox,EDGE都挂了,无法获取。。
<?php
die();
?>
12:37:10 Uncaught PDOException: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'zt_action' already exists in module/install/model.php:445
Stack trace:
#0 module/install/model.php(445): PDO->query('CREATE TABLE IF...')
#1 module/install/model.php(311): installModel->createTable('5.5')
#2 module/install/control.php(119): installModel->checkConfig()
#3 framework/base/router.class.php(1691): install->step3()
#4 www/install.php(36): baseRouter->loadModule()
#5 {main}
thrown in module/install/model.php on line 445 when visiting /install.php?m=install&f=step3
17:09:20 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting my
17:09:20 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting block-printBlock-5-my
17:09:20 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting block-printBlock-3-my
17:09:21 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting block-printBlock-6-my
17:09:21 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting block-printBlock-9-my
17:09:21 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting block-printBlock-2-my
17:09:21 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting block-printBlock-8-my
17:09:23 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting story-view-1873
17:09:41 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting file-ajaxUpload-5a0ea74309c13
17:09:41 Use of undefined constant ture - assumed 'ture' in config/my.php on line 3 when visiting file-read-5381
<?php
$config->installed = true;
$config->debug = ture;
$config->requestType = 'PATH_INFO';
$config->db->host = 'localhost';
$config->db->port = '3306';
$config->db->name = '*******';
$config->db->user = 'root';
$config->db->password = 'qwe!@#';
$config->db->prefix = 'zt_';
$config->webRoot = getWebRoot();
$config->default->lang = 'zh-cn';
截图中上传的是PDF格式文件。试一下上传图片格式文件可以正常显示图片吗?
全部都不行的。