Cornerstone does not work in two pages

Hello,

Last week I wrote you with a problem with the cornerstone with the two pages I work with.

The truth is that I’m not sure how some things in the forum work.

And I do not know if in the end I deleted it or you did not receive my message.

The problem is that the Cornestone does not work for me on the two pages I have installed.

I have done everything you told me,

But, the result is the same. I ask you please to help me. I have sent you the password and the user to enter my website.

I am very happy with the product but I can not afford to be 2 weeks without being able to access the Cornerstone

My website is reinventatumarketing.com and

Thanks

Hello There,

Thanks for writing in!

Are you referring to this thread?

The thread is already closed since it is over 10 days now. When monitoring your threads waiting for us to reply, you can always check it here: https://theme.co/apex/forum/u/santos/activity/topics

I have inspected your site and there is a JS error on the page. This is most likely the cause of the issue why Cornerstone isn’t working. You have inserted this custom JS which is invalid:

<script type="text/javascript">
	var trackcmp_email = '';
	var trackcmp = document.createElement("script");
	trackcmp.async = true;
	trackcmp.type = 'text/javascript';
	trackcmp.src = '//trackcmp.net/visit?actid=475218537&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href);
	var trackcmp_s = document.getElementsByTagName("script");
	if (trackcmp_s.length) {
		trackcmp_s[0].parentNode.appendChild(trackcmp);
	} else {
		var trackcmp_h = document.getElementsByTagName("head");
		trackcmp_h.length && trackcmp_h[0].appendChild(trackcmp);
	}
</script>

Please have it updated and use this instead:

</script>
<script type="text/javascript">
	var trackcmp_email = '';
	var trackcmp = document.createElement("script");
	trackcmp.async = true;
	trackcmp.type = 'text/javascript';
	trackcmp.src = '//trackcmp.net/visit?actid=475218537&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href);
	var trackcmp_s = document.getElementsByTagName("script");
	if (trackcmp_s.length) {
		trackcmp_s[0].parentNode.appendChild(trackcmp);
	} else {
		var trackcmp_h = document.getElementsByTagName("head");
		trackcmp_h.length && trackcmp_h[0].appendChild(trackcmp);
	}

You see in the code that I have switched the closing </script> tag to the beginning because you are not supposed to insert this code in the custom JS area. The custom JS when outputted in the front end will be wrapped with <script> and </script>. This is why we have to modify your custom JS to avoid any JS error.

Hope this helps. Please let us know how it goes.

1 Like

Hi. Thanks for answering. I have done what you tell me but I still have the same problem. The administrator of my hosting has indicated how to change the lines of code, but I still can not edit the pages of my two websites. I ask you please that I do not know what to do and I can not edit pages on my two websites.

Hi there,

Looks like you’ll have to re-install your cornerstone and contact your hosting provider to exclude cs-vendor.js file from security scan or deletion. These files are missing http://www.reinventatumarketing.com/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=2.1.7, https://perritobueno.com/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.js?ver=2.1.7 and probably deleted.

Which is also related to this thread https://theme.co/apex/forum/t/cornerstone-does-not-load/18055/6

Thanks!

Thanks for answering. I’m going to pass on to the administrator of my hosting the information you told me.
I just have one question. If I delete Cornerstone, will not I lose all the design information on my pages? Is it possible that when you reinstall you have lost all the saved information?
Obviously if this happens I would not use this solution.

I wait your answer.
Thank you

Hi,

No data will be lost if you do it simultaneously.

Please make sure to back up your whole site before doing it.

Thanks

Thank you !

  1. I have uninstalled the cornerstone. How can I reinstall it?

  2. My hosting has commented on the following:

“I have reviewed the quarantine list of our analysis service, and we have not seen any records that the file you indicate has been deleted.”

This comment is for, what you asked me:

"It looks like you will have to re-install your cornerstone and contact your hosting provider to exclude the cs-vendor.js file from the security scan or removal.These files are missing http://www.reinventatumarketing.com/wp -content / plugins / cornerstone / assets / dist-app / js / cs-vendor.js? ver = 2.1.7 1, https://perritobueno.com / wp-content / plugins / cornerstone / assets / dist-app / js / cs-vendor.js? ver = 2.1.7 and probably deleted. "

Tell me how I can get the Cornerstone file or plugin and if you can go to my website and locate the problem.

Thank you very much.

Hi There,

Access your Wp Admin Dashboard > X and Cornerstone should be automatically re-installed.

Hope it helps!

Ok. correct.

Thanks

You are welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.