• Resolved Vik Sintus

    (@vik-sintus)


    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)
  • You have to ask your hosting service provider to disable “Safe Mode”.

    Thread Starter Vik Sintus

    (@vik-sintus)

    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

    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

    (@vik-sintus)

    I will do that and will let you know thanks

    Thread Starter Vik Sintus

    (@vik-sintus)

    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

    /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

    (@vik-sintus)

    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

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

    Thread Starter Vik Sintus

    (@vik-sintus)

    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

    Sounds great, cheers!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Installing Theme Failed’ is closed to new replies.