• When clicking on Create New Page with 1.5.1, I get the following errors

    ————————
    Warning: main(edit-page-form.php): failed to open stream: No such file or directory in /home/john/public_html/wp-admin/page-new.php on line 26

    Warning: main(edit-page-form.php): failed to open stream: No such file or directory in /home/john/public_html/wp-admin/page-new.php on line 26

    Warning: main(): Failed opening ‘edit-page-form.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/john/public_html/wp-admin/page-new.php on line 26
    ————————-

    page-new.php is there. The contents are:

    0) {
    $action = ‘post’;
    get_currentuserinfo();
    //set defaults
    $post_status = ‘static’;
    $comment_status = get_settings(‘default_comment_status’);
    $ping_status = get_settings(‘default_ping_status’);
    $post_pingback = get_settings(‘default_pingback_flag’);
    $post_parent = 0;
    $page_template = ‘default’;

    include(‘edit-page-form.php’);
    }
    ?>

    This is a new install and everything else appears to work great. Advice is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP can’t find page-new.php, but it’s there!’ is closed to new replies.