• Resolved jherrington1

    (@jherrington1)


    I am getting this error for some odd reason. Any help would be greatly appreciated.

    Warning: require_once(/var/www/staging/wp-content/themes/tokutek/header.php) [function.require-once]: failed to open stream: Permission denied in /var/www/staging/wp-includes/template.php on line 501
    
    Fatal error: require_once() [function.require]: Failed opening required '/var/www/staging/wp-content/themes/tokutek/header.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/staging/wp-includes/template.php on line 501
Viewing 2 replies - 1 through 2 (of 2 total)
  • Ivan

    (@ivanyordanov)

    Warning: require_once(/var/www/staging/wp-content/themes/tokutek/header.php) [function.require-once]: failed to open stream: Permission denied in /var/www/staging/wp-includes/template.php on line 501

    Most likely the permissions of the file:

    /var/www/staging/wp-content/themes/tokutek/header.php

    or some of the parent folders are wrong, so when template.php is trying to access that file – it fails.

    You might need to check your files and folders permissions and ownership. You will can do that either via SSH (if you have such access) or FTP/file manager.

    Thread Starter jherrington1

    (@jherrington1)

    It ended up being an issue with the permallinks. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: require_once()’ is closed to new replies.