- Posts: 2
COMMUNITY FORUM
Unexpected end of script
- Ben Clay
-
Topic Author
- Offline
- New Member
Less
More
7 years 4 weeks ago #167211
by Ben Clay
Unexpected end of script was created by Ben Clay
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
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
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 4 weeks ago #167231
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Unexpected end of script
Hello,
Are you using any extensions which minify or alter the HTML code of the page?
Are you using any extensions which minify or alter the HTML code of the page?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Ben Clay
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
7 years 4 weeks ago #167243
by Ben Clay
Replied by Ben Clay on 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
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
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 weeks ago #167289
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Unexpected end of script - FIXED
Nice to be of assistance Ben :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.