× Joomla Facebook Connect support forum

Topic-icon Avatar not importing

Active Subscriptions:

None
13 years 10 months ago #4334 by sfmerv
Avatar not importing was created by sfmerv
I have changed the permissions to 777 on both the images and avatar folders. No images are showing up in the profile page. No images are showing up in the folder. This is a clean site just installed everything. Before I wipe it down and try again do you have any ideas?

illtradeyou.net/index.php

* There was an error when trying to move FB image (/home/tradeyou/illtradeyou.net/images/jfbc_732501282pic_tmp.jpg) to /home/tradeyou/illtradeyou.net/images/avatar/fb4c601e80dfd47c8343e601.jpg
* There was an issue importing your Facebook avatar. The default avatar will be used.
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #4341 by sfmerv
Replied by sfmerv on topic Avatar not importing
Did a fresh install of everything and I am still getting the same error.
* There was an error when trying to move FB image (/home/tradeyou/illtradeyou.net/images/jfbc_732501282pic_tmp.jpg) to /home/tradeyou/illtradeyou.net/images/avatar/6ac5857a1ae179ae65dfa2d1.jpg
* There was an issue importing your Facebook avatar. The default avatar will be used.

All directories are 777.
Here is the System info
PHP Built on: Linux ps17053 2.6.33.3-vs2.3.0.36.30.4-swap-nooomloop-nolivelock-oom-jt2 #12 SMP Thu May 20 17:25:41 PDT 2010 x86_64
Database Version: 5.0.67-log
Database Collation: utf8_general_ci
PHP Version: 5.2.10
Web Server: Apache
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.20 Stable [ senu takaa ] 18-July-2010 18:00 GMT
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

Status

administrator/backups/ Writable
administrator/components/ Writable
administrator/language/ Writable
administrator/language/en-GB/ Writable
administrator/modules/ Writable
administrator/templates/ Writable
components/ Writable
images/ Writable
images/banners/ Writable
images/stories/ Writable
language/ Writable
language/en-GB/ Writable
language/pdf_fonts/ Writable
media/ Writable
modules/ Writable
plugins/ Writable
plugins/content/ Writable
plugins/editors/ Writable
plugins/editors-xtd/ Writable
plugins/search/ Writable
plugins/system/ Writable
plugins/user/ Writable
plugins/xmlrpc/ Writable
templates/ Writable
Cache Directory /home/tradeyou/illtradeyou.net/cache/ Writable
Cache Directory /home/tradeyou/illtradeyou.net/administrator/cache/ Writable
Log Directory ($log_path) /home/tradeyou/illtradeyou.net/logs/ Writable
Temp Directory ($tmp_path) /home/tradeyou/illtradeyou.net/tmp/ Writable

Any help would be great.
The topic has been locked.
Support Specialist
13 years 10 months ago #4348 by alzander
Replied by alzander on topic Avatar not importing
Looks like you're using 3.0RC1, which is fine. Can't say I know what the issue is, but if you can send me a super admin account to log into the back end, we can dig into the problem and let you know the solution. You can send it through PM by clicking the arrow under my name to the left and clicking the mail icon.

777 will not be the solution, and we'd suggest undoing that to a better setting where the directories are writeable to Joomla, but not to everyone.
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #4351 by sfmerv
Replied by sfmerv on topic Avatar not importing
we switched you to super admin. There was no mail icon under your name on the forum that I could see. Even after clicking on the arrow.
The topic has been locked.
Support Specialist
13 years 10 months ago #4362 by alzander
Replied by alzander on topic Avatar not importing
You'll need to create me an account, as we can't log into the backend using JFBConnect since you have Facebook Only Users set. Since we don't have a login button for the back-end, just upgrading the user I have won't work. Again, please try to PM me an account. Use the arrow on the left and 3 icons will appear. The right-most icon is an envelope and pen. If you hover over it, it says "Private Message". Use that to send the details.

When I was poking around in the site though, if I went to JomSocial's Profile->Edit Details link, I would get a PHP error about a redefined Facebook class. Please ensure that JomSocial's FB features are completely disabled (they appear to be, but want to make sure). Also, are there any other Facebook extensions your using on your site?

Thanks
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #4363 by sfmerv
Replied by sfmerv on topic Avatar not importing
here is a screen shot of what I get on the left when I click the arrow. I don't see a pm link anywhere. I emailed you your login info.
File Attachment:
The topic has been locked.
Support Specialist
13 years 10 months ago #4367 by alzander
Replied by alzander on topic Avatar not importing
We're looking into why the PM isn't showing up for you. For our admin and some of our test accounts, it's showing up. Sorry for the problems.

Importing avatars works on your site now. Not sure why, but using curl to fetch files isn't working on your system. My only guess is due to how Facebook provides an avatar url which then redirects elsewhere.. some systems don't allow following redirects, though we try to override that setting. I changed a line of code to force using the alternate 'copy' method, and that seems to work. We haven't heard of anyone having this issue before, but we'll look into making the copy vs curl a setting in the back-end for just this situation in the future.

Please test, and be wary of this problem when you upgrade (if we haven't added the setting by then). What we did:
in /components/com_jfbconnect/libraries/profile.php, line ~124:
Comment (//) out the entire if block at the top and the else { } at the bottom leaving only the copy() statement uncommented.
The topic has been locked.
Support Specialist
13 years 10 months ago #4368 by alzander
Replied by alzander on topic Avatar not importing
P.S. We installed the component eXtplorer, a file manager in order to modify files in our component. Feel free to uninstall if you don't want it.
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #4372 by sfmerv
Replied by sfmerv on topic Avatar not importing
I'm on safari on os 1.5 mac. It didn't show up on safari either. I'll get you more information n our setup for the bug. We are on dreamhost. Also our domain is setup for both www.illtrafeyou.net and just illltradeyou.net no www. Is there any other info you need that wasn't available on the php info page?

Thanks for fixing the problem . What file do I need to keep in case I want to reinstall the site from scratch?

or just send me the code and I will edit it myself.

thanks again,
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #4380 by sfmerv
Replied by sfmerv on topic Avatar not importing
looks good. except the image is really pixelated in the large profile pic. Is it supposed to be or will that get fixed.
The topic has been locked.