? Success

User tests: Successful: Unsuccessful:

avatar compojoom
compojoom
30 Apr 2015

...eated

I had a customer who uses FTP mode on his installation. When my code tried to create a thumb we got a fatal error:
Folder does not exist and cannot be created:

The reason for this was line 261 in JImage:
if (!is_dir($thumbsFolder) && (!is_dir(dirname($thumbsFolder)) || !@mkdir($thumbsFolder)))

Mkdir can't create the folder when the user is using ftp mode, that's why changing this line to use JFolder::create instead fixes the issue.

Testing this is easy, but you need 2 things.
1. A site that uses ftp mode
2. A script that uses JImage->createThumbs.

avatar compojoom compojoom - open - 30 Apr 2015
avatar zero-24 zero-24 - change - 30 Apr 2015
Category Libraries
avatar zero-24 zero-24 - change - 30 Apr 2015
Status New Pending
avatar zero-24 zero-24 - change - 30 Apr 2015
Labels Added: ?
avatar brianteeman
brianteeman - comment - 11 Mar 2016

@compojoom Daniel your change sounds logical but its not had any testers. If you can provide a script that uses JImage->createThumbs then it will be easier for people to test and more likely to progress. Otherwise its just going to sit here all sad and lonely and will probably be closed due to lack of interest


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6866.

avatar brianteeman brianteeman - change - 11 Mar 2016
Status Pending Information Required
avatar brianteeman brianteeman - change - 6 Apr 2016
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2016-04-06 20:11:12
Closed_By brianteeman
avatar brianteeman brianteeman - close - 6 Apr 2016
avatar brianteeman brianteeman - close - 6 Apr 2016
avatar brianteeman
brianteeman - comment - 6 Apr 2016

I am closing this at this time due to lack of instructions as requested. If they are provided it can always be reopened


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6866.

avatar brianteeman brianteeman - change - 6 Apr 2016
Status New Closed
Closed_Date 2016-04-06 20:11:12 2016-04-06 20:12:32

Add a Comment

Login with GitHub to post a comment