Image Slider Block Issues

Permalink
It has been a while since I have done any editing of my concrete5 site and I am a really only a beginner, it just ticks along without any major input from me, but after many months I am now going to make some changes.

I have just updated from 8.5.2 to 8.5.4 and want to edit an image slider block, when viewing the images slider as a user it works fine and does what it has always done, but when go in to edit mode and I try to edit block it nothing happens, nothing, no options, zero. If I delete the block and try to add a new image slider block nothing is added, all other blocks will add and work fine.

Is the Image Slider block is a default block that comes with concrete5 or an add on? I don't see it in the add on section but if it is an add on maybe it is not supported anymore?

Thanks for any help.

 
JohntheFish replied on at Permalink Reply
JohntheFish
There is a basic image slider that comes with c5. There are also many marketplace blocks. Themes also often come with an image slider.

If you post your environment info (search for 'environment' in the dashboard) We may be able to tell you more.
steve2016 replied on at Permalink Reply
Thanks for your help, here is the Environment Info below, looking at that, I'm pretty sure I'm using the basic Image Slider that comes with concrete5. I am using the Responsive Theme and have been for a couple of years. I definitely used to be able to edit the image Slider block.

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 10.3.24-MariaDB-log-cll-lve
SQL Mode: NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Cloneamental (0.9.3), Cycle2 Slide Show (1.0.1), EU Cookie Law (1.0.1.3), HTML5 Audio Player Basic (2.0.7), Neat (0.9.2), PDF Viewer (1.0.1), Responsive Theme (2.2), Simple Blog setup (1.0.1)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
5.6.40

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, litespeed, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 360
max_input_vars - 8000
memory_limit - 256M
post_max_size - 512M
sql.safe_mode - Off
upload_max_filesize - 512M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 7963
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5
zend_optimizerplus.max_accelerated_files - 2000
zend_optimizerplus.max_file_size - 0
zend_optimizerplus.max_wasted_percentage - 5
JohntheFish replied on at Permalink Reply
JohntheFish
With the site running on php 5.6.40, its unlikely to be a php version issue.

You also have the Cycle2 Slide Show installed, so if you are using that, check it is up-to-date and ask on the addon's 'Get Help' support page.

You could also ask on the theme's 'Get Help' support page to confirm it is compatible with c5 v8.5.4 core version.
steve2016 replied on at Permalink Reply 1 Attachment
Thanks for the reply. I'm not using the Cycle2 Slide Show or any of the other themes. I will check with the Responsive theme developer.

I have attached a quick screenshot video of what happens (or does not happen) when I try to edit the Image Slider block.
JohntheFish replied on at Permalink Reply
JohntheFish
Most relevant would be any error messages that show in the browser developer console.
steve2016 replied on at Permalink Reply 1 Attachment
I think this is what you mean, this error happens when I click edit block in the Image Slider: Screenshot attached above.
JohntheFish replied on at Permalink Reply
JohntheFish
A JavaScript error - likely something you added to the page is causing the error and hence preventing the edit from working.

That could be a badly formed html block you have added to the page, for example:
a <div> without a </div>

or an unterminated string in an html attribute
such as "text
when it should have been "text"

or some 3rd party JavaScript copy/pasted into the block with a mistake.

If that is the case (it could alternatively be addon or theme code that is faulty), to solve it you need to go back through page versions to before the error. Best done in the dashboard sitemap because it can't be broken by what is on the page.

In general, if you have stuff in HTML blocks that could break a page, use my Safe HTML block template - free in the marketplace. https://c5magic.co.uk/addons/safe-html... . There are also some tips on Fixing Broken Sites.
steve2016 replied on at Permalink Reply
Thanks for that, really helpful. The thing is I have not changed anything on the page in months but I will check through. The only thing I have done is update concrete5 every few months to the latest version when available.

Also if I set up a new page with no content other than theme page template and try and add an image slider nothing gets added. I have gone through and tried adding all the other blocks and they all work. Also the Image Slider still works from a user/site visitor point of view, just can't edit it.
JohntheFish replied on at Permalink Reply
JohntheFish
That is a pretty good test.

You could try doing the same test and assign Elemental to the page.

Then go to one of your real slider pages and assign elemental to that page.

ie - is it the theme that has become incompatible with the core block after a core update?
steve2016 replied on at Permalink Reply
I setup a new page with no content using the elemental theme and tried to add a Image Slider block, nothing happens just like before, I tried the other blocks and I can add them fine, so I guess that rules out the Responsive theme being the cause of the problem.
JohntheFish replied on at Permalink Reply
JohntheFish
Yes. Something else must be disrupting things.

Are any errors or exceptions listed in the site logs page?

Check for any html blocks in the global areas - especially any containing JavaScript.

Try removing any tracking codes at dashboard/system/seo/codes.

Turn off the cache, then in the developer console:

- Do you still get the same error messages as before?

- Do you get these error messages on all pages, or just on pages with the slider?

- In the network tab of the developer console, set it to filter on JavaScript and list the .js files loaded.
steve2016 replied on at Permalink Reply
Could it be that the Image Slider block has not been updated by the concrete5 updater? When I look at the files in the Image Slider block my install is using and compare it with the some block in the 8.2.4 update the file sizes are different. I haven't checked the content of all the files yet but the css file in the 8.2.4 update has an extra line of code compared to the one my install is using.
JohntheFish replied on at Permalink Reply
JohntheFish
Yes, if they were in some way corrupted.
You will need to do a direct compare. File sizes could vary a little because of operating system differences.
steve2016 replied on at Permalink Reply
So far:

Are any errors or exceptions listed in the site logs page?

No

Check for any html blocks in the global areas - especially any containing JavaScript.

Still in progress

Try removing any tracking codes at dashboard/system/seo/codes.

No difference

Turn off the cache, then in the developer console:

- Do you still get the same error messages as before?

Yes

- Do you get these error messages on all pages, or just on pages with the slider?

Just slider page or if I try to add slider block.

- In the network tab of the developer console, set it to filter on JavaScript and list the .js files loaded.
jakewilly replied on at Permalink Reply
I am utilizing the Responsive Theme and have been for a few years. I unquestionably used to have the option to alter the picture Slider block.
steve2016 replied on at Permalink Reply
Thanks for the reply. I have been using the Responsive theme for about 3 years now and I could definitely still edit the Image Slider at the beginning of this year but I cannot remember what version of concrete5 I had installed then.