WordPress.org

Ready to get started?Download WordPress

Forums

Theme Installation Error (Permission denied line 472?) (4 posts)

  1. downtownblue
    Member
    Posted 5 years ago #

    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.

  2. leadandfollow
    Member
    Posted 5 years ago #

    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.

  3. downtownblue
    Member
    Posted 5 years ago #

    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/

  4. leadandfollow
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic