Support » Plugin: Magic Fields 2 » file upload "no editor could be chosen"

Viewing 9 replies - 1 through 9 (of 9 total)
  • Until this is officially fixed, you can fix this problem by editing the magic-fields-2/admin/mf_upload.php file and replace this line:

    $thumb =  aux_image($filename,"w=150&h=120&zc=1",'image_alt');

    with this one:

    $thumb =  ($file_type == 'image') ? aux_image($filename,"w=150&h=120&zc=1",'image_alt') : "";

    Good luck!

    Thread Starter donald91

    (@donald91)

    Thanks for your help!
    Hope they will get it in the update soon…

    This just saved me. Thanks!!!

    Plugin Author hunk

    (@hunk)

    Sorry for that. i send the fix to github, if you can test and tell me if work fine i really appreciate https://github.com/magic-fields-team/Magic-Fields-2

    Nish

    (@polroti)

    having similar issue, upload icons not working.
    I cant upload new images to website.

    Plugin Author hunk

    (@hunk)

    hi polroti, do you have some error in javascript console?

    Nish

    (@polroti)

    I see this message in the Firebug console widnows…

    {“wp-refresh-post-lock”:{“new_lock”:”1458579325:1″},”wp-auth-check”:true,”server_time”:1458579325}

    Nish

    (@polroti)

    her is what I see instead of upload button
    click here

    Plugin Author hunk

    (@hunk)

    this was a detail with htaccess. we resolve this detail with this:

    <FilesMatch “^(mf_upload)\.php$”>
    <IfModule !mod_authz_core.c>
    Order allow,deny
    Allow from all
    </IfModule>
    <IfModule mod_authz_core.c>
    Require all granted
    </IfModule>
    </FilesMatch>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘file upload "no editor could be chosen"’ is closed to new replies.