• i appear to have a bigger problem now
    suddenly the dreaded happen

    travelmolecule.com/blog cannot load up page out of sudden, but instead tells me

    Error 500 – Internal Server Error
    An error was encountered while processing your request. Typically this is a temporary condition. Please contact the web site owner for further assistance.

    can someone please offer me help? i try to troubleshoot myself but couldnt locate the problem

Viewing 15 replies - 1 through 15 (of 19 total)
  • What were you doing to the site immediately prior to the error appearing?

    Thread Starter wpnoob2014

    (@wpnoob2014)

    i was adding footnote to the bottom of website – the copyright stuff.

    then a few min later noticed the /blog page is down, but others is fine.

    so i dunno if these 2 events are related to each others?!

    Sounds like you introduced an error to one of your theme’s templates. You need to revert that edit by visiting your site via SSH, FTP or your hosts panel software. A quick fix would be to rename your theme directory so that WordPress reverts to its default theme. Then log back in and work out what went wrong.

    If you were editing theme templates from within the WordPress dashboard, this type of occurrence happens to people all the time. These forums are littered with similar problems. The golden rule here is never directly edit a file on a live website. Always make edits to a backed up copy.

    Thread Starter wpnoob2014

    (@wpnoob2014)

    sorry, i have been reading a couple of forum posts online. but i still need more pointers

    A quick fix would be to rename your theme directory so that WordPress reverts to its default theme. Then log back in and work out what went wrong.

    i know how to log onto cpanel – which is usually where i do my code edits. which theme directory do you mean? the child or parent? then how do i track where went wrong? not review code line-by-line you mean?!

    i noticed when i revert permalinks back to default, the problem disappear. but when i switch back to “post name” permalink, the problem occur again. so is that indicative of anything?

    Thread Starter wpnoob2014

    (@wpnoob2014)

    for extra information, i was copying then editing the footer.php right before this happen – at least that’s what i think when it happens. is it something related to what i did in php?

    If your Server is returning a 500 error code, that indicates that it’s failing to properly deal with a request. If you were editing a live PHP file, then it’s more than likely this is where the problem lies.

    Can you paste your footer.php at PasteBin and post the URL back in here so that we can take a look-see?

    Thread Starter wpnoob2014

    (@wpnoob2014)

    <?php
    /**
     * The template for displaying the footer
     *
     * Contains footer content and the closing of the #main and #page div elements.
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?>
    	</div><!-- #main .wrapper -->
    	<footer id="colophon" role="contentinfo">
    
                   <p>Copyright &copy; 2014 &middot; All Rights Reserved &middot; <a href="http://travelmolecule.com" >travelmolecule.com</a></p>
    
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    </body>
    </html>

    ok. i dont know what is PasteBin. but i think you want to see the code?
    the above is what my footer.php looks like now

    —————-

    conversely the parent footer.php is the below

    <?php
    /**
     * The template for displaying the footer
     *
     * Contains footer content and the closing of the #main and #page div elements.
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?>
    	</div><!-- #main .wrapper -->
    	<footer id="colophon" role="contentinfo">
    		<div class="site-info">
    			<?php do_action( 'twentytwelve_credits' ); ?>
    			<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    </body>
    </html>

    i think the problem is with some .php file. because i tried deactivating all plugins and activate again but the problem is not solved. and the weird thing is it only happens to my /blog page and no where else. and footer.php to my knowledge is not just specific to /blog page

    ok. so lesson learned. i shouldnt be editing a live php file. i always thought it’s easier to edit the file. and have the website open on another screen so that i can see what i do. but apprently that’s not a wise approach

    Thread Starter wpnoob2014

    (@wpnoob2014)

    url: travelmolecule.com/blog

    Thread Starter wpnoob2014

    (@wpnoob2014)

    ok. i use this website pastebin.com, and pasted my child-theme footer.php code into it. and got the following out

    http://pastebin.com/aN3nFWLC

    Your footer looks OK but the 500 error only happens on your blog page. Did you make some edits to a custom blog template?

    Thread Starter wpnoob2014

    (@wpnoob2014)

    this is what i am confused about.
    it only happens on my blog page

    so what .php or .css file is only specific to my blog page and no where else? i didnt do anything to any files to my knowledge, or could you please point me to any files i could have mistakenly alter to damage custom blog template?

    the /blog page was still working just 2 h ago. so in the past 2 h, technically the only file i could have messed up under child theme is the footer.php, functions.php, and style.css. i dont think anything else is changed although i provide pastebin links to below (not many to begin with under child theme)

    style.css
    http://pastebin.com/2FVgXHXZ

    functions.php
    http://pastebin.com/TBNK2UCS

    header.php
    http://pastebin.com/unczfdJm

    customheader.php
    http://pastebin.com/SEQaA7m5

    footer.php
    you already seen this

    UNLESS i somehow messed up the parent theme files….

    Try checking your site’s error logs for a more specific error message. Your hosts should be able to help you accessing your site’s error logs.

    Thread Starter wpnoob2014

    (@wpnoob2014)

    i have sent an email to them. waiting for them to reply. still curious to see if this is something i messed up myself. i just dont know why this happens only to the .com/blog page and not anywhere else.

    if it’s something i mess up within the parent theme files (dunno which one, let’s say 1 out of the hundreds in there), does it mean if i have a fresh upload of twenty twelve parent theme file, then problem will be solved?

    i am a little afraid of making thinsg worse so didnt do anything yet

    does it mean if i have a fresh upload of twenty twelve parent theme file, then problem will be solved?

    Yes.

    Thread Starter wpnoob2014

    (@wpnoob2014)

    ok. i just did a fresh upload of twenty twelve parent theme file. it didnt work in resolving the issue. so i can confirm parent theme files are not corrupted i guess.

    not sure abt the files in child theme (see pastebins above)

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Sigh…. Error 500 – Internal Server Error’ is closed to new replies.