Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-12-07 13:18:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,078
Website GitHub Mastodon Twitter

slideshow stopped working

After migrating to DH the slideshow I have on top of most of the projects pages stopped working and I have no idea why. Interestingly it works when previewing draft articles. Sample url.

Also after trying to validate the above I get:

Error: Content-Security-Policy HTTP header: Bad content security policy: Expecting source-expression but found “http:/dev.colakides.com”.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2020-12-07 13:28:29

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,713
Website

Re: slideshow stopped working

It looks like that may be your answer. The web inspector console also says:

Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy.

Try relaxing your content security policy headers to permit content from dev.colakides.com or alternatively make sure you don’t have any content coming from dev.colakides.com, e.g. relocate it to neme.org.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2020-12-07 13:44:18

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,433
Website GitHub

Re: slideshow stopped working

colak wrote #327325:

http:/dev.colakides.com

Is it meant to only have a single slash there?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#4 2020-12-07 13:51:39

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,078
Website GitHub Mastodon Twitter

Re: slideshow stopped working

jakob wrote #327327:

It looks like that may be your answer. The web inspector console also says:

Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy....

Try relaxing your content security policy headers to permit content from dev.colakides.com or alternatively make sure you don’t have any content coming from dev.colakides.com, e.g. relocate it to neme.org.

This is the strange thing! I have nothing coming from that subdomain. smd_search reveals nothing and I deleted the only instance I had in the htaccess

Daignostics

Textpattern version: 4.8.3 (596bca03a4b32004412499363cecec62)
Last update: 2020-09-13 15:35:36/2020-12-06 16:49:49
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_category_title
Production status: live
Temporary directory path: /path/to/tmp
PHP version: 7.4.10
GD Graphics Library: bundled (2.1.0 compatible); Supported formats: GIF, JPEG, PNG.
Server timezone: America/Los_Angeles
Server local time: 2020-12-07 05:49:36
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds): Asia/Nicosia (7200)
MySQL: 5.7.28-log (Source distribution) 
Database server time: 2020-12-07 05:49:36
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: en_GB.UTF-8
Site / Admin language: en-gb / en-gb
Web server: Apache
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 3.14.52-vs2.3.6.15-1
Admin-side theme: hive 4.8.3
Active plugins: 
	act_if_mobile-0.1.2 (modified)
	adi_matrix-2.1beta5
	adi_notes-1.4
	com_connect-4.7.0 (modified)
	etc_query-1.3.5
	ext_com_connect_verify-0.1 (modified)
	ext_file_attach-1.0.3
	fha_time_diff-0.23 (modified)
	ied_plugin_composer-1.2.1
	oui_cookie-1.0.0-BETA4
	pap_comconnect-0.1.2 (modified)
	pat_speeder-1.1
	rah_external_output-1.0.4
	rss_admin_db_manager-4.6.0
	smd_where_used-0.30
	wet_opensearch-0.1

Pre-flight check: 
------------------------

New Textpattern version 4.8.4 available for download.
------------------------

.htaccess file contents: 
------------------------

------------------------

Last update check: 2020-12-07 05:49:30, New Textpattern version 4.8.4 available for download. 

Charset (default/config): latin1/utf8mb4
character_set_client: utf8mb4
character_set_connection: utf8mb4
character_set_database: utf8mb4
character_set_filesystem: binary
character_set_results: utf8mb4
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /data/mysql/josephpauline/share/charsets/
collation_connection: utf8mb4_general_ci
collation_database: utf8mb4_general_ci
collation_server: latin1_swedish_ci
19 database tables: textpattern is utf8, txp_js is utf8

10 custom fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)

Pretext data: array (
  'request_uri' => '/c7c79306ae0574184d3371d7744c0f25/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/',
  'req' => '/c7c79306ae0574184d3371d7744c0f25/?txpcleantest=1',
  0 => 2,
  1 => 'c7c79306ae0574184d3371d7744c0f25',
  2 => '',
  'secondpass' => 0,
  '_txp_atts' => false,
  'status' => '200',
  'id' => '',
  's' => '',
  'c' => '',
  'context' => '',
  'q' => '',
  'm' => '',
  'pg' => '',
  'p' => '',
  'month' => '',


/vendors/PrismJS/prism/prism.js: 
	44f658af33ab08c62870c5d8f79f0259
/vendors/Textpattern/Loader.php: 
	947e1de5f03130d1a0d743d9d4bf1b60
/vendors/Textpattern/Skin/AssetBase.php: 
	75e80049392eedc5f1b0c50ffdb7e906
/vendors/Textpattern/Skin/FormInterface.php: 
	ff4579330b5395ed7898cd2d5015ac15
/vendors/Textpattern/Skin/PageInterface.php: 
	491f9d40e3a3b8117f58980c37ba2863
/vendors/Textpattern/Skin/CommonBase.php: 
	fa1a403067051a86ea596b71d3b1f848
/vendors/Textpattern/Skin/AssetInterface.php: 
	321de33dd825a9d95419438d106f131f
/vendors/Textpattern/Skin/CssInterface.php: 
	530b7443df187b5e47d3af6a639ca1d0
/vendors/Textpattern/Skin/Skin.php: 
	a28b1b7966fdff820c53c5fd2692bc7e
/vendors/Textpattern/Skin/CommonInterface.php: 
	8c4c5a5b8cd2f58923750253e566207c
/vendors/Textpattern/Skin/Page.php: 
	01711baaf30c688c6b08690e835977d9
/vendors/Textpattern/Skin/Form.php: 
	3faac3bbf0db4e8afad0508a32852ed5
/vendors/Textpattern/Skin/Css.php: 
	fb4b3860b7cccae3f8a19471df526959
/vendors/Textpattern/Skin/SkinInterface.php: 
	ea0c4bccd16637998d64eabb2a003859
/vendors/Textpattern/L10n/Lang.php: 
	cda6806df5c4c9a45cb190b16a859a11
/vendors/Textpattern/L10n/Locale.php: 
	7611cfc410a1f49f9ffd4f252546c748
/vendors/Textpattern/Password/Hash.php: 
	c265c6bc114432f4befc350eafce17c8
/vendors/Textpattern/Password/Adapter/PasswordHash.php: 
	f6a15f46e30eab0eb53b4f7aa69aa565
/vendors/Textpattern/Password/AdapterInterface.php: 
	32930ad148b6cda04b70945f7566535f
/vendors/Textpattern/Password/Random.php: 
	d0f127a8d31cac54040085d57a74a190
/vendors/Textpattern/Password/Generator.php: 
	8ab98722eb6d9dcf186dce558f42906c
/vendors/Textpattern/Validator/Validator.php: 
	67fdf5da4314a00bd04724f00a1f6d48
/vendors/Textpattern/Validator/CategoryConstraint.php: 
	985b5b8f1b6f68dbb13c67424c3a0bca
/vendors/Textpattern/Validator/BlankConstraint.php: 
	fd6602d50de209e2f8dfd76025cfbf42
/vendors/Textpattern/Validator/SectionConstraint.php: 
	896694330d6a8e359420e9da32f560d1
/vendors/Textpattern/Validator/FalseConstraint.php: 
	8c0d1e92c1cbd77e0d41de481d181701
/vendors/Textpattern/Validator/Constraint.php: 
	79d4e7c562a58b06b5ca374c993fc9f0
/vendors/Textpattern/Validator/ChoiceConstraint.php: 
	b5dd8a3d4e304e3100b2dae39ba00e7e
/vendors/Textpattern/Validator/TrueConstraint.php: 
	673b18e8ce08f8426a85bda09149d868
/vendors/Textpattern/Validator/FormConstraint.php: 
	7f5b8cb53b924c4b32a4f12ce625cbe8
/vendors/Textpattern/Textile/Parser.php: 
	99fea5690c6ce8bceecd69a0a7bb4cc2
/vendors/Textpattern/Textile/RestrictedParser.php: 
	d46d49fcc716083532bf421ffbdf85cc
/vendors/Textpattern/Security/Filter.php: 
	8ac713e61916c70425a731d0ec2d72e6
/vendors/Textpattern/Security/Exception.php: 
	46c987b3af3c526f063bf47cf60d35e9
/vendors/Textpattern/Mail/Encode.php: 
	a981d3a3cc455a7fa88615e442713f21
/vendors/Textpattern/Mail/Compose.php: 
	30c8c428d377722658e5845cf89b9ea1
/vendors/Textpattern/Mail/Adapter/Mail.php: 
	b5aa1e86cbf09c8ccdc6fee99ba557d1
/vendors/Textpattern/Mail/AdapterInterface.php: 
	c089fb87a60763d24aa589cca5a4e2ff
/vendors/Textpattern/Mail/Exception.php: 
	763060d8136a74c7449f2e7faac110ca
/vendors/Textpattern/Mail/Message.php: 
	92dbb5ba3fd2e908b6f9c53b96f711bf
/vendors/Textpattern/Module/Help/HelpAdmin.php: 
	84120d58acc48dec32ead3adebf9be40
/vendors/Textpattern/Date/Timezone.php: 
	47fdc11b43ce88f5ae171170e891f145
/vendors/Textpattern/Textfilter/Registry.php: 
	88b4de3151b3c252104e372d91df21be
/vendors/Textpattern/Textfilter/Plain.php: 
	9e37dca009614e043c28b0da6221990f
/vendors/Textpattern/Textfilter/Constraint.php: 
	79d0754e3be24793d74e491d47fb01d2
/vendors/Textpattern/Textfilter/Base.php: 
	798ecc573965fd29652d73d8a92491d4
/vendors/Textpattern/Textfilter/Nl2Br.php: 
	3e6ef464d5750e908df6b8e4d28624ee
/vendors/Textpattern/Textfilter/Textile.php: 
	cf06ae4d7c0cdab2b35bae6f8f4f9dc9
/vendors/Textpattern/Textfilter/TextfilterInterface.php: 
	27d541404ff4bbbb21ddf617165634ea
/vendors/Textpattern/Plugin/Plugin.php: 
	e7822bc3c097193c37fe9ec28d1e793b
/vendors/Textpattern/Admin/Paginator.php: 
	218e9277e451bc1a1e9917a089c873ea
/vendors/Textpattern/Admin/Theme.php: 
	c5a220c63a2ff63d4725fcec73c1266a
/vendors/Textpattern/Admin/Tools.php: 
	f148194a51d8d6bb1915ce154862358d
/vendors/Textpattern/Admin/Table.php: 
	a7febcda31211058ff9d99da76ee0203
/vendors/Textpattern/Server/Files.php: 
	d13d4a49879f170e16a1735f56cfffa7
/vendors/Textpattern/Server/Config.php: 
	dbaddaea1c84a79063f1b7299bb7302c
/vendors/Textpattern/Search/Method.php: 
	f2a1368481cc8bf781a9525c336de434
/vendors/Textpattern/Search/Filter.php: 
	1d2aba6643e1b6d2382257825deb1b35
/vendors/Textpattern/Container/Container.php: 
	9653aeffa179a27ead529f04d898ab9d
/vendors/Textpattern/Container/FactorableInterface.php: 
	4c75c43e40e985dbb5ca0643dace001a
/vendors/Textpattern/Container/ReusableInterface.php: 
	d03462edb9a52096a01b69c999d4906a
/vendors/Textpattern/Container/FactoryInterface.php: 
	48d909eeed80c8007e8c99b2f255a672
/vendors/Textpattern/Container/ContainerInterface.php: 
	87215cdfb9ba14484fa46e03763fa12e
/vendors/Textpattern/Iterator/FileIterator.php: 
	6e26520c022e2c45a1d982be0eab93e0
/vendors/Textpattern/Iterator/RecIteratorIterator.php: 
	c240e02875e7ea95fc9fdeaca26e834f
/vendors/Textpattern/Iterator/RecFilterIterator.php: 
	64c0159e58087519644245409dfe1740
/vendors/Textpattern/Iterator/RecDirIterator.php: 
	e405a0c0ad2bb0fd0fba983688edc60c
/vendors/Textpattern/Adaptable/ProvidableInterface.php: 
	1ccb6be6edc7b3ff2272e35d644d0421
/vendors/Textpattern/Adaptable/AdapterInterface.php: 
	fe35dd6ba0eaedc1fb54193c014021d6
/vendors/Textpattern/Adaptable/Providable.php: 
	5e8af9e9397d4f16da71e4f4fc9c1cfa
/vendors/Textpattern/Type/TypeCallable.php: 
	62e567316e44f8b5b4a4e9de31648685
/vendors/Textpattern/Type/TypeInterface.php: 
	dca0db4e29dc478438e4d0c6f56b20c4
/vendors/Textpattern/Type/StringType.php: 
	3569f32b4879517309ace40f06defe7b
/vendors/Textpattern/Http/Request.php: 
	8bfa3068cef4d98614d6b010942d2ad2
/vendors/Textpattern/DB/Core.php: 
	779c5c14052c4add4006737293f9e990
/vendors/Textpattern/Textpack/Parser.php: 
	8f68f2d5b15e300771f472f23989433d
/vendors/Textpattern/Textpack/StringInterface.php: 
	0eaf2aea2c53abc814ad12a6a356f16d
/vendors/Textpattern/Textpack/String/Iterator.php: 
	c8233d6ac4c857a770810345c7f855aa
/vendors/Textpattern/Filter/FilterCallable.php: 
	ba774a22a3be3fbf8c2d2dc4a79402ad
/vendors/Textpattern/Filter/StringFilter.php: 
	f1a962c18184fa1e489fcc12b111372e
/vendors/Textpattern/Filter/Exception.php: 
	36f733921960bc185a8d48bd39a70c1d
/vendors/Textpattern/Import/TxpXML.php: 
	2fe029d5e6e33474cc9536f81753053f
/vendors/Textpattern/Tag/Registry.php: 
	d3a06ae5bb2468fee8fdf816ccca13f7
/vendors/Textpattern/Tag/Syntax/Link.php: 
	7ec0f884da4ed3f39e1b20aa0e05a2d0
/vendors/Textpattern/Tag/Syntax/File.php: 
	506b3213539d3cab2d31958fc14ed214
/vendors/Textpattern/Tag/Syntax/Partial.php: 
	7691413b0dba50cb57c130a7f49ec9b8
/vendors/Textpattern/Tag/Syntax/Authors.php: 
	17d8275976b0b2906ba4315a14058a1b
/vendors/Textpattern/Tag/Syntax/Image.php: 
	cc06f761d1a37f6ce3f2226ea3ed9d6f
/vendors/Txp.php: 
	2a4a8b3710093792df7f9c074016737e
/vendors/jquery/jquery/jquery.js: 
	dc5e7f18c8d36ac1d3d4753a87c98d0a
/vendors/jquery/jquery-ui/jquery-ui.js: 
	c15b1008dec3c8967ea657a7bb4baaec
/vendors/Netcarver/Textile/Parser.php: 
	ca95b629865b6fc8a03d2a6d57e5e164
/vendors/Netcarver/Textile/DataBag.php: 
	67ab988e7ab1d072937acbbcb023a288
/vendors/Netcarver/Textile/Tag.php: 
	73f14c01329e27998a213b7e5b79e620
/vendors/blueimp/fileupload/jquery.fileupload.js: 
	91fa946a86ab8fd226032d8ca3ede5ee
/index.php: 
	e96f4e022d582e5a868bbfa13d0d2983
/update/_to_4.7.0.php: 
	c9159b3a8ae39b4043b0fe5ca7a5dc28
/update/_update.php: 
	3466df44919914a9a8aa6b872896999b
/update/_to_4.7.2.php: 
	97db14ef5d1c14acaf3bd49f8395b8db
/update/_to_4.5.0.php: 
	7888ba751ecd43ddb8f9c495b42f8269
/update/_to_4.5.7.php: 
	53ab3076e319727e121432227746eedb
/update/_to_4.3.0.php: 
	e08cb6276170701f00be291fdba55446
/update/_to_4.0.5.php: 
	afd860098366b0b2369bfa57c0f0ec7d
/update/_to_4.0.4.php: 
	be1739654b223bd951bf55d2f48a12f6
/update/_to_4.0.6.php: 
	0dddc6a11ed28c023e0b59828819d2df
/update/_to_4.6.0.php: 
	c78348eadea6b7be35d63a5c776a981e
/update/_to_4.0.7.php: 
	4e9e1d37870451a2e98f9c4c5ee89653
/update/_to_4.0.3.php: 
	80c3afb0dcb80edcad2c30c4cf905b16
/update/_to_4.2.0.php: 
	3c25ab6bcc7a31edb52428096c042381
/update/_to_4.8.0.php: 
	e4da9bc708ef7b21c624d0cd6016ec4f
/update/_to_4.0.8.php: 
	d5aba30d332338eb38e3e1cff08502af
/include/txp_lang.php: 
	e5836ed10e7742e17712a17baca9ccd0
/include/txp_link.php: 
	4a134cb45aa186b08b220e6419234551
/include/txp_log.php: 
	1d1a0b73807f90138034cbac3b8e5edb
/include/txp_auth.php: 
	a28a7c96d2f4740e7914fd26a7367d0f
/include/txp_css.php: 
	ce9e9342ef29f4689d59f17466424ee5
/include/txp_admin.php: 
	e9de0ef37d0bf4c8725b245700de87b0
/include/txp_prefs.php: 
	3f40cae59a8fc26d62795c77e6604cf5
/include/txp_file.php: 
	ae8290fd1b5d6a415167692c3676548f
/include/txp_diag.php: 
	a508b159b9143efd53ed0e7d454a1f55
/include/txp_section.php: 
	e127a97d71dd9207ca6ff16a1f5500ad
/include/txp_image.php: 
	28d147ecde471bd0e4a342dbb5291696
/include/txp_list.php: 
	619ea3469cf91ba6d9804830cdf926e5
/include/txp_pane.php: 
	bf2dde5f6adafe8a848bc64f56af33d6
/include/txp_category.php: 
	c5d908666194870d48bd429fac52b8dc
/include/txp_skin.php: 
	399fc5df206d85cd1af1b0a48f5413c5
/include/txp_tag.php: 
	f1c10d7dc58e0356ce17f3330fc9fb83
/include/txp_form.php: 
	3dfb85154f480fd9a0e5a6958d46c264
/include/txp_article.php: 
	647613f37634379a4d94cf7662a7321a
/include/txp_page.php: 
	53fb1aa8f57cdfc600a2553cee3f515c
/include/txp_plugin.php: 
	60e696db1f4d651cfe113900964fdb5e
/include/txp_discuss.php: 
	37f7902f0909732431cbfeacb0587a2c
/textpattern.js: 
	a3d4ae102e2674d3b683aa065d67f74e
/publish/rss.php: 
	97fcd064d44aa1f11b87d079e97f1172
/publish/taghandlers.php: 
	14facec5f7b1eb1fdda324d1ca9df23a
/publish/search.php: 
	0aa3e6b08c1bbcb020feadfbb35db67f
/publish/atom.php: 
	08a9a3ae66e26e2fdc2a0955da102bf2
/publish/comment.php: 
	102a73887324863a28be762bb64564b4
/publish/log.php: 
	6d83a06dbe11520d7e43afec10011ceb
/admin-themes/classic/classic.php: 
	5f05af5915e53fca94d56154af8f9710
/admin-themes/hive/hive.php: 
	ee91c191279335628e8c53f0b58a01d0
/admin-themes/hive/assets/js/autosize.js: 
	c12d4a53b06622f18df7f80993daffb7
/admin-themes/hive/assets/js/main.js: 
	8e6a70c4cf6524b04dcbba793bb3151d
/admin-themes/hive/assets/js/darkmode.js: 
	256ec5c3f1b984fcc388949c4410f346
/admin-themes/hiveneutral/hiveneutral.php: 
	d27d8361fe9304becb871e46232e0912
/admin-themes/hiveneutral/assets/js/autosize.js: 
	c12d4a53b06622f18df7f80993daffb7
/admin-themes/hiveneutral/assets/js/main.js: 
	8e6a70c4cf6524b04dcbba793bb3151d
/admin-themes/hiveneutral/assets/js/darkmode.js: 
	256ec5c3f1b984fcc388949c4410f346
/lib/txplib_publish.php: 
	769bf78a367e2114522243d69845b58e
/lib/txplib_theme.php: 
	27b7a1f930a3ebcde8849823cac40cf6
/lib/txplib_wrapper.php: 
	ff1afffce118dd291a615ed6540ed46a
/lib/IXRClass.php: 
	a1b525b4a9ed12dcb5677d5232a3d92e
/lib/array_column.php: 
	154ae62342164fe4d727b28813f268b6
/lib/txplib_validator.php: 
	27dd061a50d6fecfbabdaec457e277b5
/lib/txplib_db.php: 
	db369cd26901a3cb5435dc0fe7045c30
/lib/PasswordHash.php: 
	66a8aa4b2d6e0527877a797907efc035
/lib/txplib_update.php: 
	f772df9c9e145b69ff3f8af3c615572d
/lib/classTextile.php: 
	efa9a212910afd6fe90cbb08e703e1ef
/lib/taglib.php: 
	0f8171d7958d8a8123d828afd5ac41c8
/lib/constants.php: 
	5d2c24b1e3e101f932265b5b576eb7af
/lib/txplib_forms.php: 
	a00f57c72541c1844ccd321af3364bb8
/lib/txplib_head.php: 
	bd72c962f7ecff19ecea05b19b25dfc6
/lib/txplib_html.php: 
	ded5b4079b423884de311c13ac078f19
/lib/txplib_admin.php: 
	995bf4421c26658a28f29cb7249c7fbc
/lib/class.thumb.php: 
	6eae7d0b705769962596ae5a8e3eeac0
/lib/txplib_misc.php: 
	a9d2da9af5ae13107446b612ef8d47dd
/lib/class.trace.php: 
	055e3bc1f8d3217aec152fa7e6216b1d
/lib/admin_config.php: 
	5a187f910565d88a2bc188268d481b42
/publish.php: 
	932c9faf9e38a3d23d58f00cae0fe87c
/../css.php: 
	dfac7d90955ae716fc57deb069d14b36
/../index.php: 
	a2c5a8eef6c2ec86a0c319ddd15ffa05

------------------------

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2020-12-07 13:54:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,078
Website GitHub Mastodon Twitter

Re: slideshow stopped working

Bloke wrote #327329:

Is it meant to only have a single slash there?

Good catch! It must have been a typo in the htaccess instance which I deleted.
The issue remains with the slide show though, which I have no idea why it does not work.

ps. I have the same problem with js not loading with my office’s, alas out-of-date, site


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2020-12-07 18:05:57

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,089
Website Mastodon

Re: slideshow stopped working

colak wrote #327325:

After migrating to DH the slideshow I have on top of most of the projects pages stopped working and I have no idea why. Interestingly it works when previewing draft articles. Sample url.

have a read through this in case it might help:


…. texted postive

Offline

#7 2020-12-08 00:10:07

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,152
Website

Re: slideshow stopped working

Yiannis

when loading that page in Safari, the console reports two errors:

[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (reprogramming-earth, line 1)
[Error] Refused to execute a script because its hash, its nonce, or 'unsafe-inline' does not appear in the script-src directive of the Content Security Policy. (reprogramming-earth, line 16)

Given your minified HTML code, it is hard to debug and I am not sure what exactly is happening (on the HTML side). Anyway:

Step one: fully analyse your htaccess file, especially the CSP block for any typo or any unruly (possibly invalid) invisible character as obviously something is amis there. If you still have the working htaccess file from your previous host, compared to that – I have not much faith (understatement !) in Github when dealing with invisible characters.

Step two if there are still errors: disabled the minification plugin/script to make it easier to debug, see the exact line referred by the console etc.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#8 2020-12-08 02:22:13

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: slideshow stopped working

Where do you have this? I can’t find it.

<script>
  $(function() {
    $(".rslides").responsiveSlides();
  });
</script>

Offline

#9 2020-12-08 06:09:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,078
Website GitHub Mastodon Twitter

Re: slideshow stopped working

A few lines up I have <script src="https://www.neme.org/themes/neme960_v3/forms/js/responsiveslides.js"></script> and it targets <ul class="rslides"> under the menu.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#10 2020-12-08 15:54:05

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,089
Website Mastodon

Re: slideshow stopped working

try adding what GugUser suggested and see what happens


…. texted postive

Offline

#11 2020-12-08 16:03:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,078
Website GitHub Mastodon Twitter

Re: slideshow stopped working

bici wrote #327356:

try adding what GugUser suggested and see what happens

Pete was kind enough to do a pull-request on my htaccess file on github. The issue was with the Header append Content-Security-Policy where an 'unsafe-inline' directive needed to be added. It now appears to be working just fine in my browsers.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB