I had a joomla site i was developing for a client recently but by the time i decided to extend it in a sophisticated way as i always do with my sites, but to my surprise i couldn't upload any module as it keeps producing errors like "Please enter a package directory". Actually this gave me a little headache because i could not imagine having a site i can't module up the way i like but after looking around , i finally solved the problem.
Now lets follow up the errors associated with these one after the other.
ELIMINATING THE FTP ERRORS THAT APPEARS WHEN YOU TRY TO INSTALL A MODULE.
- Go to Admin control panel
- Go to" Site" on the top menu
- Go to "global configuration"
- Click on "Server" on the top menu
- Scroll down and get to "FTP SETTINGS"
- Juts enter your normal FTP settings by your host and then save.
This will elimate those FTP errors you get in red colours when trying to upload a module. It will also help to solve most error problems you get around the site related to FTP.
UPLOADING AND INSTALLING YOUR EXTENSION FILES SUCCESSFULLY;
There are two approaches to this.
1. Just download the extension you want to install, unzip the files
Open up your ftp program or root folder in your server and then create a folder and call it any name, then upload the files you want to install to that folder, then go back to your install/uninstall under extensions menu and then use the option "install from directory" Change the directory url to your latest folder where your inteded files are stored i.e /home/user/public_html/your new folder
Then click on install and you are done.
2 The second approach which is the simplest one is to simply dowload the extension, then do not unzip it or if unzipped, use a zip program to zip up the folder and then use the "Upload package file" option to upload and install the extension.
Afterwards you can click on module option and then configure and enable the actual module installed.
If you are having problems with these please let me know by leaving a comment here.
Hope this helps out.