-
为什么网页上会出现如下代码,求帮助
-
-
首先非常感谢OECMS这个团队,让我这个菜鸟,有机会建成一个网站。真的是非常的感谢你们的无私奉献
我在本地测试,用得xampp构建的环境。发现如下问题,但是我不会解决,求大大的帮助
-
5766 次浏览
11 条评论
收藏
11个评论
-
-
--
2020-12-01 10:00
-
把这个程序删了,从新到网上下一个,然后从新传一次,试试是否还是这样。
-
-
回复 · 0条回复
-
-
-
--
2020-12-01 10:00
-
tpl目录写入权限有吗?
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
版主在么?
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
我检查过了
在oecms文件夹下是有这个文件的啊
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
<!--{if $config.qqstatus==1 && $volist_onlinechat}-->
<script type=\'text/javascript\' src=\'<!--{$skinpath}-->js/online.js\'></script>
<div id=\'floatDivr\' style=\'position: absolute;\' class=\'floatonline_1\'>
<div class=\'scroll_title_1\'><span>在线客服</span><a href=\'#\' title=\'关闭\' onmousedown=\'Mouseclose()\'> </a></div>
<div class=\'online_right_1\'>
<div class=\'online_left_1\'>
<!--{foreach $volist_onlinechat as $volist}-->
<div class=\'scroll_qq_1\'>
<!--{if $volist.ontype==1}-->
<a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=<!--{$volist.number}-->&site=<!--{$value.sitetitle}-->&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:<!--{$volist.number}-->:41\" alt=\"<!--{$value.title}-->\" title=\"<!--{$value.title}-->\"></a>
<!--{else if $volist.ontype==2}-->
<a target=\'_blank\' href=\'http://amos.im.alisoft.com/msg.aw?v=1&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=2&charset=utf-8\' ><img border=\'0\' src=\'http://amos.im.alisoft.com/online.aw?v=2&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=1&charset=utf-8\' alt=\'{$volist.title}\' /></a>
<!--{else if $volist.ontype==3}-->
<a href=\'msnim:chat?contact=<!--{$volist.number}-->\'><img border=\'0\' alt=\'<!--{$volist.title}-->\' src=\'<!--{$skinpath}-->images/qq/msn2.gif\'/></a>
<!--{else}-->
<!--{/if}-->
</div>
<!--{/foreach}-->
</div>
</div><!-- #online_right_1 //-->
<div class=\'scroll_foot1_1\'></div>
<div class=\'scroll_foot2_1\'><!--{$delimit_onlinechat}--></div>
<div class=\'scroll_foot3_1\'></div>
</div><!-- #floatDivr //-->
<script language=JavaScript type=\"text/javascript\">
function Mouseclose(){document.getElementById(\'floatDivr\').style.display=\'none\';}
window.onload = function(){
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\\d.]+)/)) ? Sys.ie = s[1] :
(s = ua.match(/firefox\\/([\\d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome\\/([\\d.]+)/)) ? Sys.chrome = s[1] :
(s = ua.match(/opera.([\\d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version\\/([\\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
if (Sys.ie){
var isIE8=!!document.documentMode;
if(isIE8){
var metfloaty=document.documentElement.clientHeight-28;
}else{
var metfloaty=document.documentElement.clientHeight-10;
}
}else{
var metfloaty=document.documentElement.clientHeight-28;
}
//var floatObj = document.getElementById(\'floatfoot\');
var floatObjr = document.getElementById(\'floatDivr\');
//Floaters.addItem(floatObj,4,metfloaty);
Floaters.addItem(floatObjr,screen.width-180,118);
Floaters.sPlay();
}
</script>
<!--{/if}-->
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
<!--{if $config.qqstatus==1 && $volist_onlinechat}-->
<script type=\'text/javascript\' src=\'<!--{$skinpath}-->js/online.js\'></script>
<div id=\'floatDivr\' style=\'position: absolute;\' class=\'floatonline_1\'>
<div class=\'scroll_title_1\'><span>在线客服</span><a href=\'#\' title=\'关闭\' onmousedown=\'Mouseclose()\'> </a></div>
<div class=\'online_right_1\'>
<div class=\'online_left_1\'>
<!--{foreach $volist_onlinechat as $volist}-->
<div class=\'scroll_qq_1\'>
<!--{if $volist.ontype==1}-->
<a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=<!--{$volist.number}-->&site=<!--{$value.sitetitle}-->&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:<!--{$volist.number}-->:41\" alt=\"<!--{$value.title}-->\" title=\"<!--{$value.title}-->\"></a>
<!--{else if $volist.ontype==2}-->
<a target=\'_blank\' href=\'http://amos.im.alisoft.com/msg.aw?v=1&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=2&charset=utf-8\' ><img border=\'0\' src=\'http://amos.im.alisoft.com/online.aw?v=2&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=1&charset=utf-8\' alt=\'{$volist.title}\' /></a>
<!--{else if $volist.ontype==3}-->
<a href=\'msnim:chat?contact=<!--{$volist.number}-->\'><img border=\'0\' alt=\'<!--{$volist.title}-->\' src=\'<!--{$skinpath}-->images/qq/msn2.gif\'/></a>
<!--{else}-->
<!--{/if}-->
</div>
<!--{/foreach}-->
</div>
</div><!-- #online_right_1 //-->
<div class=\'scroll_foot1_1\'></div>
<div class=\'scroll_foot2_1\'><!--{$delimit_onlinechat}--></div>
<div class=\'scroll_foot3_1\'></div>
</div><!-- #floatDivr //-->
<script language=JavaScript type=\"text/javascript\">
function Mouseclose(){document.getElementById(\'floatDivr\').style.display=\'none\';}
window.onload = function(){
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\\d.]+)/)) ? Sys.ie = s[1] :
(s = ua.match(/firefox\\/([\\d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome\\/([\\d.]+)/)) ? Sys.chrome = s[1] :
(s = ua.match(/opera.([\\d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version\\/([\\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
if (Sys.ie){
var isIE8=!!document.documentMode;
if(isIE8){
var metfloaty=document.documentElement.clientHeight-28;
}else{
var metfloaty=document.documentElement.clientHeight-10;
}
}else{
var metfloaty=document.documentElement.clientHeight-28;
}
//var floatObj = document.getElementById(\'floatfoot\');
var floatObjr = document.getElementById(\'floatDivr\');
//Floaters.addItem(floatObj,4,metfloaty);
Floaters.addItem(floatObjr,screen.width-180,118);
Floaters.sPlay();
}
</script>
<!--{/if}-->
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
已经检查过oecms文件夹下,存在这个文件
我用记事本打开是如下的显示
<!--{if $config.qqstatus==1 && $volist_onlinechat}-->
<script type=\'text/javascript\' src=\'<!--{$skinpath}-->js/online.js\'></script>
<div id=\'floatDivr\' style=\'position: absolute;\' class=\'floatonline_1\'>
<div class=\'scroll_title_1\'><span>在线客服</span><a href=\'#\' title=\'关闭\' onmousedown=\'Mouseclose()\'> </a></div>
<div class=\'online_right_1\'>
<div class=\'online_left_1\'>
<!--{foreach $volist_onlinechat as $volist}-->
<div class=\'scroll_qq_1\'>
<!--{if $volist.ontype==1}-->
<a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=<!--{$volist.number}-->&site=<!--{$value.sitetitle}-->&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:<!--{$volist.number}-->:41\" alt=\"<!--{$value.title}-->\" title=\"<!--{$value.title}-->\"></a>
<!--{else if $volist.ontype==2}-->
<a target=\'_blank\' href=\'http://amos.im.alisoft.com/msg.aw?v=1&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=2&charset=utf-8\' ><img border=\'0\' src=\'http://amos.im.alisoft.com/online.aw?v=2&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=1&charset=utf-8\' alt=\'{$volist.title}\' /></a>
<!--{else if $volist.ontype==3}-->
<a href=\'msnim:chat?contact=<!--{$volist.number}-->\'><img border=\'0\' alt=\'<!--{$volist.title}-->\' src=\'<!--{$skinpath}-->images/qq/msn2.gif\'/></a>
<!--{else}-->
<!--{/if}-->
</div>
<!--{/foreach}-->
</div>
</div><!-- #online_right_1 //-->
<div class=\'scroll_foot1_1\'></div>
<div class=\'scroll_foot2_1\'><!--{$delimit_onlinechat}--></div>
<div class=\'scroll_foot3_1\'></div>
</div><!-- #floatDivr //-->
<script language=JavaScript type=\"text/javascript\">
function Mouseclose(){document.getElementById(\'floatDivr\').style.display=\'none\';}
window.onload = function(){
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\\d.]+)/)) ? Sys.ie = s[1] :
(s = ua.match(/firefox\\/([\\d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome\\/([\\d.]+)/)) ? Sys.chrome = s[1] :
(s = ua.match(/opera.([\\d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version\\/([\\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
if (Sys.ie){
var isIE8=!!document.documentMode;
if(isIE8){
var metfloaty=document.documentElement.clientHeight-28;
}else{
var metfloaty=document.documentElement.clientHeight-10;
}
}else{
var metfloaty=document.documentElement.clientHeight-28;
}
//var floatObj = document.getElementById(\'floatfoot\');
var floatObjr = document.getElementById(\'floatDivr\');
//Floaters.addItem(floatObj,4,metfloaty);
Floaters.addItem(floatObjr,screen.width-180,118);
Floaters.sPlay();
}
</script>
<!--{/if}-->
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
我发的回复为什么显示不了呢??
-
-
回复 · 0条回复
-
-
-
--
楼主 2020-12-01 10:00
-
我去upload/tpl/oecms目录下搜素了下,这个文件是有的。用记事本打开后代码如下
<!--{if $config.qqstatus==1 && $volist_onlinechat}-->
<script type=\'text/javascript\' src=\'<!--{$skinpath}-->js/online.js\'></script>
<div id=\'floatDivr\' style=\'position: absolute;\' class=\'floatonline_1\'>
<div class=\'scroll_title_1\'><span>在线客服</span><a href=\'#\' title=\'关闭\' onmousedown=\'Mouseclose()\'> </a></div>
<div class=\'online_right_1\'>
<div class=\'online_left_1\'>
<!--{foreach $volist_onlinechat as $volist}-->
<div class=\'scroll_qq_1\'>
<!--{if $volist.ontype==1}-->
<a target=\"_blank\" href=\"http://wpa.qq.com/msgrd?v=3&uin=<!--{$volist.number}-->&site=<!--{$value.sitetitle}-->&menu=yes\"><img border=\"0\" src=\"http://wpa.qq.com/pa?p=2:<!--{$volist.number}-->:41\" alt=\"<!--{$value.title}-->\" title=\"<!--{$value.title}-->\"></a>
<!--{else if $volist.ontype==2}-->
<a target=\'_blank\' href=\'http://amos.im.alisoft.com/msg.aw?v=1&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=2&charset=utf-8\' ><img border=\'0\' src=\'http://amos.im.alisoft.com/online.aw?v=2&uid=<!--{$volist.number}-->&site=<!--{$volist.sitetitle}-->&s=1&charset=utf-8\' alt=\'{$volist.title}\' /></a>
<!--{else if $volist.ontype==3}-->
<a href=\'msnim:chat?contact=<!--{$volist.number}-->\'><img border=\'0\' alt=\'<!--{$volist.title}-->\' src=\'<!--{$skinpath}-->images/qq/msn2.gif\'/></a>
<!--{else}-->
<!--{/if}-->
</div>
<!--{/foreach}-->
</div>
</div><!-- #online_right_1 //-->
<div class=\'scroll_foot1_1\'></div>
<div class=\'scroll_foot2_1\'><!--{$delimit_onlinechat}--></div>
<div class=\'scroll_foot3_1\'></div>
</div><!-- #floatDivr //-->
<script language=JavaScript type=\"text/javascript\">
function Mouseclose(){document.getElementById(\'floatDivr\').style.display=\'none\';}
window.onload = function(){
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\\d.]+)/)) ? Sys.ie = s[1] :
(s = ua.match(/firefox\\/([\\d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome\\/([\\d.]+)/)) ? Sys.chrome = s[1] :
(s = ua.match(/opera.([\\d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version\\/([\\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
if (Sys.ie){
var isIE8=!!document.documentMode;
if(isIE8){
var metfloaty=document.documentElement.clientHeight-28;
}else{
var metfloaty=document.documentElement.clientHeight-10;
}
}else{
var metfloaty=document.documentElement.clientHeight-28;
}
//var floatObj = document.getElementById(\'floatfoot\');
var floatObjr = document.getElementById(\'floatDivr\');
//Floaters.addItem(floatObj,4,metfloaty);
Floaters.addItem(floatObjr,screen.width-180,118);
Floaters.sPlay();
}
</script>
<!--{/if}-->
-
-
回复 · 0条回复
-
-
-
--
2020-12-01 10:00
-
模板目录缺少block_onlinechat.tpl文件,请检查是否上传完整。
-
-
回复 · 0条回复
-
-
-
wapsky
官方认证帐号 2020-12-01 10:00
-
模板文件没有上传完整!
请上传完
-
-
回复 · 0条回复
-
作者信息
-
关注
-
试
免费试用
-
咨询热线
-
咨询热线
020-82299 259
-
在线咨询