WordPress.org

Support

Support » How-To and Troubleshooting » Parse error: syntax error, unexpected T_STRING

Parse error: syntax error, unexpected T_STRING

  • My home page of my site is not showing up.

    Parse error: syntax error, unexpected T_STRING in /hermes/waloraweb089/b2692/pow.bhaney/htdocs/wp-content/themes/balletdance/index.php on line 2

    I get this message to be exact! Please help I have no idea how to fix this and it has happened a few times in the last couple weeks!

    Anything will help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Its a PHP syntax error message.

    Post the contents of this file (from your theme)
    /wp-content/themes/balletdance/index.php
    in a pastebin and post the pastebin URL here
    http://pastebin.com/

    Im not sure where i find what you are looking for. I Clicked on themes and it gives me no sort of coding for me to go off of.

    Your WordPress theme is called balletdance Within the theme folder /balletdance/ is a file named index.php

    That is the file I suggest you post the code of in the pastebin.

    You can use the WordPress theme editor under Dashboard menu / Appearance / Edit to open the index.php file – copy its contents and then paste them into a pastebin screen at the pastebin URL. The pastebin is just a way to add long sections of code to a WP forum post. The forum only allows ten lines of code in a post, otherwise the moderators will delete the code you add to the post. You put the code in a pastebin and then post the URL to that code that the pastebin will provide in your post on the WP forum.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.
Skip to toolbar