ECSHOP 出现 XMlHttpRequest status:[500] Unknow status 的解决方法

ECSHOP教程 来源: ecshop插件网www.ecshop520.com 时间:2012-07-10 ECSHOP教程分类:其他ECSHOP教程

ECSHOP 出现 XMlHttpRequest status:[500] Unknow status 这个错误

 

我们怎么解决呢?

我们可以把/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.getElementByIdx_x(‘main-frame’);
var ne_list = ne_add.contentWindow.document.getElementByIdx_x(’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.getElementByIdx_x(‘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插件网官网http://www.ecshop520.com/jiaocheng-757.html

ECSHOP插件网
ecshop开发团队 ecshop开发中心 ecshop模板制作 ecshop插件网简介
ECSHOP
ecshop下载 ecshop安装教程 ecshop在线演示 ecshop后台测试
ECSHOP二次开发手册
ecshop教程 ecshop二次开发 ecshop模板教程 ecshop微信配置
ECSHOP商城网站建设
ecshop空间域名 ecshop商城建设 ecshop模板修改 ecshop开发定制
联系我们 ECShop插件下载
ECShop二次开发
ecshop搭建

ICP备案证书号:闽ICP备19017195号-2

qq code back_top
温馨提示

确定取消
温馨提示

关闭