netgen / ngconnect

Netgen Connect is a simple eZ Publish extension able to provide user sign in by using social network authentication and authorization.
http://projects.ez.no/ngconnect
GNU General Public License v2.0
8 stars 7 forks source link

Error when no Facebook Profile Picture #14

Open skrosoft opened 10 years ago

skrosoft commented 10 years ago

Hi,

When the Facebook user has no Facebook picture, an error occure, the downloaded image file is 0 bytes.

[ Apr 01 2014 12:35:25 ] [127.0.0.1] eZImageManager::createImageAlias: Failed converting var/lechenido/storage/images/usuarios/usuarios-lechenido/vincent-xper/3068-1-esl-ES/Vincent-Xper1.jpg to alias 'reference' in directory 'var/lechenido/storage/images/usuarios/usuarios-lechenido/vincent-xper/3068-1-esl-ES' [ Apr 01 2014 12:35:25 ] [127.0.0.1] eZImageManager::createImageAlias: Failed creating the referenced alias reference, cannot create alias small

Vincent

emodric commented 10 years ago

Hi Vincent,

are you sure this is an issue with ngconnect?

Looking at the code (https://github.com/netgen/ngconnect/blob/master/classes/ngconnectfunctions.php#L193), I can't see how users without valid image could be created.