I get an error when I try to install modules in my Drupal.

If you receive an error message like the one provided below while trying to install a module to your Drupal, there is a simple solution for it:

The specified file temporary://filename could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.

The issue is caused by an incorrect setting of your temporary directory, which is being set during the installation process.

You can fix this issue by going to Configuration > Media > File System and change the Temporary directoryvalue from /tmp to tmp.

After this you will be able to perform the installation of your module.

You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix the Drupal cron when halted?

If your Drupal cron fails to run then most probably the process is stuck and needs to be fixed...

How to disable comments in Drupal

Very often Drupal (especially outdated versions) has problems with Spam bots which flood its...

What is streaming/broadcasting?

Streaming is a term often used to define the display of video and audio media in real time....

How to display FeedBurner feeds on your website?

FeedBurner provides you with a lot of useful statistics about the usage of your feeds. Using...

How to enable RSS in Drupal?

RSS stands for Really Simple Syndication - a web feed format for publishing frequent updates of...