[opencms-dev] Error: Cannot find valid editor for the file

Francis francis.fraikin at spw.wallonie.be
Mon Mar 12 09:52:46 CET 2012


My config seems to be correct

<?xml version="1.0" encoding="ISO-8859-1"?>
<editor>
<label>GUI_EDITOR_TITLE_FCKEDITOR_0</label>
<widgeteditor>org.opencms.editors.fckeditor.CmsFCKEditorWidget</widgeteditor>
<resourcetypes>
<type>
<name>xmlpage</name>
<ranking>200</ranking>
</type>
</resourcetypes>
<useragents>
<agent>^Mozilla/4\.0 \(compatible; MSIE [5678]\.\d*; .*\)$</agent>
*<agent>^Mozilla/5\.0 \(.*\) Gecko/20\d* .*$</agent>*
<agent>^Mozilla/5\.0 \(.*\).*Chrome.*$</agent>
<agent>^Mozilla/5\.0 \(.*\).* Version/[34].* Safari.*$</agent>
</useragents>
</editor>

Le 09/03/2012 16:47, Michael Emmerich a écrit :
> Hello Francis,
>
>> OpenCms 7.5.2
>>
>> Le 09/03/2012 13:44, Michael Emmerich a écrit :
>>> Hello,
>>>
>>> which version of OpenCms do you use?
>>>
>>>> Error received with Firefox 10.0.2 for an edit on all files
>>>>
>>>> Works with older version and my IE8
>
> Ok, not surprising, as there was no Firefox 10 when 7.5.2 was 
> released. Please do the following:
>
> 1)
> Open the file
> /system/workplace/editors/fckeditor/editor_configuration.xml
>
> for editing.
>
> 2)
> Find the <agent> definition for Firefox, this shoudl be the second entry
>
> 3) Replace it with:
> <agent>^Mozilla/5\.0 \(.*\) Gecko/20\d* .*$</agent>
>
> 4) Save the file and publish it
>
> 5) Restart OpenCms.
>
> Then the editor should work again.
>
>
>

-- 
Francis FRAIKIN
CIL SPW DG01-60      Tel : +32-4-2316401
Rue Côte d'Or 253    Fax : +32-4-2316464
B-4000  LIEGE        E-mail : francis.fraikin at spw.wallonie.be
BELGIUM




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120312/f7f94dd5/attachment.htm>


More information about the opencms-dev mailing list