Parse error: syntax error, unexpected '<' in functions.php

Discussion in 'PHP' started by pushkarfeatshinoda, May 21, 2010.

  1. #1
    Okay, I tried installing the @Anywhere app onto my website www.geekgyan.com. I followed http://kovshenin.com/archives/setup-twitter-anywhere-for-wordpress-in-seconds/ instructions and tried pasting the code onto my functions.php file. After I tried to refresh, I got an error

    Parse error: syntax error, unexpected '<' in /home/yuvipanda/webapps/geekgyan/wp-content/themes/mystique/functions.php on line 146

    What must I do to rectify this? Please help.
     
    pushkarfeatshinoda, May 21, 2010 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #2
    Show us some code so we can see what is happening.
     
    stephan2307, May 21, 2010 IP
  3. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #3
    Could be due to unclosed php tag/s (html interfering with php) or short_tags disabled.

    For a better response - show the contents of functions.php
     
    danx10, May 22, 2010 IP