Opened 15 years ago

Closed 15 years ago

#4626 closed Bug (invalid)

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 Wiktor Walc)

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 (1)

comment:1 Changed 15 years ago by Wiktor Walc

Description: modified (diff)
Keywords: CKFinder added
Priority: HighNormal
Resolution: invalid
Status: newclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy