Changed folders from 777 to 755. It's better not to use 777 folder permissios for security reasons and some hosts will not allow folders to be set to 777 resulting in errors.