Year: 2012
ixwebhosting安装shopex在ready页面停止出现500 Internal server errorixwebhosting install shopex stop at ready page shows 500 Internal server error
- by chenxue4076
- 13 years ago
我看到网上很多人在使用shopex安装商城时出现在step=ready时停止,我也遇到了这个问题,查看状态是看到500 Internal server error . 先说说在ixwebhosting提供的主机上解决方法, 使用tools中的 File Manager 进入 文件管理页面,点击页面底部的 WGET, 在上面选择文件的放置路径,下面输入 shopex 的真实下载地址, 点击get, 就可以把shopex直接下载到网站上,在点击这个压缩文件,右边使用解压缩,使用这种方式将shopex的代码放置在网站上, 在进入安装步骤 就可以成功了,我是这样安装成功的, 在说说使用ftp上传的方式吧,只能是猜想,可能是因为上传编码的问题,你是不是使用的二进制上传的呢,如果是的,我也希望了解你们是如何安装成功的,留下你的方法吧。I saw a lot of people cannot install successful and stop at “strp=ready” page, when to install shopex. I have this problem too, and it shows 500 Internal server error . when debug it. let me show you the solution on ixwebhosting: use “tools” -> File Manager ,click WGET on the buttom of page,and select a path to store shopex zip file. and input the real path of shopex,and click get. and it will download shopex to your web site. unzip it. and install step by step,it will be installed successfull. If you use ftp to upload shopex file, I suggest you upload it by ASCII . Holp it can help you. (4521)
查看全文javascript(js)定义二维(多维)数组 在静态页面html(htm)中的数据设置与使用Javascript(js) Define Two-dimensional(Multi-dimensional) Array Set and Use On html(htm) Page
- by chenxue4076
- 13 years ago
有的时候我们做静态页面需要设置数据,但又希望能够简单配置就可以,这个时候使用js数组来实现数据保存是最容易的事情了,下面简单举个例子来说明解决方法。 js 二维数组代码 var datalist = array(); datalist[0] = array(‘这里是数据1标题’,’这里是数据1的内容’,’数据1的作者’); datalist[1] = array(‘这里是数据2标题’,’这里是数据2的内容’,’数据2的作者’); 使用的时候可以直接使用 datalist[0][0]这样,也可以设置循环 使用js实现循环 var datanum = datalist.length; for(var i=0;i<datanum;i++){ document.write(‘ 标题:’+datalist[i][0]+’; 数据:’+datalist[i][1]+’;作者:’+datalist[i][2]+’ ‘); } 上面的数组是经过验证正确的使用方法 . 今天新增一个以对象方式添加的js 数组。看下面例子 var flashList = [ {“id”: 1, “showName”: “Publish Chat”, “flashName”: “videos/publish-chat.swf”, “pictureName”: “publish-chat-bg”}, {“id”: 2, “showName”: “General Features”, “flashName”: “videos/main-feature.swf”, “pictureName”: “features-bg”}, ]; for(var id in flashList) { alert(flashList[id].id); alert(flashList[id].showName); } 后面的这种方式 是我推荐使用的方式,没办法,工作需要。原文转至这里。 Sometimes we need set data on html page ,and hope it simple, use js is the simplest way. look this. js Two-dimensional array code var datalist = array(); datalist[0] = array(‘title 1′,’data 1′,’author 1’); datalist[1] = array(‘title 2′,’data 2′,’author 2’); you can use datalist[0][0] ,and alse use a loop use js to loop var datanum = datalist.length; for(var i=0;i<datanum;i++){ document.write(‘ Title:’+datalist[i][0]+’; Data:’+datalist[i][1]+’; Author:’+datalist[i][2]+’ ‘); } it validate right to use. Another way to add js array as an Object. Look this. var flashList = [ {“id”: 1, “showName”: “Publish Chat”, “flashName”: “videos/publish-chat.swf”, “pictureName”: “publish-chat-bg”}, {“id”: 2, “showName”: “General Features”, “flashName”: “videos/main-feature.swf”, “pictureName”: “features-bg”}, ]; for(var id in flashList) { alert(flashList[id].id); alert(flashList[id].showName); } This way I suggest everyone to use. However Work needs. Text has been transferred to here. (664)
查看全文