Topic-icon FB Avatar not importing

Active Subscriptions:

None
14 years 3 months ago #19926 by simcro
Using JFB Connect 4.1.2, Joomla 2.5.1, Community Builder 1.8.
Had everything working on a dev site, then uploaded to the live site and the avatars stopped importing. I have Profiles set to always import profile data and to import avatar but nothing seems to happen. Has Facebook changed their API at the same time (coincidence) as I upload to live or could there be another factor?
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19928 by mtk
Replied by mtk on topic FB Avatar not importing

simcro wrote: Using JFB Connect 4.1.2, Joomla 2.5.1, Community Builder 1.8.
Had everything working on a dev site, then uploaded to the live site and the avatars stopped importing. I have Profiles set to always import profile data and to import avatar but nothing seems to happen. Has Facebook changed their API at the same time (coincidence) as I upload to live or could there be another factor?

Hello Simon,
do you still have the dev site active? could you try registering with a new FB user and see if that works?
if so, the FB's API has nothing to do with the problem and there must be some other factor.

Mati
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19930 by simcro
Replied by simcro on topic FB Avatar not importing
OK so I went back to the dev site and the avatars are working fine. There is no difference between the live server directory and files and the dev site except that the temp and log folders have changed to reflect the different mapping. but that has been updated in the configuration file. I don't know what would be different. The dev site was created on a MAMP environment and the live site is Debian Linux with Apache2 PHP5 and MySql on a separate DB server. DB Connectivity is working fine.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19931 by mtk
Replied by mtk on topic FB Avatar not importing

simcro wrote: OK so I went back to the dev site and the avatars are working fine. There is no difference between the live server directory and files and the dev site except that the temp and log folders have changed to reflect the different mapping. but that has been updated in the configuration file. I don't know what would be different. The dev site was created on a MAMP environment and the live site is Debian Linux with Apache2 PHP5 and MySql on a separate DB server. DB Connectivity is working fine.

how about the versions of"
  • Apache
  • PHP
  • MySQL
any difference between both servers?

also, are there any visible errors or maybe some JS not loaded...?

Mati
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19933 by simcro
Replied by simcro on topic FB Avatar not importing
Slight differences but should not be a problem. Dev server was Apache2 2.2.9 MySql 5.5.9 PHP 5.3.6. Live server Apache2 2.2.16, MySql 5.1.49.3 and PHP 5.3.3
I am wondering about PHP Mods. Curl is installed on live but is there any other mod required for JFBConnect?
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19935 by simcro
Replied by simcro on topic FB Avatar not importing
Oh and Firebug reporting no errors
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19937 by mtk
Replied by mtk on topic FB Avatar not importing

simcro wrote: Slight differences but should not be a problem. Dev server was Apache2 2.2.9 MySql 5.5.9 PHP 5.3.6. Live server Apache2 2.2.16, MySql 5.1.49.3 and PHP 5.3.3
I am wondering about PHP Mods. Curl is installed on live but is there any other mod required for JFBConnect?

well, those differences are not exactly slight :)

if there are no other error, then you should either upgrade your production server or downgrade you dev environment.
anther option would be to test the same on a different server.

Mati
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19940 by simcro
Replied by simcro on topic FB Avatar not importing
I am not sure what you are suggesting here. Apache and MySql should not even be a factor and I assume that Sourcecoast do not produce PHP code which will only run on an obscure version of PHP. It is more likely to be a PHP mod that JFBConnect is dependent on which is why I have asked the question so I can install one if it is not present in the new PHP environment.

It is not possible to upgrade the production server. It is already up to date with the most recent package for Debian Linux. Equally it is not possible to downgrade the dev server. It is MAMP as previously stated and comes as a package.
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19950 by mtk
Replied by mtk on topic FB Avatar not importing

simcro wrote: I am not sure what you are suggesting here. Apache and MySql should not even be a factor and I assume that Sourcecoast do not produce PHP code which will only run on an obscure version of PHP. It is more likely to be a PHP mod that JFBConnect is dependent on which is why I have asked the question so I can install one if it is not present in the new PHP environment.

It is not possible to upgrade the production server. It is already up to date with the most recent package for Debian Linux. Equally it is not possible to downgrade the dev server. It is MAMP as previously stated and comes as a package.

Of course SC does not create version dependent code, but different versions do tend to act differently and since we cannot find anything else we suggest checking this factor.

Please share with us a link to the live site so we could have a look and try to help you find the problem.

Mati
The topic has been locked.
Support Specialist
14 years 3 months ago #19951 by alzander
Replied by alzander on topic FB Avatar not importing
Simon,
Some things to check on the live site:
* Your configuration.php file has the right directory for the tmp directory
* That tmp directory is writeable by owner (and preferably group)
* The avatar directory of the extension your importing into is writeable (for CB, I believe this is /images/com_comprofiler, but don't remember off-hand).

Check that and let us know if that seems to be the problem area.

Thanks,
Alex
The topic has been locked.