dti content script.js causing problem in few JSP pages.
Browser Console Error:
Uncaught (in promise) unknow action dti_content_script.js
Uncaught (in promise) unknow action walkme_loading_content_script.js
Using jquery-1.7.2.min.js
Using Okta min.js https://global.oktacdn.com/okta-auth-js/4.5.0/okta-auth-js.min.js
Please let me know if you have any idea.
Needs to remove this error, its coming not every users. Its coming for few users only.
Related
I am currently running on magento 2.3 site, and finding that the site will sometimes load all of its Javascript components and dependencies properly, but sometimes fails to load.
IF you hard-refresh/clear your browser cache it works and all the errors disappear for that page, but if you browse the site it will throw the errors again after visiting a few pages.
Also page refresh errors are change. Below are few sample errors.
Uncaught TypeError: Cannot read property 'fn' of undefined
at observable_array.js:54
Uncaught TypeError: Cannot set property 'disposableCustomerData' of undefined
at customer-data.js:101
I have made a website on one domain, perfecting it to my likings. However, now I took all the files, copied them to another domain. Now the website console throws weird errors, that were not there on the first domain where the website was created.
I get errors:
Uncaught SyntaxError: missing ) after argument list on
bootstrap.min.jsand Uncaught SyntaxError: missing ) after argument
list on jquerymagnific-popup.js
In the code, I am referring to all scripts with the following line(s):
<script src="/js/scripts.js"></script>
I can't seem to figure out why it works on for example domain1.com/testing but not on domain2.com
Just looking at the syntax I believe it has something to do with bootstraps JS
Uncaught TypeError: Cannot read property 'fn' of undefined util.js:56
at util.js:56
at util.js:10
at bootstrap.min.js:6
at bootstrap.min.js:6
Basically the issue on my website is the fact that I'm using a basic login page, when I enter the login page, I cannot return to the homepage without editing the URL to go to Default.aspx, the ReturnURL doesnt actually work and just displays the ReturnUrl in the URL bar.
/Login.aspx?ReturnUrl=%2fAccount%2fChangePassword.aspx
I think its coming from Js order you called.
Jquery must be called first and after that called bootstrap script files.
<script src="assets/js/jquery/jquery-3.3.1.min.js"></script>
<script src="assets/js/bootstrap/bootstrap.bundle.min.js"></script>
I migrated to the live server. This is running ISS v8.5. Now i have multiple problems that are related to js files. Which weren't there in the testing environment.
Since i copied the wordpress 4.8 website and fixed all the files and linkings i noticed the following problems:
visual composer backend editor wont show, and clicking the backend editor button does nothing. (javascript function). Front-end live editor is working.
in the frontend my (woocommerce) productpage is showing product-pictures in a new page instead of replacing the main/featured product-picture. (slideshow javascript function)
The datepicker addon for contact form 7 is not working either. It just shows a input field but on click a date-selector will not appear.
Most of the js is working great though. And all of it was working great in my linux testing environment. Am i missing something here?? I think its related due to the server settings (ISS 8.5 php 5.5)
Problems in inspector:
jquery.flexslider-min.js?ver=5.2:6 Uncaught SyntaxError: Unexpected identifier
photoswipe.min.js?ver=4.1.1:4 Uncaught SyntaxError: Invalid or unexpected token
jquery-ui-timepicker-nl.js:4 Uncaught TypeError: Cannot read property 'regional' of undefined
www.dab-scooters.nl/:639 Uncaught TypeError: $(...).datetimepicker is not a function
I'm using JavaScript Remoting in my Force.com site. This works well apart from a scenario I have noted where when I click on an apex:commandLink or apex:commandButton in a component which then opens my component where my JavaScript remoting function exists, when I then try to perform my Remoting action I get an error as follows.
Uncaught ReferenceError: Visualforce is not defined
I do not get this error when I do not previously click on am apex:CommandLink or apex:commandButton in a previous component. Has anyone come across this before & if so know how to stop the error from occurring?
I'm assuming you're using Visual Force Page (VFP). In your VFP definition, make sure to include the controller that has the methods for JS remoting
<apex:page controller="YourController" ... />