2011-09-05, 01:44:33
(This post was last modified: 2011-09-05, 01:45:30 by Horse riding.)
Regarding to this problem, just in case anybody needs it, I have solved by:
I am using PHP Version 5.3.3-1ubuntu9.5, this might be a bug in this PHP version for not able to set file permission correctly by the mkdir() function, but forcing via chmod() once again solved the problem.
Code:
### 1. Open file
admin/upload.php
### 2. Around line 84 find
if (mkdir($path . $cleanname, $chmod_value)) {
### 3. Below add
chmod($path . $cleanname, $chmod_value);
I am using PHP Version 5.3.3-1ubuntu9.5, this might be a bug in this PHP version for not able to set file permission correctly by the mkdir() function, but forcing via chmod() once again solved the problem.