javascript - ajax请求返回除了值外还有表格字符串,请问原因?
ringa_lee
ringa_lee 2017-04-11 09:48:49
0
4
1137

返回的代码
显示的:



<font size='1'><table class='xdebug-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in D:wampwwwGDhebing.php on line 14</th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0006</td><td bgcolor='#eeeeec' align='right'>372112</td><td

ringa_lee
ringa_lee

ringa_lee

全部回复(4)
刘奇

后端返回的就是html吧,不是json数据

PHPzhong

出bug了,有warning提醒。让管后端的检查一下代码。

PHPzhong

服务器返回的不是简单的数据,可能是后端返回的数据有问题

小葫芦

这是因为php运行出错了,错误信息中本身有一些html

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!