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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:35:26+00:00 2026-05-30T14:35:26+00:00

I have two URLs: http://s140452.gridserver.com/view-pullsheet/ https://s140452.gridserver.com/locations/ When browsing through any properties on the locations

  • 0

I have two URLs:

http://s140452.gridserver.com/view-pullsheet/

https://s140452.gridserver.com/locations/

When browsing through any properties on the locations page (as well as any single property, filtering properties using the sidebar, adding and removing properties from the “pullsheet”) the jcart.js script works fine — it is in control of adding and removing photos from the “pullsheet”.

From this page however, http://s140452.gridserver.com/view-pullsheet/ , I get the following error “Ajax error: Edit the path in jcart.js to fix”.

The code in question is:

    var path = 'https://s140452.gridserver.com/wp-content/themes/re/assets/functions/jcart',
        container = $('#jcart'),
        token = $('[name=jcartToken]').val(),
        tip = $('#jcart-tooltip');

    var config = (function() {
        var config = null;
        $.ajax({
            url: path + '/config-loader.php',
            data: {
                "ajax": "true"
            },
            dataType: 'json',
            async: false,
            success: function(response) {
                config = response;
            },
            error: function() {
                alert('Ajax error: Edit the path in jcart.js to fix.');
            }
        });
        return config;
    }());

How can the script be working fine on the locations page but throw an error from a different URL? How can I fix this?

Thanks!

jcart.js is located @ https://s140452.gridserver.com/wp-content/themes/re/assets/js/jcart.js

  • 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-30T14:35:28+00:00Added an answer on May 30, 2026 at 2:35 pm

    because you are running into the same origin problem. https vs http

    var path = 'https://s140452.gridserver.com/wp-content/themes/re/assets/functions/jcart',
    

    to

    var path = '//s140452.gridserver.com/wp-content/themes/re/assets/functions/jcart',
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two types of urls: http://mydomain.com/npguar/en/products.php http://mydomain.com/npguar/en/1/product_specification.php Earlier I was using this .htaccess
I have the following two url cases … http://url.com/one http://url.com/category/some If those urls are
I have two urls: url1 = http://127.0.0.1/test1/test2/test3/test5.xml url2 = ../../test4/test6.xml How can I get
I have two URLs with parameters http://localhost:8041/Reforge.aspx?name=CyanГ http://localhost:8041/Reforge.aspx?name=Cyanì In first URL Firefox encodes last
There are two URLs I have: http://localhost:65043/home/create/ http://localhost:65043/home/create/2 I want to check that the
I am working on existing project. I have following two URLs http://example.dev/en/course/myUserName/myCourseName/150/myChapterName/1016/page/1/?hcid=147 http://example.dev/en/course/myUserName/myCourseName/150/myChapterName/1016/page/2/?hcid=147 2nd
I have a website that has images with urls like this: http://mysite.com/image1.jpg My server
I have an mp3 on my server (urls are just examples): http://www.my-server.com/myaudio.mp3 I have
I have two tables with list of urls fetched from different sources. I want
What I'm trying to achieve here is lets say we have two example URLs:

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.