• To prevent the error, “Invalid type specified”, while linking to a file with the File Manager, I had to make the following changes to this file: ckeditor-for-wordpress/filemanager/connectors/php/config.php

    Line 58:
    $Config['ConfigAllowedTypes'] = array('Files', 'Images', 'Flash') ;
    Should be:
    $Config['ConfigAllowedTypes'] = array('File', 'Image', 'Flash') ;

    Lines 116-121:
    [Files] should be [File]

    Lines 123-128:
    [Images] should be [Image]

    http://wordpress.org/extend/plugins/ckeditor-for-wordpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dmallon

    (@dmallon)

    While my previous post did solve the “Invalid type specified” problem while linking to uploaded files, it had the effect of creating a similar problem while browsing the server for uploaded images.

    I now believe the actual problem is in this file: ckeditor-for-wordpress/filemanager/browser/default/frmresourcetype.html

    Beinning at line 37:

    var aTypes = [
    	['File','File'],
    	['Image','Image'],
    	['Flash','Flash'],
    	['Media','Media']
    ] ;

    Should be:

    var aTypes = [
    	['Files','File'],
    	['Images','Image'],
    	['Flash','Flash'],
    	['Media','Media']
    ] ;

    Fixed in 1.0, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: CKEditor For WordPress] filemanager/connectors/php/config.php Needs Updating’ is closed to new replies.