This topic has 10 replies, 4 voices, and was last updated 8 years by Radu.

  • Author
  • #160330
     dlx
    Participant

    Hi Kleo team!

    When trying to add a new post I get this error in the visual editor:

    Failed to load plugin url: https://domain.com/wp-content/plugins/k-elements//admin/tinymce/plugin.js

    Please note the // in the url between “k-elements” and “admin”. Maybe this causes the problem.

    Kleo version: 4.1.8
    K-Elements version: 4.1.8

    Any ideas to solve this?

    Best regards,
    Jan

     

    #160453
     Laura
    Moderator
    Not marked as solution
    #160459
     dlx
    Participant
    Hello Laura, seems you have a bug in the theme - the url with double slashes causes the problem. I have a security setting in the htaccess to prevent double slashes because this can be used by hackers for URL based exploits. I deactivated this protection now but it´s really important you fix the code that loads the tinymce. Hope this will help to find the problem. To check this you can add this to the .htaccess: RedirectMatch 403 \[ <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / # stopp double slashes in URLs RewriteCond %{THE_REQUEST} ^[A-Z]+\ /(([^/\ ]+/)*)/+([^\ ]*) RewriteRule ^ /%1%3 [L,R=301] </IfModule> Best regards Jan
    #160636
     Laura
    Moderator
    Not marked as solution
    #160791
     Radu
    Moderator
    Hi, Try to do the next: Go to wp-content/plugins/k-elements/admin/tiny_mce.php at line 60 (see the next screnshot) You will have to remove the / before the admin from K_ELEM_PLUGIN_URL . '/admin/tinymce/plugin.js'; Let me know Cheers R.
    #164312
     joy
    Participant
    Not marked as solution
    #164313
     joy
    Participant
    Not marked as solution
    #164462
     Radu
    Moderator
    Not marked as solution
    #165062
     joy
    Participant
    Not marked as solution
    #165063
     joy
    Participant
    Not marked as solution
    #165392
     Radu
    Moderator
    Not marked as solution
Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?