您现在的位置是:首页 > 教程 > ecshop商城教程ecshop商城教程
ecshop出现XMlHttpRequest status:[500] Unknow status 这个错误
紫南2023-12-21 22:01:03ecshop商城教程已有人查阅
导读/admin/templates/top.htm 的这个文件中{insert_scripts files=”../js/transport.js”}和 之间的代码删除也就是将下面这段代码删除...
/admin/templates/top.htm 的这个文件中{insert_scripts files=”../js/transport.js”}和 </head>之间的代码删除也就是将下面这段代码删除...
<script type=”text/javascript”>
onload = function()
{
Ajax.call(‘index.php?is_ajax=1&act=license’,”, start_sendmail_Response, ‘GET’, ‘JSON’);
}
/**
* 帮助系统调用
*/
function web_address()
{
var ne_add = parent.document.getElementById(‘main-frame’);
var ne_list = ne_add.contentWindow.document.getElementById(’search_id’).innerHTML;
ne_list.replace(‘-’, ”);
var arr = ne_list.split(‘-’);
window.open(‘help.php?al=’+arr[arr.length - 1],’_blank’);
}
/**
* 授权检测回调处理
*/
function start_sendmail_Response(result)
{
// 运行正常
if (result.error == 0)
{
var str = ”;
if (result['content']['auth_str'])
{
str = ‘<a href=”javascript:void(0);” target=”_blank”>’ + result['content']['auth_str'];
if (result['content']['auth_type'])
{
str += ‘[' + result['content']['auth_type'] + ‘]’;
}
str += ‘</a> ‘;
}
document.getElementById(‘license-div’).innerHTML = str;
}
}
function modalDialog(url, name, width, height)
{
if (width == undefined)
{
width = 400;
}
if (height == undefined)
{
height = 300;
}
if (window.showModalDialog)
{
window.showModalDialog(url, name, ‘dialogWidth=’ + (width) + ‘px; dialogHeight=’ + (height+5) + ‘px; status=off’);
}
else
{
x = (window.screen.width - width) / 2;
y = (window.screen.height - height) / 2;
window.open(url, name, ‘height=’+height+’, width=’+width+’, left=’+x+’, top=’+y+’, toolbar=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, modal=yes’);
}
}
function ShowToDoList()
{
try
{
var mainFrame = window.top.frames['main-frame'];
mainFrame.window.showTodoList(adminId);
}
catch (ex)
{
}
}
{/literal}
var adminId = “{$admin_id}”;
</script>
本文标签:
很赞哦! ()
相关文章
随机图文
-
ecshop商城任意页面添加调用显示文章代码实例
代码号讲解下在ECSHOP商城任意页面调用显示文章的方法教程。比如我想在首页添加文章显示,那就打开index.php首页文件,不同页面不同php文件 -
ecshop5.3/5.4环境lib_base.php on line 346解决方法
然后删除工程目录下的temp文件夹,重新拷贝一份原始的temp文件夹进来,再访问首页,就会发现一切正常了!lib_base.php on line 346解决方法这个错误的的处理是修改文件: -
ecshop商品页怎么显示品牌LOGO
问:ecshop商品详细页面的商品品牌默认是以文字形式显示的,能否改成以LOGO形式显示。答:当然可以,下面看教程。 -
ecshop的qq客服无法发起临时会话解决方法
ECHSOP qq客服无法发起临时会话解决方法:抱歉,无法发起临时会话,您可以添加对方为好友以发送消息把QQ客服在线聊天代码改成:
留言与评论 (共有 条评论) |