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

2024-11-26 264阅读 0评论

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

把/admin/templates/top.htm 这个文件中{insert_scripts files=”../js/transport.js”}和之间的代码删除

也就是将下面这段代码删除...

  1. <script type=”text/javascript”> 
  2. onload = function() 
  3. { 
  4. Ajax.call(‘index.php?is_ajax=1&act=license’,”, start_sendmail_Response, ‘GET’, ‘JSON’); 
  5. } 
  6.  
  7. function web_address() 
  8. { 
  9. var ne_add = parent.document.getElementByIdx_x(‘main-frame’); 
  10. var ne_list = ne_add.contentWindow.document.getElementByIdx_x(’search_id’).innerHTML; 
  11. ne_list.replace(‘-’, ”); 
  12. var arr = ne_list.split(‘-’); 
  13. window.open(‘help.php?al=’+arr[arr.length - 1],’_blank’); 
  14. } 
  15.  
  16.  
  17. function start_sendmail_Response(result) 
  18. { 
  19. // 运行正常 
  20. if (result.error == 0) 
  21. { 
  22. var str = ”; 
  23. if (result['content']['auth_str']) 
  24. { 
  25. str = ‘<a href=”javascript:void(0);” target=”_blank”>’ + result['content']['auth_str']; 
  26. if (result['content']['auth_type']) 
  27. { 
  28. str += ‘[' + result['content']['auth_type'] + ‘]’; 
  29. } 
  30. str += ‘</a> ‘; 
  31. } 
  32.  
  33. document.getElementByIdx_x(‘license-div’).innerHTML = str; 
  34. } 
  35. } 
  36.  
  37. function modalDialog(url, name, width, height) 
  38. { 
  39. if (width == undefined) 
  40. { 
  41. width = 400; 
  42. } 
  43. if (height == undefined) 
  44. { 
  45. height = 300; 
  46. } 
  47.  
  48. if (window.showModalDialog) 
  49. { 
  50. window.showModalDialog(url, name, ‘dialogWidth=’ + (width) + ‘px; dialogHeight=’ + (height+5) + ‘px; status=off’); 
  51. } 
  52. else 
  53. { 
  54. x = (window.screen.width – width) / 2; 
  55. y = (window.screen.height – height) / 2; 
  56.  
  57. 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’); 
  58. } 
  59. } 
  60.  
  61. function ShowToDoList() 
  62. { 
  63. try 
  64. { 
  65. var mainFrame = window.top.frames['main-frame']; 
  66. mainFrame.window.showTodoList(adminId); 
  67. } 
  68. catch (ex) 
  69. { 
  70. } 
  71. } 
  72. {/literal} 
  73.  
  74. var adminId = “{$admin_id}”; 
  75. </script> 
文章版权声明:除非注明,否则均为奥多云原创文章,转载或复制请以超链接形式并注明出处。

发表评论

快捷回复: 表情:
评论列表 (暂无评论,264人围观)

还没有评论,来说两句吧...

取消
微信二维码
微信二维码
支付宝二维码