Receiving unexpected T_STRING error.

If you are receiving this error, this means .html files are parsed as PHP. In case, your .html has the tags like "<?" or "?>" you will receive the above error. File parser assumes that the PHP code is started and you will get the same error. If you don’t use the correct content type, you can receive this error with XML files. Once you remove the "<?" or "?>"  from your html code, you shouldn’t receive the same error again.

Related Articles

How to enable TLS in Google Chrome, Mozilla Firefox and Internet Explorer?

Here are the steps you can follow to enable TLS in different browsers: Firefox Type...

How Can I Test My Website Before Switching DNS?

It is always important to test your website on a new web host before you change the Nameservers...

How to check VPS bandwidth usage from Accuwebhosting Client area?

You can easily view your VPS bandwidth report from the bandwidth meter tool. Please refer to the...

How to add/host a website to VPS and point the domain to VPS?

Point 1: How to Add Website & Use Name Server of your VPS? (1) Host a website in the...

Comparison of control panels Plesk VS WHM/cPanel.

Web Hosting control panels are very useful to manage your servers with a front-end graphical web...

  • 0 Users Found This Useful

Was this answer helpful?