LB Hosting

Knowledgebase

Fatal error: Unable to read X bytes in /home/user/public_html/myfile.php on line Y

That means that the file was uploaded as ASCII text (plain text) and not as a binary file (1's and 0's). Some php code requires that it is transfered as a binary file, and not as plain text. Setting your FTP client to force Binary mode, instead of allowing it to auto-detect the mode, will fix this problem most of the time.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article


Language: