Title: Theme install error from functions.php
Last modified: August 19, 2016

---

# Theme install error from functions.php

 *  [vincedepalma](https://wordpress.org/support/users/vincedepalma/)
 * (@vincedepalma)
 * [16 years ago](https://wordpress.org/support/topic/theme-install-error-from-functionsphp/)
 * When installing my theme on a live server (local install on MAMP works fine) 
   package i am getting the error show below.
    I have read that it is due to the
   PHP version on the server and not to be concerned, can someone confirm or deny
   this? ___________________________________________ Unpacking the package.
 * Installing the theme.
 * Theme Installed successfully.
 * Warning: fopen(/XXX/wp-content/themes/youth/style.css): failed to open stream:
   No such file or directory in /XXX/wp-includes/functions.php on line 3598
 * Warning: fread(): supplied argument is not a valid stream resource in /XXX/wp-
   includes/functions.php on line 3601
 * Warning: fclose(): supplied argument is not a valid stream resource in /XXX/wp-
   includes/functions.php on line 3604
    ____________________________________________________
 * The theme and everything else appear to function properly, but this error is 
   causing concern.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/theme-install-error-from-functionsphp/#post-1446282)
 * Does your theme contain a style.css file?
 * [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
 *  Thread Starter [vincedepalma](https://wordpress.org/support/users/vincedepalma/)
 * (@vincedepalma)
 * [16 years ago](https://wordpress.org/support/topic/theme-install-error-from-functionsphp/#post-1446355)
 * Yes, the site ([http://vincentdepalma.com/clients/itpays/](http://vincentdepalma.com/clients/itpays/))
   contains everything needed including the style.css. In fact the theme works 100%
   without a glitch, with the exception of this error when installing. This error
   only occurs when installing on a live server (godaddy PHP 4.x MySQL 5.0) when
   installing locally on MAMP there is no warning message. This article ([http://www.press75.com/support/topic/3389/getting-strange-fopen-fread-and-fclose-errors-on-install/](http://www.press75.com/support/topic/3389/getting-strange-fopen-fread-and-fclose-errors-on-install/))
   says the issue is with the PHP version, any thoughts on how to correct this to
   work with PHP 4.x?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years ago](https://wordpress.org/support/topic/theme-install-error-from-functionsphp/#post-1446395)
 * Have you spoken to GoDaddy? They host plenty of WordPress sites and I’d be very
   surprised if they aren’t using an appropriate version of PHP.
 *  [jason sputnik](https://wordpress.org/support/users/timmylangeveld/)
 * (@timmylangeveld)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/theme-install-error-from-functionsphp/#post-1446601)
 * Hey vincent have you figured this out already? I’m having the same issues with
   varies themes.

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

The topic ‘Theme install error from functions.php’ is closed to new replies.

## Tags

 * [fopen](https://wordpress.org/support/topic-tag/fopen/)
 * [theme error](https://wordpress.org/support/topic-tag/theme-error/)
 * [theme install error](https://wordpress.org/support/topic-tag/theme-install-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jason sputnik](https://wordpress.org/support/users/timmylangeveld/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/theme-install-error-from-functionsphp/#post-1446601)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
