Find Jobs
Hire Freelancers

Error:Uncaught DOMException: Failed to set the 'domain' property on 'Document'

$2-12 USD / hour

Cancelled
Posted over 6 years ago

$2-12 USD / hour

If you go to this website: [login to view URL] And try to add 1 fish to cart. You will see the fish doesn't add, BUT then reload page, and you will see the fish in your cart. Error that is happening is: Uncaught DOMException: Failed to set the 'domain' property on 'Document': '[login to view URL]' is not a suffix of '[login to view URL]'. at [login to view URL]:1237:49 This domain [login to view URL] is mapped to a multisite remysreef.exoticreefimports.com. So the problem is in my [login to view URL] file. The script is hard coded to my main site incorrectly. <script type="text/javascript"> [login to view URL] = '[login to view URL]'; [login to view URL] = function() { fetchCart(); } I need to replace code for [login to view URL] so that when I set [login to view URL] to be primary it doesn't produce the Uncaught error when trying to add a product to the cart.
Project ID: 15776716

About the project

5 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $8 USD/hour for this job
User Avatar
Hallo, I am Hovhannes, a PHP/JavaScript/Cordova/Ionic expert looking for ongoing work and reliable relationship.
$7 USD in 40 days
4.9 (7 reviews)
5.2
5.2
User Avatar
We Believe in Delivering Perfect Work and Providing Full Satisfaction to Our Client . We also Insure to Deliver the Work in the given Time Frame . we have highly Qualified Professionals in our team.
$5 USD in 40 days
4.9 (7 reviews)
1.9
1.9

About the client

Flag of UNITED STATES
Thornwood, United States
4.8
107
Payment method verified
Member since Jun 10, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.