Gabriel(楼主) 1

iPHP Error: 找不到标签:

用的是最新版本
代码没有修改过
编辑器里音乐和视频都报错

iPHP Error: 找不到标签: tkey:admincp/ui/ueditor/dialogs/video/video(30003)
[0] in function iPHP::error_handler
[1] in function trigger_error in iPHP://iPHP/iPHP.class.php on line 473
[2] in function iPHP::error_throw in iPHP://iPHP/iPHP.class.php on line 476
[3] in function iPHP::error_404 in iPHP://app/tag/tag.app.php on line 41
[4] in function tagApp->tag in iPHP://app/tag/tag.app.php on line 32
[5] in function tagApp->do_iCMS in iPHP://iPHP/iPHP.class.php on line 208
[6] in function iPHP::run in iPHP://core/iCMS.class.php on line 68
[7] in function iCMS::run in iPHP://tag.php on line 11

发布于 2017-10-29 01:13 0 回复 举报
iCMSdev 2

如果程序安装在网站根目录的话
由于后台编辑器上的链接分别为
/app/admincp/ui/ueditor/dialogs/image/image.html
/app/admincp/ui/ueditor/dialogs/video/video.html
会被上面的标签伪静态规则匹配到,造成显示404或者显示找不到该标签
那么就将标签的伪静态规则改成如下

rewrite "^/(?!app/admincp).+/([\w\-]+).html$" /tag.php?tkey=$1 last;
rewrite "^/(?!app/admincp).+/([\w\-]+)_(\d+).html$" /tag.php?tkey=$1&page=$2 last;

具体查看
https://www.icmsdev.com/docs/app-rewrite-example.html
说明

发布于 2017-10-29 09:11 0 回复 举报
验证码 换一张
取 消