TinyMCE broken (sometimes)

Changing our journal’s domain name from our test server name seems to have broken the tinymce plugin. You can see this here:

http://jocg.org/index.php/jocg/user/register (broken tinymce plugin for mailing address and bio)


http://journals.carleton.ca/jocg/index.php/jocg/user/register (working tinymce plugin)

(These are both on the same server—just with different host names.)

I guess this has something to do with an incorrect relative url, but I can’t seem to find what to fix.

In config.inc.php we’re using the base_url http://jocg.org/index.php/jocg , in case that helps.

Hi @Pat_Morin,

See e.g. this post:

Alec Smecher
Public Knowledge Project Team

The solution in the previous topic will not permanently resolve the issue. It will just move the problem from one URI to the other.

The solution is included in the upcoming 2.4.6 (*8798* Fix TinyMCE cache file when a single OJS install hosts multiple journals... by ctgraham · Pull Request #179 · pkp/pkp-lib · GitHub), or via a simple patch: https://github.com/ulsdevteam/pkp-lib/commit/312ddb24c4b6a0defaed7e7405f7d69e733b8fbb.diff

1 Like

Thanks. I’ve applied @ctgraham’s patch and it worked perfectly.

Have not been able to upload images directly via TinyMCE.
After upload, the small icon appear on the place of uploaded images like offline images.

Presently have to first upload the images on some blog and then copy to our main site (http://thescholedge.org).

Pl suggest.

Hi @Sunil_Sharma,

This is a separate issue; could you post it in a new thread?

Alec Smecher
Public Knowledge Project Team

Thanks for suggestion. I have created new thread on the issue at TinyMCE not working in terms of image uploads

Pl see. Thanks.