Title: Installing Theme Failed
Last modified: August 20, 2016

---

# Installing Theme Failed

 *  Resolved [Vik Sintus](https://wordpress.org/support/users/vik-sintus/)
 * (@vik-sintus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/)
 * Hello there,
    I am new to wordPress, and I install it in a subdomain…everything
   went well … the dashboard looks very pretty and try to install one of the designs
   from the themes but it showing error as shown below
 *     ```
       Installing Theme: Custom Community 1.14
       Downloading install package from http://wordpress.org/extend/themes/download/custom-community.1.14.zip…
   
       Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 10094 is not allowed to access /tmp owned by uid 0 in /var/www/vhosts/cottagesfortwo.com/subdomains/phillipisland/httpdocs/wp-admin/includes/file.php on line 179
   
       Warning: unlink() [function.unlink]: SAFE MODE Restriction in effect. The script whose uid is 10094 is not allowed to access /tmp owned by uid 0 in /var/www/vhosts/cottagesfortwo.com/subdomains/phillipisland/httpdocs/wp-admin/includes/file.php on line 493
       Download failed. Destination directory for file streaming does not exist or is not writable.
       ```
   
 * help please

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545768)
 * You have to ask your hosting service provider to disable “Safe Mode”.
 *  Thread Starter [Vik Sintus](https://wordpress.org/support/users/vik-sintus/)
 * (@vik-sintus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545779)
 * uh, thanks Rajesh
    I actually can access that part of the server but I am not
   sure which folder should I change or disable the safe mode. Is it the httpdocs
   folder?
 * the **httpdocs** folder of my subdomain have this **rwx r-x—**
    which the **owner**
   able to **r**ead **w**rite and e**x**ecute
 * **group** able to **r**ead and e**x**ecute
 * for the **other** not able to do anything
    thanks for helping
 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545781)
 * > Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script
   > whose uid is 10094 is not allowed to access **/tmp** owned by uid 0 in /var/
   > www/vhosts/cottagesfortwo.com/subdomains/phillipisland/httpdocs/wp-admin/includes/
   > file.php on line 179
 * You need to set permissions to allow **group** to **write** to **/tmp** as well
   as **httpdocs**
 * And also make sure **uid 10094** is in the group that has write access to those
   folders.
 *  Thread Starter [Vik Sintus](https://wordpress.org/support/users/vik-sintus/)
 * (@vik-sintus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545782)
 * I will do that and will let you know thanks
 *  Thread Starter [Vik Sintus](https://wordpress.org/support/users/vik-sintus/)
 * (@vik-sintus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545849)
 * Hello Rajesh
    I stil have no luck, I don’t have any folder named **tmp** in my
   whole entire file structure and also I don’t have **uid 10094** as I am the only
   one who can access the control panel area of my server.
 * When I opened the **/httpdocs/wp-admin/includes/file.php** line 179 and it surrounding
   neighborhood it looks like this
 *     ```
       $filename = preg_replace('|\..*$|', '.tmp', $filename);
       	$filename = $dir . wp_unique_filename($dir, $filename);
       	touch($filename);
       	return $filename;
       ```
   
 * and the exact line 179 the **touch($filename);** bit
 * and the same goes to the line 493 of the error
 *     ```
       if ( is_wp_error( $response ) ) {
       		unlink( $tmpfname );
       		return $response;
       	}
       ```
   
 * and the **unlink( $tmpfname );** is on the exact line of 493
    thank you for your
   help
 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545857)
 * /tmp is a special folder.
 * You would have to involve your hosting provider (or someone else who administers/
   manages your server).
 *  Thread Starter [Vik Sintus](https://wordpress.org/support/users/vik-sintus/)
 * (@vik-sintus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545864)
 * Thank you Rajesh,
    it must be Sunday, the hosting companies only have automated
   answers. Maybe they can help me with the /tmp folder tommorow, will inform you
   what happen next, for sure
 *  [Dinesh Sharma](https://wordpress.org/support/users/dinesh-sharma/)
 * (@dinesh-sharma)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3545975)
 * Same issue on my wordpress site [http://www.songshelpline.com](http://www.songshelpline.com)
 *  Thread Starter [Vik Sintus](https://wordpress.org/support/users/vik-sintus/)
 * (@vik-sintus)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3546002)
 * Hello Rajesh,
    just to let you know I followed your instruction about the hosting
   provider an now my problem is resolved thanks again. My hosting provider did 
   not provide the wordpress friendly environment, but they gladly do it for me 
   at no extra charge.
 * [@dinesh](https://wordpress.org/support/users/dinesh/) you could do the same 
   ie talk to your hosting provider
 *  [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * (@rajeshsoni)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3546007)
 * Sounds great, cheers!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Installing Theme Failed’ is closed to new replies.

## Tags

 * [Failed](https://wordpress.org/support/topic-tag/failed/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [Rajesh Soni](https://wordpress.org/support/users/rajeshsoni/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/installing-theme-failed/#post-3546007)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
