1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

JavaScript console

Discussion in 'Troubleshooting and Problems' started by Lu Jia, Jun 9, 2011.

  1. Lu Jia

    Lu Jia Active Member

    The server responded with an error. The error message is in the JavaScript console.
    Where can I found it?
  2. Luke F

    Luke F Well-Known Member

    If you're using Firefox, ctrl+shift+J
    Lu Jia likes this.
  3. Lu Jia

    Lu Jia Active Member

    Thanks it works on chrome too :)
    Darkimmortal likes this.
  4. SchmitzIT

    SchmitzIT Well-Known Member

    So I see this error when I try out some new functionality. When I check the JS error console, no errors - only warnings.

    Any ideas or thoughts on how I can figure out what is going wrong? I'm currently trying to save a new record.

    Here's the template:

    The action /save goes to the PrefixAdmin class, which in turn bumps it on onto the ControllerAdmi. ActionSave there is defined like so:

        public function actionSave()
            $categoryId = $this->_input->filterSingle('category_id', XenForo_Input::UINT);
            $dwInput = $this->_input->filter(array(
                'category_title' => XenForo_Input::STRING,
                'category_description' => XenForo_Input::STRING,
                'category_sort_order' => XenForo_Input::UINT,
            $dw = XenForo_DataWriter::create('SchmitzIT_Links_DataWriter_Category');
            if ($categoryId)
            return $this->responseRedirect(
    This has been driving me nuts. Any help would be appreciated :)

  5. SchmitzIT

    SchmitzIT Well-Known Member

    I found the cause of the issue for my error. I had been renaming a few objects in my code, and the Controller_Response thus ended up pointing to an admin-link that no longer existed.

Share This Page