Sunday, March 13, 2011

iweb parsing error - fix

If there is a Parse error: syntax error, unexpected T_STRING, etc in publishing a website developed using iweb on web hosting servers, try the following. I got it fixed.

  • create a file named ".htaccess", where you put "index.html" (or folder called "public", some say - I havent tried this).
  • Add either of the following line to that file:
    • php_flag short_open_tag off
      -- OR -- 
    • php_value short_open_tag 0
That should fix the problem. I got the tip from the following link. It works for me.

http://answers.yahoo.com/question/index?qid=20081022040450AAY1T8u

No comments:

About Me

My photo
Jaison Paul Mulerikkal is the Vice Principal of Rajagiri School of Engineering and Technology (RSET), Kochi. He was the Principal of Jyothi Engineering College (JEC), Cheruthuruthy, Trissur, India. He is a member of CMI Sacred Heart Province, Kochi. He is a civil engineer by profession, but did his Masters in Information Systems from RMIT University, Melbourne, Australia and subsequently received his PhD in High Performance Scientific Computing from the Australian National University. He had worked as a computational scientist at the University of Auckland, New Zealand.