9.6.1版本的文件无法上传BUG
jack
|
BUG重现 1、选择文件(似乎获取不到路径)
2、点击上传后,编辑器空白,获取不到文件。
3、查看了文件上传目录,有文件了,似乎是获取不到文件?还是解析不到?
操作系统:macOS High Sierra |
禅道-Bee |
zentao(pro/pms)/config/my.php 中debug的值改成true 重新操作一下 看日志文件 zentao(pms/pro)/tmp/log/php开头的今天的文件有什么报错
|
jack
|
<?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 |
禅道-Bee |
截图看下 zentao/config/my.php文件内容。
|
jack
|
<?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'; |
禅道-Bee |
禅道的数据库的名称是 '*******' ?
|
jack
|
数据库名称我隐藏了。。
|
王林
|
截图中上传的是PDF格式文件。试一下上传图片格式文件可以正常显示图片吗? |
石洋洋 |
php日志有什么新的对应的记录吗?
|
jack
|
只能选择降回9.2.1先用了,唉。
|