WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Installing Theme Failed (11 posts)

  1. Vik Sintus
    Member
    Posted 1 year ago #

    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

  2. Rajesh Soni
    Member
    Posted 1 year ago #

    You have to ask your hosting service provider to disable "Safe Mode".

  3. Vik Sintus
    Member
    Posted 1 year ago #

    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 read write and execute

    group able to read and execute

    for the other not able to do anything
    thanks for helping

  4. Rajesh Soni
    Member
    Posted 1 year ago #

    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.

  5. Vik Sintus
    Member
    Posted 1 year ago #

    I will do that and will let you know thanks

  6. Vik Sintus
    Member
    Posted 1 year ago #

    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

  7. Rajesh Soni
    Member
    Posted 1 year ago #

    /tmp is a special folder.

    You would have to involve your hosting provider (or someone else who administers / manages your server).

  8. Vik Sintus
    Member
    Posted 1 year ago #

    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

  9. Dinesh Sharma
    Member
    Posted 1 year ago #

    Same issue on my wordpress site http://www.songshelpline.com

  10. Vik Sintus
    Member
    Posted 1 year ago #

    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 you could do the same ie talk to your hosting provider

  11. Rajesh Soni
    Member
    Posted 1 year ago #

    Sounds great, cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic