Bug #23032
closedclass.t3lib_extfilefunc.php func_copy can not move folder recursively on windows server (but func_move works)
0%
Description
class.t3lib_extfilefunc.php function func_copy can not move folder recursively on windows server...
If you move a folder with files in it the function func_copy returns "$this->writelog(2,2,130,'The item "%s" was not a file or directory!',Array($theFile));" on line 536
func_move works with the very same directory...
1.) Install TYPO3 on Windows
2.) Set 'dont_use_exec_commands' in install tool (as recommended for windows)
3.) create folder in fileadmin, and upload files into it
4.) copy folder in fileadmin in the filelist modules
5.) insert folder into another folder within fileadmin in the filelist module
The problem is within this line, which returns fals:
...
} elseif (@is_dir($theFile) && !$this->dont_use_exec_commands) {
...
$this->dont_use_exec_commands is true so it definitely hangs on the is_dir.
Maybe because there is a '/' on the end of the path.
Related to: http://bugs.typo3.org/view.php?id=7469
(issue imported from #M14910)
Updated by Jonas Felix over 14 years ago
Related to: http://bugs.typo3.org/view.php?id=7469
Updated by Steffen Kamper over 14 years ago
I can reproduce, error also appears without 'dont_use_exec_commands' setting.
I will fix it.
Updated by Xavier Perseguers almost 13 years ago
- Assignee deleted (
Steffen Kamper) - Target version deleted (
0)
Updated by Mathias Schreiber almost 10 years ago
- Status changed from Accepted to Needs Feedback
- Is Regression set to No
When will you fix it? ;-)
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.