|
|
web在线发布模块中,写了一个针对discuz nt的模块;
经测试,可以正常提交到论坛中,但是无法正确分析“成功标志码”
成功标志码中写的是“发表主题成功”,这几个字在源文件中是存在的;
火车提示的是:
发内容--WEB发布错误,返回代码请查看:WebError.log,下面是log里面的文件- <?xml version="1.0" encoding="utf-8"?><root><![CDATA[
- <script type="text/javascript" reload="1">
- var postminchars = parseInt('5');
- var postmaxchars = parseInt('20000');
- var disablepostctrl = parseInt('0');
- var forumpath = "/bbs/";
- var posturl=forumpath+'posttopic.aspx?forumid=13&forumpage=1';
- var postaction='http://localhost:6100/bbs/posttopic.aspx?infloat=1&forumid=13&'
- function closenewthread()
- {
- if($('floatwin_newthread'))
- $('floatwin_newthread').parentNode.removeChild($('floatwin_newthread'));
- if($('floatwin_newthread_mask'))
- $('floatwin_newthread_mask').parentNode.removeChild($('floatwin_newthread_mask'));
- }
- </script>
- <script type="text/javascript">
- $('returnmessage').className='';
- location.href='http://localhost:6100/bbs/showtopic-131.aspx';
- </script>
- ]]></root>
复制代码 而我通过httpwatch查看的结果是,上面这部分代码只是发帖成功的一部分,下面还有一块类似- <div class="msg_inner">
- <p>发表主题成功, 返回该主题</p>
- <p><a href="showtopic-130-1.aspx#133">如果浏览器没有转向, 请点击这里.</a></p>
- </div>
复制代码 |
|