Hi Lads, now this is the 3rd evening what I have been struggling with my joomla extension errors.
HERE IS MY ENVIRONMENT:
-----------------------------------------------------------------------------------
PHP Built on: Linux albatros 2.6.18-6-vserver-686 #1 SMP Sat Dec 27 11:44:04 UTC 2008 i686
Database Version: 5.0.32-Debian_7etch10-log
Database Collation: utf8_general_ci
PHP Version: 5.2.0-8+etch13
Web Server: Apache
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.15 Stable [ Wojmamni Ama Mamni ] 05-November-2009 04:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; sk; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
-----------------------------------------------------------------------------------
Firstly I recommend to read these threads to get a better feel with this issue:
http://docs.joomla.org/Why_can%27t_you_ ... ensions%3F
http://docs.joomla.org/How_to_solve_Ins ... on_Manager
http://www.jfoobar.org/blog/258-quickgu ... layer.html
Firstly I had to enable my FTP Settings to:
-------------------------------------------
var $ftp_enable = '1';
var $ftp_host = 'YOURHOST.com';
var $ftp_port = '21';
var $ftp_user = 'USERNAME';
var $ftp_pass = 'PASSWORD';
var $ftp_root = '/web/';
-------------------------------------------
(take it easy with configuration.php file, I did all from File-Global Configuration, it's more confy)
Now, make sure you hit the right var $ftp_root: /www, or /web, or /anything else (check your website's structure)
If you dont catch the right var $ftp_root, you're gonna get an error, something about cannot saving the configuration file.
As soon as I have hit the right var $ftp_root, the global configuration has successfully saved and I moved on to the next step.
I have modified permissions of my entire website to '777' (temporarily for testing purposes) using my FILEZILLA software.
IF
var $ftp_enable = '1'; <---- OK
var $ftp_host = 'YOURHOST.COM'; <---- OK
var $ftp_port = '21'; <---- OK
var $ftp_user = 'USERNAME'; <---- OK
var $ftp_pass = 'PASSWORD'; <---- OK
var $ftp_root = '/vap/www/web129/web/'; <- WRONG (one subfolder was missing)
I GOT THIS ERROR:
* JFTP::store: Bad response
* Warning! Failed to move file.
-----------------------------------------------------------
IF
var $ftp_enable = '1'; <---- OK
var $ftp_host = 'YOURHOST.COM'; <---- OK
var $ftp_port = '21'; <---- OK
var $ftp_user = 'USERNAME'; <---- OK
var $ftp_pass = 'PASSWORD'; <---- OK
var $ftp_root = '/vap/'; <- MADE IT A SHORT VERSION LOOKED THE SAME LIKE WRONG 'var $ftp_root'
I GOT THIS ERROR: JFolder::create: Infinite loop detected
-----------------------------------------------------------
FINALLY I CAUGHT THE RIGHT var '$ftp_root', when I have created a path.php and used in from this guide:
http://docs.joomla.org/How_to_solve_Ins ... on_Manager
This means that there are some server settings which are wrong. You have to go to your global configuration and click on server. The first field is Path to Temp-folder and that's most likely the local path of you local install. You have to give in your live server path.
There are multiple ways to find that path. The easy one is to create a path.php file that has the following code in it:
<?php
echo getcwd();
?>
Go to example.com/path.php and this will give you the right directory. Put /tmp behind it, place it in Path to Temp-folder and your done.
The path.php showed me the right path, in my case /vap/www/web129/web/tmp, which I have just put into var '$ftp_root' and a wonder happened. Thx god I've guit smoking otherwise I
would have been smoking my ar.e right now!
IF
var $ftp_enable = '1'; <---- OK
var $ftp_host = 'YOURHOST.COM'; <---- OK
var $ftp_port = '21'; <---- OK
var $ftp_user = 'USERNAME'; <---- OK
var $ftp_pass = 'PASSWORD'; <---- OK
var $ftp_root = '/vap/www/web129/web/tmp' <---- ok
RESOURCES:
http://docs.joomla.org/Why_can%27t_you_ ... ensions%3F
http://docs.joomla.org/How_to_solve_Ins ... on_Manager
http://www.jfoobar.org/blog/258-quickgu ... layer.html
AND ALL JOOMLA FORUMS.