Jump to content
[MUST READ] Forum Rules ×

help me please , i download my site files, all working well, but when a authorize on my site Ajax not find the handler, I have tried to specify the paths differently (with and without the domain), but still can not find it. on other hostings everyth


grooddy

Recommended Posts

help me please , i download my site files, all working well, but when a authorize on my site  Ajax not find the handler, I have tried to specify the paths differently (with and without the domain), but still can not find it. on other hostings everything worked wonderfully, what could be problematic? Thanks

Link to comment
Share on other sites

8 minutes ago, Aqib said:

No, it`s no working , i have this file in my root , and i don`t have conflicts on GET url`s. my JS using POST in addition


    if (send_login == 'yes' && send_pass == 'yes') {
        $("#button-auth").hide();
        $(".auth-loading").show();
            $.ajax({
                type: "POST",
                url: "/includes/auth.php",
                data: "login="+auth_login+"&pass="+auth_pass+"&rememberme="+auth_rememberme,
                dataType: "html",
                cache: false,
                success:function(data){
                    if (data == 'yes_auth') {
                        location.reload();
                    }else{
                        $("#message-auth").slideDown(400);
                        $(".auth-loading").hide();
                        $("#button-auth").show();
                    }
                }
            });
    }
result - .auth-loading is show , but creating error in console :
Failed to load resource: the server responded with a status of 403 (Forbidden)          /includes/auth.php 



 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...