WordPress.org

Support

Support » Themes and Templates » Theme Installation Error (Permission denied line 472?)

Theme Installation Error (Permission denied line 472?)

  • downtownblue
    Member

    @downtownblue

    Hi folks,

    Long time follower, first time poster. I was wondering if anyone had any ideas about a problem I have in trying to install the Infinity theme. I get the following errors when I install and activate:

    Warning: require_once(xxx/public_html/wordpress/wp-content/themes/Infinity-theme/plugin/header.php) [function.require-once]: failed to open stream: Permission denied in /xxx/wordpress/wp-includes/theme.php on line 472

    Fatal error: require_once() [function.require]: Failed opening required ‘xxx/wordpress/wp-content/themes/Infinity-theme/plugin/header.php’ (include_path=’.:/usr/local/lib/php/library:/usr/local/share/pear’) in /xxx/wp-includes/theme.php on line 472

    Googling the problem, I found a handful of others with the same problem but no resolution. Anyone have any ideas as I am at a loss…

    Thank.

Viewing 3 replies - 1 through 3 (of 3 total)
  • leadandfollow
    Member

    @leadandfollow

    I searched for an Infinity theme and the download I found has a file …/Infinity-theme/theme/header.php that does not have read permissions.

    However, I see from your error messages that the file path mentioned is …/Infinity-theme/plugin/header.php which is strange.

    Can you provide a link to the theme download site that you used so that we know what you are working with?

    In any case, the error message suggests that the files mentioned are not readable. That is a bug in the download package. You need to set read permissions on the file.

    downtownblue
    Member

    @downtownblue

    Leadandfollow,
    The theme can be found here… In reading the comments, it seems a handful are having the same problem while many others are not… http://vikiworks.com/2008/08/09/infinity-theme/

    leadandfollow
    Member

    @leadandfollow

    Okay, that is the same theme download that I found earlier.

    Fatal error: require_once() [function.require]: Failed opening required ‘xxx/wordpress/wp-content/themes/Infinity-theme/plugin/header.php’ (include_path=’.:/usr/local/lib/php/library:/usr/local/share/pear’) in /xxx/wp-includes/theme.php on line 472

    The error message is saying that it can’t read the …/Infinity-theme/plugin/header.php file. It did not have read permissions set in the download package. You need to set read permissions on the header.php file. How to do this depends on your hosting provider.

    Also, I am not sure you are supposed to have the plugin folder inside the Infinity-theme folder inside the themes folder. Did you move some files or folders around? The file path should look more like “xxx/wordpress/wp-content/themes/Infinity-theme/header.php”. And the plugin folder from the download package should go in the wp-content/plugin folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme Installation Error (Permission denied line 472?)’ is closed to new replies.