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

  • Home
  • SEARCH
  • 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 6700951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:52:31+00:00 2026-05-26T06:52:31+00:00

I recently upgraded my server to a much nicer server, and after a few

  • 0

I recently upgraded my server to a much nicer server, and after a few minor bumps got almost everything working correctly. I am still having one issue though, and I’m stumped. On one of my pages I make a JQuery .get() call to a php page on my site to get some data to populate a calendar. The function I use to make the AJAX call is:

function getBlackoutData(packageNum, nights, arrivalDate) {
if(!isRunning) {
    isRunning = 1;
    bodates.length = 0;
    $.get("getBlackOutData.php", {
        pkg: packageNum,
        additional_nights: nights,
        arrivalDate: arrivalDate
        }, function(data) {
        $.each(data.info, function(n,object) {
            $.each(object, function(key,val) {
                pkgInfo += key + '=' + val + '&';
                $('#' + key).text(val);
            });
        });
        $.each(data.dates, function(key, value) {
            bodates[key] = value;
            var pickedDate= $("#Checkin").val();
            var pickedDateSplit = pickedDate.split("/");
            pickedDate = pickedDateSplit[2] + pickedDateSplit[0] + pickedDateSplit[1];
            if(value == pickedDate && $("#Checkin").val() != ""){
                alert("The date you have chosen is not available with your current package");
                $("#Checkin").val('');
            }
        });
        if(bodates.length >= 120) {
            $('#customer_info').html("<div class=\"packageError\">We're sorry, it appears that this package is not currently available. Please try another package or call 1-888-923-3378 for further avaliablity.</div>");
        }
        $('#customer_info').show();
        $('#retail').html(data.retailNightPrice);
        custPrice = $('#price').html();
        $('#discount').html(data.retailNightPrice - custPrice);
    }, "json");
    isRunning = 0;
}
}

This call worked great before I moved my server, and accessing the getBlackOutData.php page directly with appropriate $_GET parameters works as expected. Now not only do I not get the expected results from the AJAX call, I don’t even get an http response code (Which I view in FireBug). Also, using FirePHP, I am able to print debug data to my FireBug Console from the PHP page I am trying to access, so I know I am actually hitting the page. Does anyone know if this could be a JQuery error or even possibly a configuration error with the server itself?

  • 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-26T06:52:32+00:00Added an answer on May 26, 2026 at 6:52 am

    Ok, problem solved! Apparently the old server didn’t seem to mind that the base href for the site was HTTPS, while the link to that particular page was only HTTP. This apparently caused issues with the AJAX request.

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

Sidebar

Related Questions

Recently we upgraded our TFS server 2008 to 2010. Now, we have got problems
Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
I have recently upgraded from websphere 5.1.2 to websphere 6.1 server. I had some
Fairly exotic it seems to me. We recently upgraded/migrated from Windows Server 2003 to
I am getting following error. Restore failed for Server I have recently upgraded SQL
I recently upgraded a web server from IIS6 to IIS7 for a classic asp
I recently upgraded my subversion server from 1.4.6 to 1.6.11. The repos all seem
Recently just upgraded to SQL Server 2008 R2 Express. When I attempt to create
I've recently upgraded VS 2008 to VS 2010. On our server we have IIS6
I recently upgraded my web server to Windows 2003 R2 Enterprise 64 Bit. Now

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.