ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CP & Front end logging in problems, and jQuery failing...

April 05, 2012 5:12pm

Subscribe [2]
  • #1 / Apr 05, 2012 5:12pm

    shorn

    79 posts

    Hi there,

    I posted in another thread, but will start one specific to this as I have not been able to determine what the problem is.

    My site went live yesterday, and found my first few hiccups.

    I had a member (to be) contact me and said that she could not register, as the accessible captcha field kept saying the answer was wrong. I tried this out on my phone, and it did the same. Turns out that the jQuery file (that I hosted) was not being enabled. Stated a parse error in the Safari Debug console. I managed to get into my root, (as I was away at work) and I updated it to Google hosted jQuery. It then loads and works fine on my iPhone/iPad. I haven’t heard back from the user yet to see if that fixed it for them.

    Its certainly not affecting everyone, as it didn’t do this on my desktop, and I have had other registrations throughout the day.

    The second part of my problem is…
    Once I had that up and running again, I was browsing my site, (front end) and after so many clicks I would be logged out. I have also had a problem logging in the CP. It would just refresh itself and stay on login page. After a few attempts I could get in, but jQuery is not working in the CP. drop downs do not show.

    I get the following errors in Safari on iPad/iPhone

    Screenshot

    Not sure whats happening? Im guessing the logging in logging out issue is to do with IP addresses, as when I’m on home network, its pretty solid. Todays problems have been whilst I’m on mobile (cellular) network.
    But the jQuery error I’m not sure. All files are present on server?

    Not quite sure where to go or what to be doing now!

    Looking through the forums, there appears to be a few issues similar to this.

    Any help ironing this out appreciated!

    Thanks!

  • #2 / Apr 06, 2012 1:02pm

    Shane Eckert

    7174 posts

    Hello shorn,

    I am sorry to hear you are running into this issue.

    This does sound like an IP problem. Are these issues strictly from your mobile devices?

    Do you have Throttling enabled?

    You might also play with these settings to see if they help.

    In your config.php file:

    $config['cookie_domain'] = "";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";
    $config['admin_session_type'] = "c";
    $config['user_session_type'] = "c";
    $config['require_ip_for_login'] = "n";
    $config['require_ip_for_posting'] = "n"; 
    $config['secure_forms'] = "n";

    Let me know if this helps.

    Cheers,

  • #3 / Apr 06, 2012 1:56pm

    shorn

    79 posts

    Hi, yes they seem to be restricted to just mobile devices. Just tried my phone (now that I am at home) and it works fine.
    I do not have Throttling enabled.
    Ive had a look at the config.php file, do I need to add those settings as I do not see the in there? If so, wheres best place to add them?

  • #4 / Apr 06, 2012 2:04pm

    shorn

    79 posts

    Just to add, I changed CP to cookies only, and didn’t seem to have a problem being logged out, but jQuery still not working.

  • #5 / Apr 07, 2012 3:25pm

    shorn

    79 posts

    Hi there,

    Still having this problem jQuery not working when Im on my mobile network. Fine at home. Logging in doesn’t seem to be a problem , its just the js not loading meaning the CP is unusable.

    As I mentioned above, Ive had a look at the config.php file, do I need to add those settings as I do not see the in there? If so, wheres best place to add them?

  • #6 / Apr 09, 2012 3:55pm

    Shane Eckert

    7174 posts

    Hey Shorn,

    You may just add those setting anywhere you see fit in the config.php file. But if this is happening on the Mobile Network, it could be the rotating IP as well, most mobile networks do that. We want the IP to stay consistent and if it’s changed, you will be logged out.

    On the second issue. Just to clarify, the Control Panel works on your home network on your iPad, but not on the mobile network? I am not sure how to troubleshoot that. Maybe your mobile network is not allowing the content to be downloaded?

    Please let me know if I have that last one right.

    Cheers,

  • #7 / Apr 10, 2012 8:39am

    shorn

    79 posts

    Right, I’ll have a go at adding the settings to the config file and see how that affects it.

    On the second issue, yes it is strange and you do have it right. At home, no problem at all. When on a mobile network, (personal hotspot from my phone to iPad, or direct on iPhone,) i get the errors that I showed in first posts screenshot. Showing a jQuery parse error.

  • #8 / Apr 11, 2012 10:27am

    Shane Eckert

    7174 posts

    Hello shorn,

    Great! Let me know if those changes add stability at all.

    As for the mobile network, I am not sure there is much you can do.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases