• Resolved trigga12

    (@trigga12)


    Dear all,

    I was editing my theme and was in the functions.php adding a snippet. However when I pressed update the whole page collapsed and now the only thing I get is a HTTP-error 500 message. I can’t even login.

    How can I solve this? Very thankful for help!

    My page is https://www.eosherr.se

Viewing 5 replies - 1 through 5 (of 5 total)
  • What were you editing in the functions.php file? Did you forget a closing tag or bracket?

    Thread Starter trigga12

    (@trigga12)

    I don’t think so. I was trying to put in a drop down list for posts. I entered the following:

    <form action=”<? bloginfo(‘url’); ?>” method=”get”>
    <select name=”page_id” id=”page_id”>
    <?php
    global $post;
    $args = array( ‘numberposts’ => -1);
    $posts = get_posts($args);
    foreach( $posts as $post ) : setup_postdata($post); ?>
    <option value=”<? echo $post->ID; ?>”><?php the_title(); ?></option>
    <?php endforeach; ?>
    </select>
    <input type=”submit” name=”submit” value=”view” />
    </form>

    where did you place it? I mean sometimes I’ll just put stuff in my functions file and I insert it before the previous functions end tags and I get that error…

    Thread Starter trigga12

    (@trigga12)

    I placed it quite high up but I might have placed it between the brackets for other things. I can’t go in and change it, not login and not see the page.. Is there another way to login?

    Thread Starter trigga12

    (@trigga12)

    Solved, went into the FTP file and erased the code I added before.

    Thanks for the help sarahfrantz

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Whole site down, need help!’ is closed to new replies.