9.6.1版本的文件无法上传BUG

回贴
回帖数 11
阅读数 5926
发表时间 2017-11-17 15:28:00
🦊
jack 楼主

BUG重现

1、选择文件(似乎获取不到路径)

2、点击上传后,编辑器空白,获取不到文件。

3、查看了文件上传目录,有文件了,似乎是获取不到文件?还是解析不到?


操作系统:macOS High Sierra
操作浏览器:Chrome(在Safari下正常)

然后去Windows 10系统下操作测试,Chrome,Firefox,EDGE都挂了,无法获取。。

10个回复
禅道-Bee 沙发
zentao(pro/pms)/config/my.php 中debug的值改成true  重新操作一下 看日志文件 zentao(pms/pro)/tmp/log/php开头的今天的文件有什么报错
2017-11-17 16:33:45 禅道-李锡碧 回帖
🦊
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&amp;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

2017-11-17 17:10:44 jack 回帖
禅道-Bee #3 回复#2
截图看下 zentao/config/my.php文件内容。
2017-11-17 17:54:17 禅道-李锡碧 回帖
🦊
jack #4

<?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';

2017-11-17 18:14:03 jack 回帖
禅道-Bee #5 回复#4
禅道的数据库的名称是 '*******' ?
2017-11-20 09:14:32 禅道-李锡碧 回帖
🦊
jack #6
数据库名称我隐藏了。。
2017-11-21 10:38:46 jack 回帖
🚢
王林 #7

截图中上传的是PDF格式文件。试一下上传图片格式文件可以正常显示图片吗?

2017-11-21 17:43:34 石洋洋 最后编辑 2017-11-21 17:43:34 王林 回帖
🦊
jack #8

全部都不行的。

2017-11-21 14:32:35 jack 回帖
石洋洋 #9
php日志有什么新的对应的记录吗?
2017-11-21 17:45:00 石洋洋 回帖
🦊
jack #10
只能选择降回9.2.1先用了,唉。
2017-11-22 10:05:52 jack 回帖
联系人
杨苗/高级客户经理
电话(微信)
13165050229
QQ号码
2692096539
联系邮箱
yangmiao@chandao.com
返回顶部
杨苗
高级客户经理
13165050229
2692096539
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。