WordPress.org

Ready to get started?Download WordPress

Forums

Create New Pages problem (4 posts)

  1. kappaluppa
    Member
    Posted 9 years ago #

    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

  2. moshu
    Member
    Posted 9 years ago #

    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...

  3. kappaluppa
    Member
    Posted 9 years ago #

    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!

  4. guchuj05
    Member
    Posted 8 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.