Opened 11 years ago

Closed 7 years ago

#2455 closed Bug (wontfix)

Perl connectors IO timeout errors

Reported by: Jigs Owned by:
Priority: Normal Milestone:
Component: Server : Perl Version:
Keywords: Cc:

Description

Hello,

I have been trying for weeks to get the Perl connectors working correctly in FCKEditor. I have followed all available documentation.

Description of Problem: Using the quick upload (Click Image Icon, Upload Tab, Send to Server) using version 2.6.3 will successfully upload an image to the directory specified in $img_dir (upload_fck.pl). However, the Dialog box with progress indicator hangs and a response that the upload is finished never returns to the browser. My error logs show that the connectors "are not producing valid headers (read failed, error is IO timeout error)"

I have changed the $GLOBALS{'UserFilesPath'} to every path I can think of and CHMOD 777 them, but no matter what I specify there, the path is completely ignored and the file is uploaded to the $img_dir as specified in upload_fck.pl

Also, I agree with a previous ticket: 1259 that the connector is very insecure to take the Form parameter as trusted $GLOBALS{'UserFilesPath'} = $FORM{'ServerPath'};

Is this a case where Perl is on the backburner while PHP receives all the updates? Or am I just not configuring it correctly?

Change History (3)

comment:1 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Component: GeneralServer : Perl
Keywords: userfilespath $img_dir removed

You can see in http://dev.fckeditor.net/wiki/ServerSideStatus that the Perl integration is lacking behind other connectors. Someone that uses Perl needs to step up as a maintainer that keeps up with the rest of the code.

comment:2 Changed 10 years ago by Alexandr Ciornii

It is enough to say that Perl programs in FCKeditor do not start with "use strict;". They look like they are written in Perl 5 and they do not use any CGI module - they do parameter handling themselfs.

See http://dev.fckeditor.net/ticket/2561 for a small attempt to make better Perl programs.

comment:3 Changed 7 years ago by Jakub Ś

Resolution: wontfix
Status: newclosed

Perl connector was only available in FCKeditor which is no longer supported.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy