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

返回的代码
显示的:



<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學習者快速成長!