Demo pages fail to show code - support forum

Demo pages fail to show code

Post a reply
Posted by Kim at 11:25 on 12th December 2020
theres an error in the demo pages that fails to show the code:
js console says:
Uncaught SyntaxError: Unexpected token '<' demos.js:1
bar-line-switch-effect.html:372 Uncaught ReferenceError: showSource is not defined
    at bar-line-switch-effect.html:372
navigation-top-bar.js:9 Uncaught TypeError: Cannot set property 'onclick' of null
    at navigation-top-bar.js:9

and it seems that the the demos.js file has some garbage at the top:
<br />
<b>Warning</b>: Undefined variable $lastmod in <b>/homepages/46/d548322256/htdocs/www/demos/combined.html</b> on line <b>64</b><br />

Posted by Richard at 11:46 on 12th December 2020
Can you do a SHIFT+refresh or CTRL+refresh (depends on your browser) to bypass the local browser cache?

I did upgrade PHP on the website recently, but if I do this then everything works as expected.

Posted by Kim at 17:19 on 21st December 2020
Works like a charm now.

Post a reply

What's your name?
What do you want to say?