WordPress.org

Ready to get started?Download WordPress

Forums

Parse error: syntax error, unexpected T_STRING (4 posts)

  1. bhaney
    Member
    Posted 2 years ago #

    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!

  2. stvwlf
    Member
    Posted 2 years ago #

    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/

  3. bhaney
    Member
    Posted 2 years ago #

    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.

  4. stvwlf
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags