How to stop page redirect for sql errors? - Joomla! Forum - community, help and support


in pre 30 joomla versions if after query

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support