When trying to install a Component / Module or Bot and receiving the following error:
Failed to create directory "/home/username/public_html/components/com_component/ "
Please check the following;
Configuration.php - check for trailing slashes, if so remove them, server path is /home/username/public_html not /home/username/public_html/
php.ini - check if this file exist in either your /public_html or /public_html/administrator directory, if so check if this file contains the message:
safe_mode = 1 or safe_mode = on
in that case change it to:
safe_mode = 0 or safe_mode = off