douxing1969 2013-09-17 07:32
浏览 56
已采纳

$ .AJAX.error l c.fireWith T r错误? 这是什么?

This answer says it occurs when it sends twice.

Mine activates when a user changes the value in a selection box, so this isn't my problem.

Here is my previous question which shows my code and a few screenshots of the errors.

I couldn't get the 500 (Internal server error) working, hopefully solving the ajax problem first will help sort it out.

The full error from the console:

error                                                  admin-add-module:128
    $.ajax.error                                       admin-add-module:128
    l                                                  jquery-1.8.3.min.js:2
    c.fireWith                                         jquery-1.8.3.min.js:2
    T                                                  jquery-1.8.3.min.js:2
    r                                                  jquery-1.8.3.min.js:2

After changing JQuery to the full version it output this error:

enter image description here

  • 写回答

1条回答 默认 最新

  • dtnpzghys01643322 2013-09-17 08:58
    关注

    I got rid of the 500 internet server error. I wasn't parsing through the link.

    $app->post('/admin-get-add-module', function () use($app,$link){ <<<<<<<<LINK HERE
        $req = $app->request();
        $stackid = $_POST['stackid'];
        $myStacks = filterStacks($app);
        $app->view()->appendData(array("username" => getUsername($app)));
        $sql = $link->prepare("select * from evironments where StackID=?");
        error_log(var_export($sql,true));
        $sql->bind_param("i", $stackid);
    })->name('admin-get-add-module');
    

    It still doesn't work though here is a link to the sql / ajax problem

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 一道python难题
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度