I am getting an error some times when uploading themes

I am getting an error message When uploading some themes .

Warning: fopen(/home/..../public_html/...../wp-content/themes/creativeart/style.css) [function.fopen]: failed to open stream: No such file or directory in /home/...../public_html/...../wp-includes/functions.php on line 4165

Warning: fread(): supplied argument is not a valid stream resource in /home/...../public_html/...../wp-includes/functions.php on line 4168

Warning: fclose(): supplied argument is not a valid stream resource in /home/...../public_html/...../wp-includes/functions.php on line 4171

What does it mean ?I don’t understand if the problem in themes or Am I missing some thing in my WordPress Installation? I have tried the same themes in two wordpress installations and got the same error .

Read More

I am listing some of themes here .

mysticgrunge

creativeart

Does any one have idea on such error?

Related posts

Leave a Reply

1 comment

  1. From the looks of things, it’s a server issue. The WordPress theme uploader uses fopen() to transfer files from one location to the server. It looks like there’s a timeout or access error because a) fopen can’t find the file that it’s supposed to be transferring and b) the fread and fclose functions can’t find the data stream to read the file and close it.

    I would recommend manually uploading the themes instead to bypass this error. Instead of uploading the .zip file via WordPress, do the following:

    1. Unzip the theme folder somewhere on your local machine
    2. Log in to your site’s FTP system
    3. Navigate to /wp-content/themes/
    4. Use FTP to transfer the entire theme folder from your local machine to the server

    This will entirely bypass any kind of fopen/fread/fclose errors you’re getting. If there’s still a problem, then it’s an issue with either your server, your WordPress installation itself, or the actual theme and will require some more in-depth troubleshooting.