среда, 17 октября 2012 г.

Litecommerce install Add on problem.

If you are developing Add On for Litecommerce and in process of Uploading your .tar module package you get the following error:
"ERROR: "0" (code N/A)
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'packSize' at row 1"

It seems you are developing on Windows. I spend a day with this bug.... 
How to fix ? Just go to Includes\Utils\FileManager.php and find this function:






Because fucking Windows has a problem with is_file() function...