Forums

[resolved] Parse error: syntax error, unexpected T_STRING in /home/content/27/6084127/html/ (5 posts)

  1. csolmos
    Member
    Posted 2 years ago #

    Hi!
    I was trying to make changes to the functions.php so that the parent pages of the site didn't link to anything. Before I edited, I copied and pasted the original code. When the changes didn't work, I pasted the original code back in and am still getting the following error:

    Parse error: syntax error, unexpected T_STRING in /home/content/27/6084127/html/wp-content/themes/panorama/functions.php on line 2

    Can't access site. Anyone able to help? Here's the code:

    [Code moderated as per the Forum Rules. Please use a pastebin]

  2. Goat_47_
    Member
    Posted 2 years ago #

    I am having the same problem. I am trying to change it back through my FTP server but I dont know the best way to read, write, and replace my old php file?

  3. csolmos
    Member
    Posted 2 years ago #

    Let me know if you find out how.

  4. csolmos
    Member
    Posted 2 years ago #

    OK. Figured it out by going through my ftp and downloading the file to my text editor, making changes using the text editor, saving and uploading. Changes I had made wasn't working, so I just used the original code that I had made a copy of before making changes.

  5. Goat_47_
    Member
    Posted 2 years ago #

    What text editor did you use and how?

Topic Closed

This topic has been closed to new replies.

About this Topic