Joomla! 1.5.3 FTP layer and upload problems (update)

I’ve encountered a really nasty problem with a Joomla! 1.5 installation for a client of mine. It has to do with the default PHP upload function.
The problem manifested like this: Upon uploading and installing a plugin, because the server was using PHP 4 I needed to make some modifications to the plugin php files since it used the array_combine() function that was supported only in PHP 5. So far so good until I realized I couldn’t change – rename – delete – change the permissions on the files I wanted, because my ftp user didn’t have any rights.

Apparently the reason behind this is that when I installed via Joomla! that the “owner” of the created folders/files etc. is being set to “nobody”.

This was really annoying mostly because if I would try with the ftp layer I have problems just installing anything (templates, modules, plugins, components) but if I disable ftp I can install but then i can’t change the permissions via ftp which will allow me to edit any files.

Searching the Joomla! Forums I came across this post . I couldn’t find a really good solution so I’m not certain what to do now.

The apparent solution would be to make the modifications to the plugin on my local server and then upload them. All this for a copy-paste of code in a file online.

Also tried to install from a directory on the server without any success.

I haven’t finished the client’s website but I’ll have to find a solution although I don’t have high expectations and probably will have to make the modifications offline.


After some fiddling around with the settings I managed to find a suitable solution. Basically I’ve set up the FTP layer and installed the component.

1. Setting up the FTP layer in Joomla!

The tricky part here is finding the root of the website. Also the /tmp and /log folders also needed to be exactly specified or it won’t work ok.

The settings for me wore :

Path to Temp-folder: /home/account-name/public_html/tmp
Path to Log folder: /home/account-name/public_html/logs

For the FTP settings I used an account that has full ftp access higher then public_html . In this case :

FTP Root: /

2. Uploading the plugin using the Directory Install

Installing directly by uploading the component didn’t work for me… I’ve received the following errors:
JFTP::write: Bad response
JFTP::delete: Bad response
JFTP::write: Bad response

So I decided to try and install the component using the Directory Install Option. I’ve unpacked my component on my HDD and uploaded it here:


Please note that this is the path that you have to write in your “Install Directory:” input also.

The component installed successfully and I can now modify it’s files from ftp.

I’m relived that I got this sorted, because I believe Joomla! 1.5 to be a big step forward compared to 1.0 and it would have been a shame to spoil it with something like this. I still don’t think this is the best way to do this but it’s a start.

Subscribe to get early access

to new plugins, discounts and brief updates about what's new with Cozmoslabs!

8 thoughts on “Joomla! 1.5.3 FTP layer and upload problems (update)

  1. I think the hoops one has to jump through to get files to ftp properly in joomla are a big turn off.

    I know it has alot to do with users knowledge of permissions and ownership but look at m$ , its soooo much easier, I used dotnetnuke for ages, and never had stupid problems like this.

  2. …I have spent about 5 hours googling a solution to this (errors upon installing theme/languages/extensions)…
    the strange thing is…there are a lot of hits with this problem, hardly any with a simple solution…
    this is a big drawback of this cms i feel.
    thank you for this though…it will be another try in an endless attempts of installing something extra on joomla

  3. Hi man, that is the problem I didn’t solve…
    But I can’t understand somethings…
    “So I decided to try and install the component using the Directory Install Option.”

    “The component installed successfully”

    What component? Do u have a plugin which fixes ftp?
    I didn’t understand how to fix it.. can u clarify it?

  4. Yea…what if i deleted all the files and just few left and i dont have the premission to delete them!
    Yet i own the domain and the host.
    I dont have premission via ftp and i dont have any joomla to do the changes on!

    Im radically forked!
    Ant ideas?

  5. @Joy I think you have to open a ticket at your hosting help desk and they will change the permissions for those files. Right now those files can be modified by the user “nobody” that is set up by php as default.

    Other that or delete them through a php script directly on the server ( – although I’m not sure if that will work)

  6. I’ve tried your solution, and it doesn’t work for me, instead of (…)com_installer/com_fabrik I’ve created com_installer/jpl and installed language package from it – owner of the language directory is wwwrun not my user

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.