3个不同版本的火车头,只有一个版本能够获取列表,其他的都报错:格式不对
我有2个不同版本的火车头:2010sp3和3.2SP5但是在设置发布模块的时候,只有一个版本3.2SP5能够获取列表,并且只有在3.2SP5这个版本能够采集、发布成功。其他的在获取列表的时候都报错:格式不对
请问这是什么原因。很郁闷,因为新版本好多功能都与我无缘了 应该是你那个发布模块的问题。你修正一下就行的。新版的功能当然比旧的多多了 编辑发布模块时,那里有个测试功能。你先测试一下,发布成功的话应该会返回成功信息,不能发布成功的话同样会返回信息,然后看看提示什么,据各网站不同! 首先谢谢楼上2位大大热情解答,但是我用的是官网发布的dede5.7最新发布模块,用旧版本的可以获取列表并且发布,为什么新版本的反而不行了呢?
在这贴出软件模拟登录返回数据:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>织梦内容管理系统 V57_UTF8</title>
<link href="css/base.css" rel="stylesheet" type="text/css" />
<link href="css/login.css" rel="stylesheet" type="text/css" />
<script src="../include/js/jquery/jquery.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
$ = jQuery;
function changeAuthCode() {
var num = new Date().getTime();
var rand = Math.round(Math.random() * 10000);
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")) {
$("#vdimgck").src = "../include/vdimgck.php?tag=" + num;
}
return false;
}
</script>
</head>
<body>
<div id="login-box">
<div class="login-top"><a href="../index.php" target="_blank" title="返回网站主页">返回网站主页</a></div>
<div class="login-main">
<form name="form1" method="post" action="login.php">
<input type="hidden" name="gotopage" value="/frc52sty/article_add.php" />
<input type="hidden" name="dopost" value="login" />
<input name='adminstyle' type='hidden' value='newdedecms' />
<dl>
<dt>用户名:</dt>
<dd><input type="text" name="userid"/></dd>
<dt>密 码:</dt>
<dd><input type="password" class="alltxt" name="pwd"/></dd>
<dt> </dt>
<dd><button type="submit" name="sm1" class="login-btn" onclick="this.form.submit();">登录</button></dd>
</dl>
</form>
</div>
<div class="login-power">Powered by<a href="http://www.dedecms.com" title="DedeCMS官网"><strong>DedeCMSV57_UTF8</strong></a>© 2004-2011 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.</div>
</div>
<div class="dede-iframe"><iframe name="loginad" src="login.php?dopost=showad" frameborder="0" id="loginad" scrolling="no" marginwidth="0" marginheight="0" width="100%"></iframe></div>
</body>
</html>
文章发布测试返回的结果是:
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>织梦内容管理系统 V57_UTF8</title>
<link href="css/base.css" rel="stylesheet" type="text/css" />
<link href="css/login.css" rel="stylesheet" type="text/css" />
<script src="../include/js/jquery/jquery.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
$ = jQuery;
function changeAuthCode() {
var num = new Date().getTime();
var rand = Math.round(Math.random() * 10000);
num = num + rand;
$('#ver_code').css('visibility','visible');
if ($("#vdimgck")) {
$("#vdimgck").src = "../include/vdimgck.php?tag=" + num;
}
return false;
}
</script>
</head>
<body>
<div id="login-box">
<div class="login-top"><a href="../index.php" target="_blank" title="返回网站主页">返回网站主页</a></div>
<div class="login-main">
<form name="form1" method="post" action="login.php">
<input type="hidden" name="gotopage" value="/frc52sty/article_add.php" />
<input type="hidden" name="dopost" value="login" />
<input name='adminstyle' type='hidden' value='newdedecms' />
<dl>
<dt>用户名:</dt>
<dd><input type="text" name="userid"/></dd>
<dt>密 码:</dt>
<dd><input type="password" class="alltxt" name="pwd"/></dd>
<dt> </dt>
<dd><button type="submit" name="sm1" class="login-btn" onclick="this.form.submit();">登录</button></dd>
</dl>
</form>
</div>
<div class="login-power">Powered by<a href="http://www.dedecms.com" title="DedeCMS官网"><strong>DedeCMSV57_UTF8</strong></a>© 2004-2011 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.</div>
</div>
<div class="dede-iframe"><iframe name="loginad" src="login.php?dopost=showad" frameborder="0" id="loginad" scrolling="no" marginwidth="0" marginheight="0" width="100%"></iframe></div>
</body>
</html> 没有登陆成功呀.COOKIE不行? 我请朋友来帮解决了,是post抓包问题,在发布模块里面要设置一下抓包就可以了。
页:
[1]