请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册

QQ登录

只需一步,快速开始

ECSHOP后台提示 XMlHttpRequest status:[500] Unknow status

偶尔会有客户反馈后台有提示

ECSHOP后台提示 XMlHttpRequest status:[500] Unknow status

ECSHOP后台提示 XMlHttpRequest status:[500] Unknow status
             
          解决办法:
          找到/admin/templates/top.htm 这个文件
          然后删除下面的代码即可:
          <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>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

    热门帖子
  • 精华
  • 新帖
快速回复 返回顶部 返回列表