您现在的位置是:首页 > cms教程 > Ecshop商城教程Ecshop商城教程
ecshop出现XMlHttpRequest status:[500] Unknow status 这个错误
紫南2023-12-21Ecshop商城教程已有人查阅
导读/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出现Strict Standards: Only variables should be passed
- 安装ecshop出现相关问题的解决方法
- ecshop出现transport.js与jQuery冲突不加载js的解决方法
- ecshop出现transport和jquery冲突的解决方法实例
- ecshop出现Call to undefined function insert_ads()的解决方法
- ecshop出现Deprecated: preg_replace()报错的解决方法
- ecshop出现Warning: chmod() has been disabled for security reasons in解决方法
- ecshop出现shop_config错误的解决方法
- ecshop出现XMlHttpRequest status:[500] Unknow status解决方法
图文教程
ecshop中英文繁体字多国语言互相切换
步骤一: 找到includes/init.php 文件;第二步:找到281行代码:第三步:我们开始修改主题下的默认模板文件:/themes/default/library/page_header.lbi
ecshop模板机制原理和数据处理介绍
一、模板引擎:ECshop给我的第一印象是用的smarty模板引擎,可是很快就发现有些不一样,使用smarty模板引擎的系统通常会至少会包括smarty的核心文件:smarty.class.php、smarty_Co
ecshop在线调查,ecshop会员访问在线调查
ECSHOP在线调查。进入网店后台,点击左侧导航栏中的文章管理 -> 在线调查。一 调查主题:填写调查主题。二 调查选项
ecshop后台通过email搜索用户的功能开发实例
给ecshop后台添加通过email搜索用户的功能,先找到ecshop下两个文件admin/users.php以及admin/templates/users_list.htm
相关源码
-
帝国cms7.5大型游戏资讯门户网站源码免费下载本模板基于帝国CMS7.5内核开发,为大型游戏资讯门户网站设计。模板自带响应式手机版,适配多种终端设备。内容架构针对游戏行业特点优化,支持游戏资讯、评测、攻略等内容类型的发布与管理。查看源码 -
粉色家政月嫂保姆公司pbootcms网站模板(PC+WAP)为家政服务、月嫂保姆企业打造的营销型解决方案,基于PbootCMS内核开发,采用温馨粉色主题传递行业温度。PHP7.0+高性能架构支持SQLite/MySQL双数据库查看源码 -
(PC+WAP)绿色环保建筑设备通用行业pbootcms源码下载通过模块调整可适配园林景观、装配式建筑、绿色装修等生态建设相关领域。预制绿色建材展示、能耗模拟等专业模块,集成项目案例、环保工艺等建筑行业特色内容结构,测试数据包含LEED认证体系查看源码 -
工商注册财务代理记账类自适应pbootcms网站工商注册、财务代理记账企业打造的数字化门户模板,基于PbootCMS内核深度开发。采用前沿响应式架构,无缝适配手机端触控交互与PC端展示需求查看源码 -
(PC+WAP)蓝色钢结构机械五金工程建筑基建营销型pbootcms模板下载于PbootCMS开发的钢结构与工程机械专用模板,助力企业构建专业级产品展示平台;模板内置工程案例展示、产品参数对照表等专业模块,预设项目进度、施工方案等建筑行业专属栏目查看源码 -
(自适应)中英双语配线器材扎带线卡网站pbootcms模板免费下载为线缆管理、电气配线领域打造的响应式网站模板,采用PbootCMS内核开发,可快速搭建企业级产品展示平台,数据实时同步管理。查看源码
| 分享笔记 (共有 篇笔记) |
