Forums

Admin bar gone, can not edit pages anymore. (2 posts)

  1. tripflex
    Member
    Posted 5 months ago #

    So i've been working on a site all night and haven't had any major problems i couldn't fix. I removed the hard coded menu and set it up under WP, then i installed the jQuery vertical menu mega plugin, and everything worked fine up to this point.

    I don't know what has caused it but now whenever i go into edit PAGES it will list then fine, once you click on one of the posts or click to edit the post it takes you to the post page but the admin bar is missing, permalink is incorrect (can't be edited either), TinyMCE does not show up, and it gives this error:

    "Sorry, can’t edit files with “..” in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in."

    Here's a screenshot:
    http://prntscr.com/4xiai

    I checked all the apache error logs and can't find anything, checked using firebug and can't find any JS errors either...

    So i'm kinda stumped now and i'm just now learning WordPress so i'm not sure the next step to troubleshooting this problem.

    Any suggestions on what i can do to try and figure out what is causing this and how to fix it?

    Thank you!

  2. tripflex
    Member
    Posted 5 months ago #

    I have found what is causing the problem after playing around with almost everything I could think of.

    It appears that whenever I remove this block of code from the page.php file is when I get this problem:

    <small><?php the_date(); ?> by <?php the_author(); ?></small>
    <?php echo get_avatar( $comment, 32 ); ?>

    I'm going to play around and see if i can find a solution, but this seems to be the problem.

Reply

You must log in to post.

About this Topic