I have a shiny server running at pluto.coe.fsu.edu/rdemos/. (The site uses an apache redirect to the shiny server). Recently, I have been having problems with Rmd applications that were previously working.
An example is at https://pluto.coe.fsu.edu/rdemos/IntroStats/EffectSize.Rmd. When I try to load this file, I get the following warning messages:
The script from “https@//pluto.coe.fsu.edu/rdemos/IntroStats/shared/json2-min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. EffectSize.Rmd
The script from “https@//pluto.coe.fsu.edu/rdemos/IntroStats/shared/jquery.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. EffectSize.Rmd
Loading failed for the <script> with source “https@//pluto.coe.fsu.edu/rdemos/IntroStats/shared/json2-min.js”. EffectSize.Rmd:8:1
The script from “https@//pluto.coe.fsu.edu/rdemos/IntroStats/rmd_resources/rmd_loader.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. EffectSize.Rmd
The script from “https@//pluto.coe.fsu.edu/rdemos/IntroStats/shared/jquery.min.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. EffectSize.Rmd
Loading failed for the <script> with source “https@//pluto.coe.fsu.edu/rdemos/IntroStats/shared/jquery.min.js”. EffectSize.Rmd:9:1
... [Similar error for other .js files]
TypeError: $ is not a function shiny-server-client.min.js:2:4962
ReferenceError: preShinyInit is not defined EffectSize.Rmd:16:1
The problem seems to be related to its location in the sub directory IntroStats.
The following example in the top level is working: https://pluto.coe.fsu.edu/rdemos/NormalCalculator.Rmd.
The source code for the Rmd files is nothing special and is available at pluto.coe.fsu.edu/svn/common/rgroup-shiny/.
The server is running on RHEL 7.5 with R version 3.6.0, Shiny Server version v1.5.9.923 and Node.js version v8.11.3
Thanks in advance for any help.
--Russell Almond
P.S. I've been putting up demos for my intro stat classes and from some of my data analysis classes up at that site. Linking is welcome.
--R