Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Javascript call to undefined
Author « Topic »  

davcom1
Starting Member

United Kingdom
35 Posts

Pre-sales questions only
(More Details...)

Posted - 03/13/2019 :  05:52:02  
Hi ECT,

I noticed on the package we purchased most recently, Premium Responsive Design Natura 0003pr00grb0089, there's a call to non-existent Javascript at the bottom of the main PHP pages.

I'm not 100% sure if its something I've deleted by accident, but I don't think so.

It doesn't break anything but gives an error in Google Chrome "Console".

At the end of the code, each page has :-

$(function(){
SyntaxHighlighter.all();
});

Regards,

David

Andy
ECT Moderator

95440 Posts

Posted - 03/13/2019 :  06:07:23  
Hi David

I'll have a look for you and report back.

Andy

Please feel free to review / rate our software

Andy
ECT Moderator

95440 Posts

Posted - 03/13/2019 :  07:43:46  
It seems that isn't used and not entirely sure why it was added, maybe something in testing that didn't make the cut - sorry for any hassles there.

Andy

Please feel free to review / rate our software

davcom1
Starting Member

United Kingdom
35 Posts

Pre-sales questions only
(More Details...)

Posted - 03/13/2019 :  10:19:47  
That's fine - thanks for the confirmation Andy.

I've simply removed from all affected pages.

All the best,

David

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 03/13/2019 :  16:41:45  
One of my clients recently bought the Natura template, I haven't access to that at the moment, so could do with checking and, if necessary, removing the code.

Is the code in certain php files or is it in the actual .dwt template file?

Is the full code that needs removing as below?
[blue]$(function(){
SyntaxHighlighter.all();
});[/blue]



Will - Bolton Manchester UK

Andy
ECT Moderator

95440 Posts

Posted - 03/14/2019 :  01:12:15  
Hi Will

It would be in the dwt file and that is the code to remove.

Andy

Please feel free to review / rate our software

V45
Advanced Member

United Kingdom
416 Posts

Pre-sales questions only
(More Details...)

Posted - 03/14/2019 :  04:56:26  
Hi Andy

Thanks for that

Will - Bolton Manchester UK
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000