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 6351573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:02:03+00:00 2026-05-24T22:02:03+00:00

So this was working up until I made one change, and now it’s only

  • 0

So this was working up until I made one change, and now it’s only working when I access the mobile version of the site through Chrome, but not on any mobile devices anymore. Weird thing is, since it works through the Chrome browser, I can’t actually replicate the issue. This is my AJAX call:

Ext.Ajax.request({
                            url: '/Home/PostMessage',
                            // url to post msg..
                            method: 'POST',
                            params: {
                                message: Ext.getCmp('msgText').getValue(),
                                lat: initialLocation.lat(),
                                lng: initialLocation.lng(),
                                loc: loc,
                                name: '',
                                parentId: 0,
                                FBId: 0
                            },
                            success: function() {
                                //Ext.getCmp('post-bar').hide({type: 'pop'});
                                Ext.getCmp('post-bar').hide();
                                setTimeout(function() {
                                    Ext.getCmp('posts-tab').doComponentLayout();
                                },
                                300);
                                jabsy.stores.Listpost.load();
                            },
                            failure: function() {
                                navigator.notification.alert('Could not post your message', // message
                                'Server Error!', // title
                                'OK' // buttonName
                                );
                            }
                        });

The only thing that I added was the addition FBId parameter to the post params. The action method that gets the params looks like this:

public ActionResult PostMessage(double? lat, double? lng, string message, string loc, string name, int parentId, int FBId)
        {
            var match = Regex.Match(message, @"^\s*(.)(?:\1|\s)*$");
            string ip = string.IsNullOrWhiteSpace(Request.ServerVariables["REMOTE_ADDR"].ToString()) ? "" : Request.ServerVariables["REMOTE_ADDR"];
            if (lat.HasValue && lng.HasValue && (message.Length <= 100) && !match.Success && !string.IsNullOrWhiteSpace(message))
            {
                DAL dal = new DAL();
                bool success = dal.spInsertMessage(message, lat.Value, lng.Value, ip, loc, name, parentId, FBId.ToString());
                return Json(success);
            }
            else
            {
                return Json(false);
            }
        }

Like I said, it still works if you access the mobile site from Chrome.

If you want to test it yourself, go to http://www.jabsy.com/Home/MobileHome in a Chrome or Safari browser (has to be webkit), and try it out and confirm it works, but it doesn’t post from mobile devices anymore after this one param was added. I can’t for the life of me figure out why. No error pops up, they just won’t post it.

Does Sencha Touch have some AJAX param limit or something? But even if they did, that should also prevent it from working through a desktop browser right?? I can’t really test if it’s making it to the server and THEN something is going wrong, or it’s just never making it, b/c I don’t know of any way to test this from a mobile device, so I’m in the dark as to what’s happening.

So confused.

  • 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-24T22:02:05+00:00Added an answer on May 24, 2026 at 10:02 pm

    So I figured this out. Just for the hell of it, kind of inspired by Joey’s comment – I used my Android phone to clear all cache/cookies/browsing history from it’s browser, and tried it again.

    It now works. I have no idea why this happened. I’ve updated the same exact params before, for instance, when I added the parentId parameter right before adding the current new one, and this issue didn’t take place.

    No idea, but that’s what solved it. If anyone has any ideas as to why, or how to prevent this from happening in the future, PLEASE comment.

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

Sidebar

Related Questions

I have this classic ASP site which has been working fine until we updated
Yeah, so this one through me or a loop for a while until I
How does this actually come about? I am working in one repo by myself
Let's say I have this blob of code that's made to be one long-running
I have this working definition: IDENTIFIER [a-zA-Z][a-zA-Z0-9]* I don't want to keep repeating the
Has anyone got this working in a web application? No matter what I do
Strangely I had this working before but I reinstalled my system, upgraded to w7
I currently have this working but it requires me to have a static method
I have this working great, but I'd like a deeper understanding of what is
I can't get this working for the life of me. Here is a snippet

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.