When try to install template or component then it shows the error
* JFolder::create: Infinite loop detected
* Warning! Failed to move file.
Solution :
The problem is an incorrectly set /tmp file.
1] Check the entry of ” Path of Temp folder” in admin section of joomla ( “Global Configuration<< server ” ).
2] First create /tmp folder in your document root and set this path. The default path is “/home/username/public_html/tmp” and set 777 permission to /tmp folder.