Finally I solved this problem! There was a bug in the file ‘gettext.php’ (or in my server). In the original gettext file there are two possible values of $magic=$this->readint() [$MAGIC1 =- 1794895138 and $MAGIC2 = – 569244523]. My local computer shows a value of – 1794895138. However, in my host’s server, the value was 2500072158. I modified the condition as ‘if ($magic == $MAGIC1 || $magic==2500072158)’ and the problem solved! Still puzzled why the server is unique.