Forums

[resolved] cannot acces edit-pages in wp admin - jumbled code (5 posts)

  1. jdk291
    Member
    Posted 2 years ago #

    When I try to access the edit-pages section of the wp admin console i get a bunch of jumbled code.

    Also, on the site there is no /pages/2/ when you click the "Older posts" link at the bottom of the main page. page 2 of the history of posts is not available.

    http://www.manifestvegan.com

    Are these two problems related? Is my edit-pages.php file bad? If so, are there generics or backups i can download & install?

    THANKS!

  2. jdk291
    Member
    Posted 2 years ago #

    When i access the pages, edit section of the wp admin i see the following:

    post_type == 'attachment' ) { if ( ! wp_delete_attachment($post_id_del) ) wp_die( __('Error in deleting...') ); } else { if ( !wp_delete_post($post_id_del) ) wp_die( __('Error in deleting...') ); } $deleted++; } } break; case 'edit': if ( isset($_GET['post'])

    it carries along like that for a good long while.

    so when i look at the edit-pages.php file to see if I can find where the code starts it looks like this:

    if ( $post_del->post_type ==

    does $post_del-> before post_type == look like proper syntax? is there an error here that would cause the rest of the file to appear when I try to access the pages, edit section of the wp admin console?

    Thanks!

  3. jdk291
    Member
    Posted 2 years ago #

    Is there a validator of some sort out there that i could copy/paste this code into to check it?

    Still havent figured this out... seems like the fault would be in the code example above as that is just prior to the jumbled code being displayed in my wordpress admin console.

    please help!

  4. jdk291
    Member
    Posted 2 years ago #

    also, do you think an upgrade to 2.9.1 would take care of this??

  5. jdk291
    Member
    Posted 2 years ago #

    ok- found an old version of the edit-pages.php and uploaded it via ftp and it resolved the issue.

    I think even the act of opening the edit-pages.php in wordpad/notepad changed the file somehow - even though it was saved as unicode and .php.
    anyone know if this is true??

    I dont know. I tried uploading multiple old versions of edit-pages.php and this was the only thing I did differently this time - didnt open it before uploading...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags