Отменен

WPMultisite Error Uncaught DOMException: Failed to set the 'domain' property on 'Document' -- 2 - 02/12/2017 07:44 EST

I have a Multisite Wordpress Domain for 1 client. He has asked me to create multisite network so we can create domain for each of the stores that buy from us so that they can have website with up to date inventory of fish, and be able to sell fish to their customers as if main company was invisible

If you go to this website: [login to view URL]

It will point you to here [login to view URL]

Because I have mapped the domain using a WPMU Domain Mapping plugin..

Problem is when I do this 3 things happen. The logo, the stores address in the footer, and adding products to cart becomes un-functional.

Try to go to any category page on menu and add 1 fish to cart. You will see the fish doesn't add at first, BUT then try and reload page, and you will see the fish in your cart.

Error that is showing in inspector 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 error only happens when I select the domain [login to view URL] as the PRIMARY domain for remysreef.exoticreefimports.com. This is a setting inside of the MU Domain Mapping Plugin.

If I set this back to [login to view URL] as primary ALL the above errors go away.

I have located the below code in a file named [login to view URL] file.

<script type="text/javascript">

[login to view URL] = '[login to view URL]';

[login to view URL] = function() {

fetchCart();

}

The script appears to be hard coded in our checkout code files pointing to the main site domain which normally works fine, but in this cases when we active domain mapping this starts to cause the [login to view URL] error whenever adding a fish to cart. Also the pages theme files dont seem to know where the correct domain is cause its having issues showing the logo, and the store's address in footer.

Квалификация: CSS, HTML, PHP, Дизайн сайтов, WordPress

Показать больше 1. Site to handle the questions and create the document based on the user answers. 2. The functionaltiy to be similar to the roc, pokerstrategy freelancer password pokerstars 2016 02 07 12, password pokerstrategy freelancer 07.02 2016, online html jobs without investment, html css jobs for freshers, php work from home projects, php freelance work from home, online html jobs from home, online php work from home, online php projects to earn money, how to get freelance php projects, php, css, html, wordpress, bootstrap, cakephp, shopify, yii, password pokerstrategy freelancer 07 02 2016

О работодателе:
( 97 отзыв(-а, -ов) ) Thornwood, United States

ID проекта: #15781730

8 фрилансеров(-а) в среднем готовы выполнить эту работу за $8/час

mituld

i have got it your idea you need the WPMultisite Error Uncaught DOMException: Failed to set the 'domain' property on 'Document' and i am ready to start work now

$6 USD / час
(464 отзывов(-а))
8.2
ghanshyamsain

Hi mate, I’ve gone through your requirements what exactly you want for your work defiantly we will fulfil your requirements within your budget &amp; time duration. We are providing these services are:- PHP/Word pre Больше

$6 USD / час
(116 отзывов(-а))
6.3
bhatiasiddharth

Dear Client, Thanks for providing opportunity to bid on the project I have 8+ years of experience in making site on php using myql from scrap.I also expertise in wordpress Some of the PHP sites are:- 1) Больше

$4 USD / час
(18 отзывов(-а))
5.6
degreeinfo

Hello there, Yes I can create multi site network so you can create domain for each of the stores that buy from you so that they can have website with up to date inventory of fish, and be able to sell fish to their c Больше

$13 USD / час
(25 отзывов(-а))
5.6
gauravgargcs

Dear Client I have gone through information provided and completely understood your requirement.I have already done such type of work and 100% i can start your work [login to view URL], I will give you better quality and i Больше

$14 USD / час
(60 отзывов(-а))
5.9
Fabritech

hello client, Thank you for the opportunity. As per your requirement,i would like to tell you that we have a very strong experience of more then 7 year in the field of design and development. i would also l Больше

$7 USD / час
(2 отзывов(-а))
3.3
sbcs2

Hello Sir, I build many websites in Wordpress and commerce. I can fulfill your requirement, Please reply more for your work, waiting for your reply.

$7 USD / час
(8 отзывов(-а))
2.9
anishsharma2006

Hello, I have viewed the job description url [login to view URL] .I will create fish inventory website so you can create domain for each of the stores that buy from you so that they can have website with up to date Больше

$5 USD / час
(3 отзывов(-а))
1.9