Ticket #4626 (closed Bug: invalid)

Opened 5 years ago

Last modified 5 years ago

CKFinder 1.4.1.1 has a bug that prevents client uploading when the server uses PHP5

Reported by: joesu Owned by:
Priority: Normal Milestone:
Component: Server : PHP Version:
Keywords: CKFinder Cc:

Description (last modified by wwalc) (diff)

Symption: CKFinder complains about file system permission problem when a client tries to upload files.

Reason: $sServerDir does not get initialized in FileUpload.php

Patch: Add the following line to line 130 of core/connector/php/php5/CommandHandler/FileUpload.php

$sServerDir = $this->_currentFolder->getServerPath();

Change History

comment:1 Changed 5 years ago by wwalc

  • Priority changed from High to Normal
  • Status changed from new to closed
  • Resolution set to invalid
  • Description modified (diff)
  • Keywords CKFinder added

Are you sure you haven't changed anything in this file before getting this error (e.g added custom code?)?

I'm asking because:

$sServerDir = $this->_currentFolder->getServerPath();

is already set in

  • core/connector/php/php5/CommandHandler/FileUpload.php, line 127
  • core/connector/php/php4/CommandHandler/FileUpload.php, line 128

If you think you have found a bug, please reopen this issue and provide us more information.

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