nisamudeen97
Regular Pleskian
I was experiencing strange error "Parse error: syntax error, unexpected '$this' (T_VARIABLE) in /httpdocs/app/code/core/Mage/Catalog/Model/Abstract.php on line 116 with my php codes which is properly executed in my local machine. This happens when I upload files via FTP.
I have done a detailed investigation and I could see a random string "^Mt" appears in the mentioned line which has caused the error. I have manually removed this string and the problem is solved. I would like to know how this happens?
I have tested the same with different computers and I could see the same issue. Is the "^Mt" denotes some escape character?
I have four servers having plesk. The issue is only with one particular server. I have tried the same on others meanwhile it is not having the issue. I strongly feel the issue is with ftp service with plesk. Is it some kind of encoding issue?
I have done a detailed investigation and I could see a random string "^Mt" appears in the mentioned line which has caused the error. I have manually removed this string and the problem is solved. I would like to know how this happens?
I have tested the same with different computers and I could see the same issue. Is the "^Mt" denotes some escape character?
I have four servers having plesk. The issue is only with one particular server. I have tried the same on others meanwhile it is not having the issue. I strongly feel the issue is with ftp service with plesk. Is it some kind of encoding issue?