WordPress.org

Support

Support » How-To and Troubleshooting » Create New Pages problem

Create New Pages problem

  • I created a new page – http://backboneamerica.net/whoweare/ – and get this error:

    Warning: comments_template(/home/backboneamerica/www/wp-content/themes/Fall-In-Love): failed to open stream: Success in /home/backboneamerica/www/wp-includes/comment-functions.php on line 24

    Fatal error: comments_template(): Failed opening required ‘/home/backboneamerica/www/wp-content/themes/Fall-In-Love’ (include_path=’.:/usr/share/pear’) in /home/backboneamerica/www/wp-includes/comment-functions.php on line 24

    ——-
    Again I’m stumped! Any ideas… anyone… anywhere…

    Thanks,
    Kathy

    More info…
    THe theme is there and this file: wp-includes/comment-functions.php is there too

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’d go by creating a Page template: start with your index.php > delete all the references to date, author, category (anyway there is no category for pages), comment_link etc. and save it as page.php in your theme folder. It might work…

    I fixed this one on my own finally…
    in comment-function.php –

    This was line 23/24:

    23 if ( file_exists( TEMPLATEPATH . $file ) )
    24 require( TEMPLATEPATH . $file );

    this is the function:
    function comments_template( $file = ‘/comments.php’ )

    I replaced $file with comments.php:
    if ( file_exists( TEMPLATEPATH . comments.php ) )
    require( TEMPLATEPATH . comments.php );

    AND IT WORKED!

    Thanks so much for this help. I had the same problem.
    Thank you!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create New Pages problem’ is closed to new replies.
Skip to toolbar