User tests: Successful: Unsuccessful:
...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.
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Status | Pending | ⇒ | Information Required |
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-06 20:11:12 |
Closed_By | ⇒ | brianteeman |
I am closing this at this time due to lack of instructions as requested. If they are provided it can always be reopened
Status | New | ⇒ | Closed |
Closed_Date | 2016-04-06 20:11:12 | ⇒ | 2016-04-06 20:12:32 |
@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.