perform the following commands in SSH on your droplet. sudo chown -R www-data:www-data /var/www/wp-content/uploads and sudo chmod -R 774 /var/www And then give access to the Read More
I could not upload images on a new droplet created in Digital Ocean. Specifications of the droplet: Ubuntu server running NGINX. I ran the following script to change permissions Read More
Use the following script to check if the user is logged into or logged out of Joomla <?php if(JFactory::getUser()->guest) { //do user logged out stuff echo 'Login'; } else Read More