Find Jobs
Hire Freelancers

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

$2-12 USD / hour

Cancelado
Publicado hace más de 6 años

$2-12 USD / hour

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.
ID del proyecto: 15781730

Información sobre el proyecto

7 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
7 freelancers están ofertando un promedio de $8 USD /hora por este trabajo
Avatar del usuario
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 en 40 días
4,8 (469 comentarios)
8,2
8,2
Avatar del usuario
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 en 40 días
4,7 (8 comentarios)
2,9
2,9

Sobre este cliente

Bandera de UNITED STATES
Thornwood, United States
4,8
111
Forma de pago verificada
Miembro desde jun 10, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.