WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding single.php, then errorr (2 posts)

  1. WahyuBhaskoro
    Member
    Posted 5 years ago #

    i just installing a new theme. the theme doesnt have single.php and page.php

    the theme is only use index.php to open single post or another page.

    the problem is when i create new single.php file, there is an error:

    Warning: include(/var/www/wordpress8/wp-content/themes/GoldenPalace/single.php) [function.include]: failed to open stream: Permission denied in /var/www/wordpress8/wp-includes/template-loader.php on line 31

    Warning: include() [function.include]: Failed opening '/var/www/wordpress8/wp-content/themes/GoldenPalace/single.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wordpress8/wp-includes/template-loader.php on line 31

    i create new single.php file --> i copy the content of index.php to my single.php

    anyone can help?

    sorry for my english

  2. WahyuBhaskoro
    Member
    Posted 5 years ago #

    the error is because the 'file permission'

Topic Closed

This topic has been closed to new replies.

About this Topic