求助!~!~!~!~
我配置了一个发布模块在测试发布的时候报这个错,怎么回事发布失败,错误信息:
网页源代码:
<br />
<b>Warning</b>:Invalid argument supplied for foreach() in <b>/www/users/HA38769/admin/goods.php</b> on line <b>537</b><br />
<br />
<b>Warning</b>:copy() [<a href='function.copy'>function.copy</a>]: The first argument to copy() function cannot be a directory in <b>/www/users/HA38769/admin/goods.php</b> on line <b>661</b><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 系统信息 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/transport.js"></script><script type="text/javascript" src="js/common.js"></script><script language="JavaScript">
<!--
// 这里把JS用到的所有语言都赋值到这里
var process_request = "正在处理您的请求...";
var todolist_caption = "记事本";
var todolist_autosave = "自动保存";
var todolist_save = "保存";
var todolist_clear = "清除";
var todolist_confirm_save = "是否将更改保存到记事本?";
var todolist_confirm_clear = "是否清空内容?";
var goods_name_not_null = "商品名称不能为空。";
var goods_cat_not_null = "商品分类必须选择。";
var category_cat_not_null = "分类名称不能为空";
var brand_cat_not_null = "品牌名称不能为空";
var goods_cat_not_leaf = "您选择的商品分类不是底级分类,请选择底级分类。";
var shop_price_not_null = "本店售价不能为空。";
var shop_price_not_number = "本店售价不是数值。";
var select_please = "请选择...";
var button_add = "添加";
var button_del = "删除";
var spec_value_not_null = "规格不能为空";
var spec_price_not_number = "加价不是数字";
var market_price_not_number = "市场价格不是数字";
var goods_number_not_int = "商品库存不是整数";
var warn_number_not_int = "库存警告不是整数";
var promote_not_lt = "促销开始日期不能大于结束日期";
var promote_start_not_null = "促销开始时间不能为空";
var promote_end_not_null = "促销结束时间不能为空";
var drop_img_confirm = "您确实要删除该图片吗?";
var batch_no_on_sale = "您确实要将选定的商品下架吗?";
var batch_trash_confirm = "您确实要把选中的商品放入回收站吗?";
var go_category_page = "本页数据将丢失,确认要去商品分类页添加分类吗?";
var go_brand_page = "本页数据将丢失,确认要去商品品牌页添加品牌吗?";
var volume_num_not_null = "请输入优惠数量";
var volume_num_not_number = "优惠数量不是数字";
var volume_price_not_null = "请输入优惠价格";
var volume_price_not_number = "优惠价格不是数字";
var cancel_color = "无样式";
//-->
</script>
</head>
<body>
<h1>
<span class="action-span1"><a href="index.php?act=main">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 系统信息 </span>
<div style="clear:both"></div>
</h1>
<div class="list-div">
<div style="background:#FFF; padding: 20px 50px; margin: 2px;">
<table align="center" width="400">
<tr>
<td width="50" valign="top">
<img src="images/warning.gif" width="32" height="32" border="0" alt="warning" />
</td>
<td style="font-size: 14px; font-weight: bold">fail to copy file: /www/users/HA38769</td>
</tr>
<tr>
<td></td>
<td id="redirectionMsg">
</td>
</tr>
<tr>
<td></td>
<td>
<ul style="margin:0; padding:0 10px" class="msg-link">
<li><a href="javascript:history.go(-1)" >返回上一页</a></li>
</ul>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
共执行 1 个查询,用时 0.034575 秒,Gzip 已禁用,内存占用 2.554 MB<br />
版权所有 © 2005-2012 上海商派网络科技有限公司,并保留所有权利。</div>
<script type="text/javascript" src="../js/utils.js"></script><!-- 新订单提示信息 -->
<div id="popMsg">
<table cellspacing="0" cellpadding="0" width="100%" bgcolor="#cfdef4" border="0">
<tr>
<td style="color: #0f2c8c" width="30" height="24"></td>
<td style="font-weight: normal; color: #1f336b; padding-top: 4px;padding-left: 4px" valign="center" width="100%"> 新订单通知</td>
<td style="padding-top: 2px;padding-right:2px" valign="center" align="right" width="19"><span title="关闭" style="cursor: hand;cursor:pointer;color:red;font-size:12px;font-weight:bold;margin-right:4px;" onclick="Message.close()" >×</span><!-- <img title=关闭 style="cursor: hand" onclick=closediv() hspace=3 src="msgclose.jpg"> --></td>
</tr>
<tr>
<td style="padding-right: 1px; padding-bottom: 1px" colspan="3" height="70">
<div id="popMsgContent">
<p>您有 <strong style="color:#ff0000" id="spanNewOrder">1</strong> 个新订单以及 <strong style="color:#ff0000" id="spanNewPaid">0</strong> 个新付款的订单</p>
<p align="center" style="word-break:break-all"><a href="order.php?act=list"><span style="color:#ff0000">点击查看新订单</span></a></p>
</div>
</td>
</tr>
</table>
</div>
<!--
<embed src="images/online.wav" width="0" height="0" autostart="false" name="msgBeep" id="msgBeep" enablejavascript="true"/>
-->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" id="msgBeep" width="1" height="1">
<param name="movie" value="images/online.swf">
<param name="quality" value="high">
<embed src="images/online.swf" name="msgBeep" id="msgBeep" quality="high" width="0" height="0" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash">
</embed>
</object>
<script language="JavaScript">
document.onmousemove=function(e)
{
var obj = Utils.srcElement(e);
if (typeof(obj.onclick) == 'function' && obj.onclick.toString().indexOf('listTable.edit') != -1)
{
obj.title = '点击修改内容';
obj.style.cssText = 'background: #278296;';
obj.onmouseout = function(e)
{
this.style.cssText = '';
}
}
else if (typeof(obj.href) != 'undefined' && obj.href.indexOf('listTable.sort') != -1)
{
obj.title = '点击对列表排序';
}
}
<!--
var MyTodolist;
function showTodoList(adminid)
{
if(!MyTodolist)
{
var global = $import("../js/global.js","js");
global.onload = global.onreadystatechange= function()
{
if(this.readyState && this.readyState=="loading")return;
var md5 = $import("js/md5.js","js");
md5.onload = md5.onreadystatechange= function()
{
if(this.readyState && this.readyState=="loading")return;
var todolist = $import("js/todolist.js","js");
todolist.onload = todolist.onreadystatechange = function()
{
if(this.readyState && this.readyState=="loading")return;
MyTodolist = new Todolist();
MyTodolist.show();
}
}
}
}
else
{
if(MyTodolist.visibility)
{
MyTodolist.hide();
}
else
{
MyTodolist.show();
}
}
}
if (Browser.isIE)
{
onscroll = function()
{
//document.getElementById('calculator').style.top = document.body.scrollTop;
document.getElementById('popMsg').style.top = (document.body.scrollTop + document.body.clientHeight - document.getElementById('popMsg').offsetHeight) + "px";
}
}
if (document.getElementById("listDiv"))
{
document.getElementById("listDiv").onmouseover = function(e)
{
obj = Utils.srcElement(e);
if (obj)
{
if (obj.parentNode.tagName.toLowerCase() == "tr") row = obj.parentNode;
else if (obj.parentNode.parentNode.tagName.toLowerCase() == "tr") row = obj.parentNode.parentNode;
else return;
for (i = 0; i < row.cells.length; i++)
{
if (row.cells.tagName != "TH") row.cells.style.backgroundColor = '#F4FAFB';
}
}
}
document.getElementById("listDiv").onmouseout = function(e)
{
obj = Utils.srcElement(e);
if (obj)
{
if (obj.parentNode.tagName.toLowerCase() == "tr") row = obj.parentNode;
else if (obj.parentNode.parentNode.tagName.toLowerCase() == "tr") row = obj.parentNode.parentNode;
else return;
for (i = 0; i < row.cells.length; i++)
{
if (row.cells.tagName != "TH") row.cells.style.backgroundColor = '#FFF';
}
}
}
document.getElementById("listDiv").onclick = function(e)
{
var obj = Utils.srcElement(e);
if (obj.tagName == "INPUT" && obj.type == "checkbox")
{
if (!document.forms['listForm'])
{
return;
}
var nodes = document.forms['listForm'].elements;
var checked = false;
for (i = 0; i < nodes.length; i++)
{
if (nodes.checked)
{
checked = true;
break;
}
}
if(document.getElementById("btnSubmit"))
{
document.getElementById("btnSubmit").disabled = !checked;
}
for (i = 1; i <= 10; i++)
{
if (document.getElementById("btnSubmit" + i))
{
document.getElementById("btnSubmit" + i).disabled = !checked;
}
}
}
}
}
//-->
</script>
</body>
</html>
返回的Header:
HTTP/1.1 200 OK
Date:Thu, 03 Apr 2014 07:29:34 GMT
Server:Apache
X-Powered-By:PHP/5.2.17
Expires:Fri, 14 Mar 1980 20:53:00 GMT
Last-Modified:Thu, 03 Apr 2014 07:29:34 GMT
Cache-Control:no-cache, must-revalidate
Pragma:no-cache
Vary:Accept-Encoding
Content-Encoding:gzip
Content-Length:3679
Content-Type:text/html; charset=utf-8
这种应该是发布接口的问题 这个接口我配置之前都发布成功了的,不小的怎么的第二天用就不行了
页:
[1]