已解决 单页添加成功后,编辑无法保存

如题,版本7.4.1,求解,谢谢了!

设置备注
答案列表
2018/11/08

可以发一下访问网址,具体问题可以加一下本网页最上方的QQ,会邀请加入蝉知官方QQ群中交流一下。

2018/11/08
在本地环境,没放到公网。能告诉我怎么看错误日志吗?我可以自己先分析下。。。
2018/11/08
chanzhi(eps)\system\config\my.php中 debug值改成 2,重新操作一下,看一下 chanzhi(eps)\system\tmp\log\php开头的文件有什么记录。
2018/11/08
点击编辑的报错日志:
---------------------------------------------------------------------------------------------------------------------------

16:19:18 Undefined property: stdClass::$link in D:\Apache24\htdocs\chanzhi\system\module\article\view\edit.html.php on line 89 when visiting /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page

16:19:18 Undefined property: stdClass::$addedDate in D:\Apache24\htdocs\chanzhi\system\module\article\view\edit.html.php on line 129 when visiting /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page

16:19:18 Undefined property: stdClass::$placeholder in D:\Apache24\htdocs\chanzhi\system\module\article\ext\view\edit.attributes.html.hook.php on line 24 when visiting /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page

16:19:18 Trying to get property 'label' of non-object in D:\Apache24\htdocs\chanzhi\system\module\article\ext\view\edit.attributes.html.hook.php on line 24 when visiting /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page

16:19:18 Undefined property: stdClass::$placeholder in D:\Apache24\htdocs\chanzhi\system\module\article\ext\view\edit.attributes.html.hook.php on line 27 when visiting /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page

16:19:18 Trying to get property 'value' of non-object in D:\Apache24\htdocs\chanzhi\system\module\article\ext\view\edit.attributes.html.hook.php on line 27 when visiting /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page

SQL日志
-------------------------------------------------------------------------------------
20181108 16:19:18: /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page
SELECT * FROM taihe_config WHERE owner IN ('system','taihe') AND taihe_config.lang in('zh-cn', 'all') ORDER BY `id`
SELECT *, id as category FROM taihe_category WHERE type IN ('article','video','product','blog','forum','usercase') AND taihe_category.lang in('zh-cn', 'all')
SELECT * FROM taihe_article WHERE id = '13' AND taihe_article.lang in('zh-cn', 'all')
SELECT t2.name,t2.id,t2.alias,t2.path FROM taihe_relation AS t1 LEFT JOIN taihe_category AS t2 ON t1.category = t2.id WHERE t1.type = 'page' AND t1.id = '13' AND t1.lang in('zh-cn', 'all')
SELECT * FROM taihe_file WHERE objectType = 'page' AND objectID IN ('13') ORDER BY `order`,`editor` desc
SELECT * FROM taihe_article_custom WHERE article = '13' AND taihe_article_custom.lang in('zh-cn', 'all') ORDER BY `order`
SELECT * FROM taihe_category WHERE type = 'page' AND taihe_category.lang in('zh-cn', 'all') ORDER BY `grade` desc,`order`
SELECT * FROM taihe_article_custom WHERE article = '13' AND taihe_article_custom.lang in('zh-cn', 'all') ORDER BY `order`

点击保存的日志(SQL,没有错误日志,页面没有反应)
------------------------------------------------------------------------------------------
20181108 16:20:55: /chanzhi/sysadmin.php?m=article&f=edit&articleID=13&type=page
SELECT * FROM taihe_config WHERE owner IN ('system','taihe') AND taihe_config.lang in('zh-cn', 'all') ORDER BY `id`
SELECT *, id as category FROM taihe_category WHERE type IN ('article','video','product','blog','forum','usercase') AND taihe_category.lang in('zh-cn', 'all')
SELECT * FROM taihe_article WHERE id = '13' AND taihe_article.lang in('zh-cn', 'all')
SELECT t2.name,t2.id,t2.alias,t2.path FROM taihe_relation AS t1 LEFT JOIN taihe_category AS t2 ON t1.category = t2.id WHERE t1.type = 'page' AND t1.id = '13' AND t1.lang in('zh-cn', 'all')
SELECT * FROM taihe_file WHERE objectType = 'page' AND objectID IN ('13') ORDER BY `order`,`editor` desc
SELECT * FROM taihe_article_custom WHERE article = '13' AND taihe_article_custom.lang in('zh-cn', 'all') ORDER BY `order`
SELECT * FROM taihe_category WHERE type = 'page' AND taihe_category.lang in('zh-cn', 'all') ORDER BY `grade` desc,`order`
SELECT * FROM taihe_article WHERE id = '13' AND taihe_article.lang in('zh-cn', 'all')
SELECT *, length(tag) as length FROM taihe_tag WHERE link != '' AND taihe_tag.lang in('zh-cn', 'all') ORDER BY `length` desc
SELECT t2.name,t2.id,t2.alias,t2.path FROM taihe_relation AS t1 LEFT JOIN taihe_category AS t2 ON t1.category = t2.id WHERE t1.type = 'page' AND t1.id = '13' AND t1.lang in('zh-cn', 'all')
SELECT * FROM taihe_file WHERE objectType = 'page' AND objectID IN ('13') ORDER BY `order`,`editor` desc
SELECT * FROM taihe_article_custom WHERE article = '13' AND taihe_article_custom.lang in('zh-cn', 'all') ORDER BY `order`
REPLACE taihe_config SET `owner` = 'system',`module` = 'common',`section` = 'site',`key` = 'updatedTime',`value` = '1541665255',`lang` = 'all'
------------------------------------------------------------------------------
不知以上是否能看出问题?谢谢
2018/11/12
检查一下 D:\Apache24\htdocs\chanzhi\system\module\article\ext\view\edit.attributes.html.hook.php 这个文件,这个是贵公司自己开发的吗?
2019/03/11
蝉知原版安装包,原代码和文件未做任何更改?这个文件不是官方的?
2019/03/11
对了安装过跑马灯免费插件,能是这个导致的吗?但插件也是官网下载的
2019/03/11
但是发布到正式环境的Linux服务器,这个问题就没有了,奇怪。
2019/03/15
导入特效,可以参考:https://www.chanzhi.org/book/chanzhieps/effect-202.html