Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No render in last versions #242

Closed
juanparra64 opened this issue Jun 29, 2022 · 4 comments
Closed

No render in last versions #242

juanparra64 opened this issue Jun 29, 2022 · 4 comments

Comments

@juanparra64
Copy link

juanparra64 commented Jun 29, 2022

Hi.
I have been using RPB Chessboard for some years, but since last updates, all my chessgames are missing in all my webpages. I can see the right rendering in Maxthon 5, but all the games are not diplayed in Chrome, Firefox or Maxthon 6.
In this page I have 3 games: https://www.guapaweb.es/en-memoria-de-un-amigo-jose-carlos-menendez-solar/
This is an image of the first game in Maxthon 5:
2022-06-29 21_43_19-game1
The code of this game is:
[pgn_compat navigation_board=left piece_symbols=figurines url="https://www.guapaweb.es/wp-content/uploads/2022/06/202206p19841222carlosparra.pgn" game=0][/pgn_compat]

The other two games are similar:
[pgn_compat navigation_board=left piece_symbols=figurines url="https://www.guapaweb.es/wp-content/uploads/2022/06/202206p20080703arribasmaritzacarlos.pgn" game=0][/pgn_compat]

[pgn_compat navigation_board=frame piece_symbols=figurines url="https://www.guapaweb.es/wp-content/uploads/2022/06/202206p20211127carlosmontousse.pgn" game=0][/pgn_compat]

Thanks in advance.

@yo35
Copy link
Owner

yo35 commented Jun 29, 2022

Hi,
It seems you have a cache plugin (LiteSpeed) that performs some risky optimization operations regarding how JavaScript files are loaded, typically using deferred/async loading. You should try to disable that.

@yo35
Copy link
Owner

yo35 commented Jun 30, 2022

I've released a new version (7.3.1) that may mitigate this rendering issue in configuration such as yours. Still, given the number of errors and warnings that are raised when I display your frontpage in a browser, there is definitely something wrong with the configuration of your website:

errors

(screenshot taken with Firefox, but the result is more or less the same with Chrome)

@yo35
Copy link
Owner

yo35 commented Jun 30, 2022

By the way, when your website is loaded without LiteSpeed cache optimizations (using the /?LSCWP_CTRL=before_optm trick, as advised in https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/), the chess games are OK.

I suspect the JS minify feature implemented in LiteSpeed to have some nasty side effects.

@juanparra64
Copy link
Author

I deactivated the option and it is running ok again!
2022-06-30 10_51_47-LiteSpeed
I don´t know why this occurred, may be some update of the plugin, because it is with the default options since I installed it.
Thanks a lot and best regards!

@yo35 yo35 closed this as completed Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants