× Joomla Facebook Connect support forum

Topic-icon [FIXED] Warning: filesize() [function.filesize]: stat failed

Active Subscriptions:

None
I got the following message after logging successfullly creating a CB account and downloading my FB settings. Could there be a problem with pic file size? If so where?

Thanks -
The topic has been locked.
Support Specialist
I think that error is usually caused when a file can't be found. Did your avatar import correctly regardless of the warning?

It may be a permission issue on the server where we get the image from Facebook, but it's written with the wrong user type.. so later when we go to read it again, the filesystem can't see it.
The topic has been locked.
Active Subscriptions:

None
Yes the pic downloaded ok. The error message still appears when I retry the procedure on other accounts. Is there something I can do about it?
The topic has been locked.
Support Specialist
We think we've figured out the cause for this. Currently, we try to overwrite the image on your server when we pull it down from Facebook. Depending on how the server is configured, you may get this error. This only (we think) occurs when a user re-registers on the site, so it shouldn't be seen by new users (since the file won't exist in this case). We have it in our project planner to add a check to see if an avatar with the given filename already exists, if so, delete it, then grab the Facebook version.

Let us know if the above doesn't sound correct.
The topic has been locked.
Active Subscriptions:

None
Well I've deleted the picture file with no luck. What settings in CB pertain to this function. I also have the gallery plugin loaded. NOt sure if that is affecting it or not.
The topic has been locked.
Active Subscriptions:

None
When I turn off the import avatar upon registration the error message goes away and the file is not imported. Perhaps I'll find a way to "cancel" out this error message afterall it is only a warning as the function acutally works as directed. Thank you for your assistance. <!-- s:? --><img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused" /><!-- s:? -->
The topic has been locked.
Active Subscriptions:

None
I am having this same error, and I am getting it when a brand new user first tries to use the facebook connect for a new registration - is there a way to make this warning not show on the page?
The topic has been locked.
Active Subscriptions:

None
<!-- m --><a class="postlink" href="commongoodemporium.com">commongoodemporium.com is where I'm using it
The topic has been locked.
Active Subscriptions:

None
I am also getting this error... Has anyone solved it yet?
The topic has been locked.
Active Subscriptions:

None
Bump...same error here.

CHMOD 777 images/comprofiler directory and increased width, height, and files sizes to well beyond needs in global and on avatar field in CB. Nothing impacts error but as previous posters, avatar is loaded into the comprofiler images directory and subsequently in CB profile. All appears to work except you get the error below which points to an issue running filesize. Noticed owner of jpgs in the images/comprofiler directory is NOBODY. Could this be a factor? Any other suggestions out there?

Warning: filesize() [function.filesize]: stat failed for XXXXXXXXXXXXX in /site/administrator/components/com_comprofiler/imgToolbox.class.php on line 467

(running CB 1.2.1 and Joomla 1.5.14)
The topic has been locked.