[resolved] HTTP Error 500 (Internal Server Error) (3 posts)

  1. desaiha
    Posted 3 years ago #


    I am experiencing some problems right now. kinda distressed.

    I was adding this code to my themes functions.php from the editor in wp-admin.
    "<?php function gpp_excerpt($text) { return str_replace('[...]', 'Read More →‘, $text); } add_filter(‘the_excerpt’, ‘gpp_excerpt’); ?>"

    updated it (functions.php), nothing happened so I removed the line and updated it again and this is what I get:

    Server error
    The website encountered an error while retrieving blabla It may be down for maintenance or configured incorrectly.
    Here are some suggestions:
    Reload this webpage later.
    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    what the hell did I do? and how can I solve it.

  2. desaiha
    Posted 3 years ago #

    Well.. I resolved it myself. Feeling kinda stupid right now.

    I went into my ftp and edited the theme functions.php manually. removed the code that caused the problem and now its working.

    Thanks myself, you're my hero - a super-duper hacker for sure... *sigh*

  3. Don't beat yourself up about it, you fixed it exactly in the right way. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic