• I am getting the following message when I go to my website prithvirajbs.com

    It is giving an error message as below:
    Parse error: syntax error, unexpected ‘<‘ in /home/prithraj/public_html/wp-content/themes/bombax/includes/header.php on line 86

    Kindly help

Viewing 5 replies - 1 through 5 (of 5 total)
  • More than likely the code in the /home/prithraj/public_html/wp-content/themes/bombax/includes/header.php file is missing a closing bracket for the php or has html in the wrong place.

    Normally PHP code goes as such:
    <? enter code here ?>

    PHP has beginning and ending brackets. Also if you have placed html in a random location you may want to remove it since it is causing the header.php not to load. That is all I can think since I am unable to see the contents of the header.php file

    Thread Starter bspraj

    (@bspraj)

    I am placing below the header.php file contents. Kindly see if there is any mistake in my placing the “My calendar widget” towards the end of the code. After I added this code the problem has started:

    [Huge chunk of code moderated as per the Forum Rules. Please use the pastebin]

    It is kinda hard to read that in the forums, it would be best if you used: http://wordpress.pastebin.com/

    Also we have to figure out what is the error on line 86 of the header.php like the error message says

    Thread Starter bspraj

    (@bspraj)

    I am not quite sure how to use the pastebin software. The last 8 lines were added by me just before the ?> as given below:

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

    When I placed the code in my header.php file in my wordpress it did work. I placed it between the header tags of the header.php And it did work

    ><head>
    <!-My calendar widget - HTML code - mycalendar.org --><div align="center" style="margin:15px 0px 0px 0px"><noscript><div align="center" style="width:140px;border:1px solid #ccc;background:#fff ;color: #fff ;font-weight:bold;">India Calendar</div></noscript><script type="text/javascript" src="http://mycalendar.org/calendar.php?group=Holiday&calendar=India&widget_number=1&cp3_Hex=FFB200&cp2_Hex=040244&cp1_Hex=F9F9FF&fwdt=150&lab=1"></script></div><!-end of code-->

    What theme are you using?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error message’ is closed to new replies.