Errors Using Mathjax on Joomla

19 views
Skip to first unread message

astarmaths...@gmail.com

unread,
Jan 14, 2017, 5:56:23 PM1/14/17
to MathJax Users
I am using myown mathjax installation on joomla with a plugin called jatex.
The mathjax installation is working ok. I have a symlink from https://astarmathsandphysics.com/mathjax to /usr/share/javascript/mathjax and the test pages in https://astarmathsandphysics.com/mathjax/test/ load ok using this symlink.
Unfortunately, joomla itself does not load mathjax with the url to mathjax https:///astarmathsandphysics.com/mathjax/MathJax.js?yadeyadeya
The standard mathjax cdn does work however I really want to use my own installation.
Any ideas how to fix this?

Davide Cervone

unread,
Jan 15, 2017, 5:47:42 PM1/15/17
to mathja...@googlegroups.com
> Unfortunately, joomla itself does not load mathjax with the url to mathjax https:///astarmathsandphysics.com/mathjax/MathJax.js?yadeyadeya

The URL has three slashes where it should only have two. It should be

https://astarmathsandphysics.com/mathjax/MathJax.js?yadeyadeya

With three, I think the host would be inserted automatically between the second and third slashes, so it would become

https://astarmathsandphysics.com/astarmathsandphysics.com/mathjax/MathJax.js?yadeyadeya

which is not correct, and would fail to find MathJax.js. You might try looking at the server logs to see if there are failed attempts to locate a file like this.

That's my best guess. Without seeing the page with the local URL in place, it is hard to tell for sure what is going wrong. But the three slashes might be it.

Davide

astarmaths...@gmail.com

unread,
Feb 12, 2017, 5:46:53 PM2/12/17
to MathJax Users, astarmaths...@gmail.com
I fixed in. In jach optimize, a caching plugin which combines files, disable the option to combine javascripts
Reply all
Reply to author
Forward
0 new messages