TOPIC: Error importing template

I am having problems importing a template to LimeSurvey.
I set debug to 1, in config.php, and I got the error:

"Warning: zip_read() expects parameter 1 to be resource, integer given in C:\inetpub\wwwroot\limesurveydev\admin\classes\phpzip\phpzip.inc.php on line 225 Warning: zip_close() expects parameter 1 to be resource, integer given in C:\inetpub\wwwroot\limesurveydev\admin\classes\phpzip\phpzip.inc.php on line 237 "

The error code returns by zip_read function is 11, which means it cannot open the file.

The permissions on the upload folder are set.

It happens with any template, even the ones that come with LimeSurvey.