Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6093423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:33:29+00:00 2026-05-23T12:33:29+00:00

This is weird. Only on mobile safari, and since last night this script…. function

  • 0

This is weird.

Only on mobile safari, and since last night this script….

 function login(login) 
{
        scrollTo(0,0);      
        var persistent = 'false'
            if ($('#persistent').is(':checked')){persistent = 'true';}
            if ($('#loginMsg').is(":visible")) {$('#loginMsg').hide();}
            var password = $('#password').val(); 
            var email = $('#email').val();
    $.ajax({
        type: "POST",
        url: "rpc.php",
        data: { id: email, value: password, persistent: persistent, method: "loginM"},      
        dataType: "json",
        timeout: 5000,
        success:    function(data){

        if (data.login=='true')
            {
            $('#pleaseWait').jqmShow(); 
            location.reload(true);
            }           
        else
            {   
            $("#loginMsg").show();
            $("#loginMsg").html(data.status);   
            }   
        },  
        /* error: function() {
        alert('This is taking too long. You could try again now, or wait and try again later.');*/ 

        error:function (xhr, ajaxOptions, thrownError){
                alert(xhr.status);
               alert(xhr.statusText);      
    }
});
}   
  1. alert(XMLHttpRequest.responseText); – returns me the entire script for the page
  2. alert(textStatus); – returns ‘ok’
  3. alert(errorThrown); – returns ‘200’

When I run the script it errors immediately, doesn’t wait 5 seconds. I have quarantined the script so it is by itself so other scripts don’t interfere with it. Cleared the cache on the ipod.

This seems quite a common problem. One solution seems to be rebooting the sever which isn’t an option.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:33:29+00:00Added an answer on May 23, 2026 at 12:33 pm

    The URL is relative. It should be absolute like : http://myserver.com/rpc.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this weird crash that only happens when running the app on the
I have this weird bug, where C++ calls the wrong function: So this bit
I've seen this weird behavior on several sites recently: I scroll down a page
I've got this weird problem - I'm calling ChangeServiceConfig on a newly installed service
I'm experiencing this weird problem which my scrollbar jumps by itself to somewhere that
I got this weird error which mentions I should install VSTS 2008 SP1, during
I got this weird error when I wanted to validate my in-memory xml Schema,
What could possibly cause this weird python behaviour? Python 2.6.2 (r262:71600, May 31 2009,
I have this weird problem with setting up cookies with PHP. Everything worked fine
Today, I ran into this weird problem with a user using Mac OS X.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.