• Resolved randski

    (@randski)


    I was reuploading some files/folders in hopes of solving my other problem, but I’m now facing a new one.

    The page-new.php file which is used to create a new page now looks like this, and I can’t figure out why. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter randski

    (@randski)

    *bump*

    Last time I bump this before I uninstall/reinstall the whole thing.

    Not sure I really understand what your problem is? It sounds like that when you create a new Page in Admin, it comes up with the wrong layout or design. Is that it?

    Thread Starter randski

    (@randski)

    Yes, there’s actually no “space” to write anything, so I cant create or edit pages.

    Thread Starter randski

    (@randski)

    This is the code for the page-new.php file:

    <?php
    require_once(‘admin.php’);
    $title = __(‘New Page’);
    $parent_file = ‘post.php’;
    $editing = true;
    require_once(‘admin-header.php’);
    ?>

    <?php if ( isset($_GET[‘saved’]) ) : ?>
    <div id=”message” class=”updated fade”><?php _e(‘Page saved.’) ?> <?php _e(‘Manage pages’); ?> »</div>
    <?php endif; ?>

    <?php
    if ( current_user_can(‘edit_pages’) ) {
    $action = ‘post’;
    get_currentuserinfo();

    $post = get_default_post_to_edit();
    $post->post_status = ‘static’;

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

    <?php include(‘admin-footer.php’); ?>

    Since I’m not on WP2, I can only guess that it has something to do with user level. But that is out of my limited knowledege. Hopefully one of the gurus will help you. You might want to check your user levels.

    I just saw another post with the same problem. Apparently you are now alone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘page-new.php file’ is closed to new replies.