• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Facebook signup

Started by mmiinnovations,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


PHPVibe A.

Hi, there could be various reasons:

- App having some settings wrong
- cUrl not working properly on server
- mod_security killing the request to facebook
- e-mail from facebook already in use (on core signups, discussed here http://www.phpvibe.com/forum/troubleshooting-issues/google-and-facebook-login-fail-callback/msg27148/#msg27148)
- etc

Please post a copy of your error_log so I can get a clue of what's going on.


There are a few discussions already:
http://www.phpvibe.com/forum/troubleshooting-issues/facebook-login-error/

mmiinnovationsTopic starter

Are you need the error_log from apache ?
  •  

PHPVibe A.


mmiinnovationsTopic starter

#4
[root@web01 httpd]# tail error_log
[Sun Jul 12 03:50:01 2015] [notice] Digest: generating secret for digest authentication ...
[Sun Jul 12 03:50:01 2015] [notice] Digest: done
[Sun Jul 12 03:50:01 2015] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sun Jul 12 03:50:01 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[root@web01 httpd]# tail dev.teamwukar.com-access.log
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:08 -0500] "GET /tpl/main/css/plugins.css HTTP/1.1" 200 12839 "http://dev.teamwukar.com/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:23 -0500] "GET /callback.php?type=facebook&code=AQCiYGpGZ3i5qYpsetc1a65DRf5U6PFLVIuXyPKszf8SmaO-ZmbJ6qJNNBQWAUkQaZ5ReyrzDOJxc_THRWo7K9yXYBd4NDMj3o8v10nb87UtjQYJsTYUBnGYNg1g0M7Z7oBGeZ9CMUNrDXx7Su95clpS_uD5GajS2AvTaZddk8nxtHmnELvwAPErsEno_jor1nwTbpYZuFf0HReEN4cwHAWZS8OGvlv3aOxzg8X55J7v4ZTIG-fkcMZeN_5yWlNTtLshUCNhgFlJlmzZRQp0atdGpMoVroTDxYbMjRoRCUs4RjMQcaturOIrgqap6KKMv4wSusKAkliXtgOOHG1vNnKz&state=3a8db259b204d45f8d00938673e25bb2 HTTP/1.1" 200 21 "-" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:25 -0500] "GET /favicon.ico HTTP/1.1" 200 12084 "http://dev.teamwukar.com/callback.php?type=facebook&code=AQCiYGpGZ3i5qYpsetc1a65DRf5U6PFLVIuXyPKszf8SmaO-ZmbJ6qJNNBQWAUkQaZ5ReyrzDOJxc_THRWo7K9yXYBd4NDMj3o8v10nb87UtjQYJsTYUBnGYNg1g0M7Z7oBGeZ9CMUNrDXx7Su95clpS_uD5GajS2AvTaZddk8nxtHmnELvwAPErsEno_jor1nwTbpYZuFf0HReEN4cwHAWZS8OGvlv3aOxzg8X55J7v4ZTIG-fkcMZeN_5yWlNTtLshUCNhgFlJlmzZRQp0atdGpMoVroTDxYbMjRoRCUs4RjMQcaturOIrgqap6KKMv4wSusKAkliXtgOOHG1vNnKz&state=3a8db259b204d45f8d00938673e25bb2" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:38 -0500] "GET /login/ HTTP/1.1" 200 13265 "http://dev.teamwukar.com/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:39 -0500] "GET /favicon.ico HTTP/1.1" 200 12084 "http://dev.teamwukar.com/login/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:39 -0500] "GET /favicon.ico HTTP/1.1" 200 12084 "http://dev.teamwukar.com/login/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:40 -0500] "GET / HTTP/1.1" 200 13033 "http://dev.teamwukar.com/login/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
188.25.136.236, 64.49.225.32 - - [13/Jul/2015:08:24:42 -0500] "GET /tpl/main/images/play_button.png HTTP/1.1" 200 3317 "http://dev.teamwukar.com/tpl/main/css/vibe.style.css" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36"
213.230.80.16, 64.49.225.32 - - [13/Jul/2015:08:35:12 -0500] "GET /callback.php?type=facebook&code=AQDo9GqTmRcKLvhCUQ3lg-X_0UDEXTd2XI-ec_z_1hWm51byZfSyBxjwGgvHqp09NGiy4Ia-pz6I8zk1hmZiUyGUcpuJhkH2mmGH4X6ITZNg8_FWFkr11veI2z8UPAQYUELHdW7gdhteNKPG5cLGThtiiueqceyT-xUy9hILH5yl4cjFryoMXZbjzRrde4CbWhpPGN2Ba3TKaCl4Lh5VpyJvcq02bo27_4l2tSOTBX5gFE8RrNx-9ugjayHV-XGuDOch6fTrtbRw5u7j8nA4sinMnzqng8Ms-poA8Cs83aH-B-X81fnYRGZurvXaeiMuTlBbJJPlSpkS7-SuevPd1xOH&state=984c21e0676fde19ba2dcb84e0053593 HTTP/1.1" 200 21 "http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36"
213.230.80.16, 64.49.225.32 - - [13/Jul/2015:08:35:12 -0500] "GET /favicon.ico HTTP/1.1" 200 12084 "http://dev.teamwukar.com/callback.php?type=facebook&code=AQDo9GqTmRcKLvhCUQ3lg-X_0UDEXTd2XI-ec_z_1hWm51byZfSyBxjwGgvHqp09NGiy4Ia-pz6I8zk1hmZiUyGUcpuJhkH2mmGH4X6ITZNg8_FWFkr11veI2z8UPAQYUELHdW7gdhteNKPG5cLGThtiiueqceyT-xUy9hILH5yl4cjFryoMXZbjzRrde4CbWhpPGN2Ba3TKaCl4Lh5VpyJvcq02bo27_4l2tSOTBX5gFE8RrNx-9ugjayHV-XGuDOch6fTrtbRw5u7j8nA4sinMnzqng8Ms-poA8Cs83aH-B-X81fnYRGZurvXaeiMuTlBbJJPlSpkS7-SuevPd1xOH&state=984c21e0676fde19ba2dcb84e0053593" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36"
[root@web01 httpd]# tail dev.teamwukar.com-error.log  
[Mon Jul 13 08:24:24 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: gender in /var/www/vhosts/dev.teamwukar.com/callback.php on line 67
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] CSRF state token does not match one provided., referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined variable: user_profile in /var/www/vhosts/dev.teamwukar.com/callback.php on line 51, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: id in /var/www/vhosts/dev.teamwukar.com/callback.php on line 59, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: name in /var/www/vhosts/dev.teamwukar.com/callback.php on line 60, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: username in /var/www/vhosts/dev.teamwukar.com/callback.php on line 61, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: email in /var/www/vhosts/dev.teamwukar.com/callback.php on line 62, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: email in /var/www/vhosts/dev.teamwukar.com/callback.php on line 65, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: bio in /var/www/vhosts/dev.teamwukar.com/callback.php on line 66, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[Mon Jul 13 08:35:12 2015] [error] [client 127.0.0.1] PHP Notice:  Undefined index: gender in /var/www/vhosts/dev.teamwukar.com/callback.php on line 67, referer: http://www.phpvibe.com/forum/troubleshooting-issues/facebook-signup/msg27409/
[root@web01 httpd]#
  •  

PHPVibe A.


mmiinnovationsTopic starter

Facebook api is Ok...

but API just get ID and NAME from facebook.

my vibe_setts.php
//Facebook callback fields(default values, it can be empty)
$conf_facebook['fields'] = 'id,name,first_name,last_name,email';
//Facebook permissions(default values)
$conf_facebook['permissions'] = 'email,user_status,read_friendlists';


Api return only this array info
Array ( [name] => Sandra Fischer [id] => 873641712671377 )
  •  

PHPVibe A.

Not even the e-mail? Check the facebook app, something is wrong, test it.

Similar topics (7)