Support will be in summer mood from 6-17 August, 2018 while the JoomlaWorks folks get some rest.
Keyword

Unexpected end of script

  • Ben Clay
  • Ben Clay's Avatar Topic Author
  • Offline
  • New Member
More
4 months 4 weeks ago #167211 by Ben Clay
Ben Clay created the topic: Unexpected end of script
Latest Joomla (3.8.6) and AllVideos (4.8.0) and I'm simply trying to display a video stored on the server. See lizclay.co.uk/test but I get a script error (see attached).

It seems a bit of a basic error to have slipped through system testing so it must be me, surely. Any help would be appreciated.

Ben
Attachments:

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks ago #167231 by Krikor Boghossian
Krikor Boghossian replied the topic: Unexpected end of script
Hello,

Are you using any extensions which minify or alter the HTML code of the page?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

  • Ben Clay
  • Ben Clay's Avatar Topic Author
  • Offline
  • New Member
More
4 months 4 weeks ago #167243 by Ben Clay
Ben Clay replied the topic: Unexpected end of script - FIXED
What a good question!

I wrote my own plugin to do the fancy rearrangement of images on the gallery page (try resizing the browser at lizclay.co.uk/gallery ) and some other stuff. The plugin only loads css and javascript - but for some reason I made some "simple" changes to the html in the function onContentPrepare. Maybe I was doing a test (see attached).

Anyway, I commented out that line and the plugin now works.

Thanks for the guidance.

Ben
Attachments:

Please Log in or Create an account to join the conversation.

More
4 months 3 weeks ago #167289 by Krikor Boghossian
Krikor Boghossian replied the topic: Unexpected end of script - FIXED
Nice to be of assistance Ben :)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.