[TYPO3] Problem with lfeditor
Brian Bendtsen
bb at bellevuevej.dk
Tue May 6 11:22:43 CEST 2008
Stefan Galinski skrev:
> Brian Bendtsen wrote:
>
>> Hi
>>
>> Im trying to use the LFEditor to edit the tt_news language files but I
>> get this error on every save:
>>
>> Some language files have unsufficient permissions (i.e. write permission)!
>>
>> The file has "apache" as group and the group has write permission.
>>
>> Another thing is that I can edit the file using quixplorer.
>>
>> What causes the error?
>>
>> /Brian
>
> Hi,
>
> You can apply a small workaround to fix your problem...
>
> 1) open the file mod1/class.tx_lfeditor_mod1_file.php
> 2) comment line 243 thru 246
> 3) save file and have fun
>
> In general i can't reproduce your problem. Maybe i will do the same check in
> the next version by opening the file with fopen. That should work like
> expected... ;-)
>
> Can you please post the exact permissions of the problematic file. Appears
> the problem for all language files? Any special php options (e.g. safe
> mode, open_basedir)?
>
> --
> Stefan
>
Hi
Using the workaround I get this error:
Warning:
fopen(/var/www/vhosts/domain.com/httpdocs/typo3conf/LFEditor/Backup/3868213ced.bak)
[function.fopen]: failed to open stream: Permission denied in
/var/www/vhosts/domain.com/httpdocs/typo3_src-4.2.0/t3lib/class.t3lib_div.php
on line 2661
The error appears for all language files.
The exact permissions for the file is:
-rw-rw-r-- bb apache locallang.xml
/Brian
More information about the TYPO3-english
mailing list