Hi,

I'm very sorry, but I just don't know what to do now. I have followed the setup and configuration steps, but when I click on the Flash icon in CKEditor I can't upload an MP3 file. The "flash" directory is selected by CKFinder and will not accept non-.swf files.

It seems to me I've either missed a step in this module's configuration, or my CKEditor interface is missing a "media" button because of a CKEditor misconfiguration. All the latest versions installed.

Any suggestions appreciated with great thanks. I will certainly report back here immediately I find a solution.

Comments

ozish’s picture

OK I have checked out the test site, and will now try to change the default directory that opens when clicking on the Flash icon in CKEditor.

ozish’s picture

Fixed it - I had to edit ckfinder/config.php and add mp3 to the Flash ResourceType as shown below:

$config['ResourceType'][] = Array(
		'name' => 'Flash',
		'url' => $baseUrl . 'flash',
		'directory' => $baseDir . 'flash',
		'maxSize' => 0,
		'allowedExtensions' => 'swf,flv,mp3',
		'deniedExtensions' => '');

Sometimes just posting here focuses the mind ;-)

ozish’s picture

Assigned: Unassigned » ozish
Status: Active » Fixed

:)

anrikun’s picture

Assigned: ozish » Unassigned
Status: Fixed » Closed (fixed)
ozish’s picture

Sorry about that anrikun, and thank you for the module. I just thought that I should add that in the end I never did get it working properly with CKFinder, so tried IMCE and got it working immediately. Probably user error somewhere along the way.

anrikun’s picture

Any experience feedback is always welcome ozish ;-)

kcannick’s picture

Status: Closed (fixed) » Active

I am having the same issue and have not found any solution. Can't select mp3s in file browser. Saw the comment about adding mp3 to config file but cannot find where the config file ckfinder/config.php is. Please help me.

anrikun’s picture

What version of the module do you use?
Do you use CKFinder or IMCE?

kcannick’s picture

I'm using the latest official release of all. I am using IMCE

anrikun’s picture

Version: 6.x-2.0-beta2 » 6.x-2.2

So I assume you use CKEditor SWF 6.x-2.2.
*Now list and describe the steps to reproduce your problem.*
What do you mean by "Can't select mp3s in file browser.": don't mp3 show up in the file browser?