• I tried to change the meta tags and I got this error message: Parse error: syntax error, unexpected T_STRING in /home/content/79/10988479/html/wp-content/themes/directorypress/header.php on line 305

    I put everything back, how it was before, but that’s not helping.
    I found the line 305, but that’s not the one I changed. Is there anything wrong with this line?
    Maybe it overwrote it itself.
    `<input type=’text’ value='”.$PPT->_e(array(‘head’,’2′)).”‘ name=’s’ id=’s’ onfocus=”this.value=”;” />”;

    Please help… I can’t access my site.
    http://www.webnetbook.com
    Thank you 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter henrich77

    (@henrich77)

    <input type=’text’ value=’ “.$PPT->_e(array(‘head’,’2′)).” ‘ name=’s’ id=’s’ onfocus=”this.value=”;” />”;

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you tried re-uploading the original file you edited or the full theme?

    Thread Starter henrich77

    (@henrich77)

    Yes I have…
    I overwrote every file through FTP file manager (godaddy.com)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Then it sounds like there is an issue with the original header.php file, have you contacted your theme’s vendors?

    Thread Starter henrich77

    (@henrich77)

    I didn’t … everything worked before.
    Only after I changed it, it didn’t.
    Hmmmm…. I don’t get it.

    Thread Starter henrich77

    (@henrich77)

    I am trying to re-upload again the original file (the full theme)

    Thread Starter henrich77

    (@henrich77)

    It is still not working…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    To clarify, your theme’s vendors are not providing support for you?

    Thread Starter henrich77

    (@henrich77)

    I am not sure… There was one guy who made the website for me.
    I contacted him, he suggested to upload header.php …
    I uploaded everything including header.php and it’s still not working

    Thread Starter henrich77

    (@henrich77)

    Hurray…. It’s working now…
    I had one of the older backup of header.php
    Uploaded it and it’s working :o))))
    Thank you for your help…

    Henrich

    Thread Starter henrich77

    (@henrich77)

    This is the correct code

    <input type=’text’ value='”.$PPT->_e(array(‘head’,’2′)).”‘ name=’s’ id=’s’ onfocus=\”this.value=”;\” />”;

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING in /home/content/79/10988479/html’ is closed to new replies.