搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

my symfony website when i open in firfox textbox typing not proper working how to fix this issue?

  • 3 回覆
  • 1 有這個問題
  • 11 次檢視
  • 最近回覆由 user1929

more options

Hello,

My website : js-dev.carpediemqm-dev.fr login with : xyz@gmail.com pass: aaa

after login in it will redirect to jobarea, in top menu you find profile click on that menu and try to enter any thing in text box .

Hello, My website : js-dev.carpediemqm-dev.fr login with : xyz@gmail.com pass: aaa after login in it will redirect to jobarea, in top menu you find profile click on that menu and try to enter any thing in text box .
附加的畫面擷圖

由 nirav21189 於 修改

所有回覆 (3)

more options

I tried your link and I got;

The owner of js-dev.carpediemqm-dev.fr has configured their website improperly.

more options

FredMcD said

I tried your link and I got; The owner of js-dev.carpediemqm-dev.fr has configured their website improperly.

This site is working perfectly https://js-dev.carpediemqm-dev.fr/ if it ask for advance mode do it and login by given login detail. Thanks

more options

Hi,

When I type in the text box you mentioned, I can enter characters, but the page sometimes freezes for long periods of time. Is that what you're seeing?

The reason the page is freezing is because of this code:

    (function activityLog() {   
        var url = '/en/en-check-inactive-loggedin-user'
        var userid =79
        $.ajax({
            url: url,
            type: 'POST',
            async:false,
            data: {userid: userid},
            success: function (data) {
                obj = JSON.parse(data);
                if (obj.success == true) {
                    $('#online_status').html('');
                    $('#user_offline').addClass('active');
                    $('#user_online').removeClass('active');
                }
                if (obj.success == false) {
                   
                }
            },
            complete: function () {
                setTimeout(activityLog, 1000);
            }
        });
    })();

Every one second, you're calling the activityLog() function, which sends an AJAX request to your server. The problem is that you have "async: false" set, which will make the request synchronous. This means that the page will completely freeze from the time you call this function to whenever your server returns a response, which can be several seconds long (and this isn't a Firefox issue, you can see the same thing in other browsers). To fix this, you would need to make the request asynchronous, so that the request can happen in the background without freezing the page.

BTW, I left your site open for a couple of minutes, and noticed that your site is sending several requests a second to your server for as long as your page is open, which I'm guessing isn't the intended behavior and which wil make your server pretty slow. You might want to look into reducing the frequency of some of these calls.