How to stop page redirect for sql errors? - Joomla! Forum - community, help and support
in pre 30 joomla versions if after query
the response echoed , in joomla 3.0 redirected 404 page , response echoded within message body .
i working on extension gets ajax response json file instantiated joomla , this
http://stackoverflow.com/questions/2445 ... php-script
so json file returns responses based on condition , in 25 returns normal response
but 3.0 redirecting output 404 instead of returning response 25
i posted on dev , bug squad not getting response
code: select all
if ($db->geterrornum()) {
$response = array('error'=>$db->geterrormsg());
echo $response;
}the response echoed , in joomla 3.0 redirected 404 page , response echoded within message body .
i working on extension gets ajax response json file instantiated joomla , this
http://stackoverflow.com/questions/2445 ... php-script
so json file returns responses based on condition , in 25 returns normal response
code: select all
{'error':'error message'}but 3.0 redirecting output 404 instead of returning response 25
i posted on dev , bug squad not getting response
Comments
Post a Comment