[ Video Sharing CMS v4 ] SOCIAL NETWORK SIGN IN ERROR

Started by vincent1986,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vincent1986Topic starter

I use version 4.2 phpvibe. All my installation was successful. Webstie worked. The only fault that I encountered my user login when the web using facebook social networking features.
They get an error like this:
Notice: Undefined index: in /home/vsupward/public_html/callback.php username on line 61

Notice: Undefined index: in /home/vsupward/public_html/callback.php email on line 62

Notice: Undefined index: in /home/vsupward/public_html/callback.php email on line 65

Notice: Undefined index: in /home/vsupward/public_html/callback.php bio on line 66

Notice: Undefined index: gender in /home/vsupward/public_html/callback.php on line 67

Please help:

My Site: http://vsupward.com/login/
  •  

PHPVibe A.

Hi vincent, please use the search, there are about 10 recent topics about it.'

Usually is the facebook app setup or mod_security (most common issues).

vincent1986Topic starter

I have tried to read all the posts on this subject but I still did not solve the problem.
Please guide me how to disable mod_security
thanks
  •  

PHPVibe A.

Quote from: vincent1986 on
I have tried to read all the posts on this subject but I still did not solve the problem.
Please guide me how to disable mod_security
thanks

Vincent, mod_security is a server module, we only support code here https://www.google.ro/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=disable%20mod_security

vincent1986Topic starter

Quote from: Alexander on
Vincent, mod_security is a server module, we only support code here https://www.google.ro/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=disable%20mod_security

Hello. I did as you send me the guide from link: https://techjourney.net/remove-and-uninstall-or-disable-modsecurity-mod_security/
and then add below codes to the .htaccess but still get errors. Please let me know. Thank you.
Quote<IfModule mod_security.c>
   SecFilterEngine Off
   SecFilterScanPOST Off
</IfModule>
  •  

PHPVibe A.

I don't know, in most cases this .htaccess codes work only if the server is configured to accept them.
Usually you disable it from the server panel and restart the httpd for the changes to take effect.

vincent1986Topic starter

I know the .htaccess  work fine but I don't understand why the login by google and facebook get wrong (by twitter is fine). Please check log file and let me know. Thank you.
  •  

vincent1986Topic starter

I make a var_dump($user_profile);  in line 46 of callback.php and it shows me array as below:
array(2) { ["name"]=> string(14) "Vincent Nguyen" ["id"]=> string(16) "1117064101640658" }

It does not have email or username and other informations. So I got the errors when login by facebook:
Notice: Undefined index: username in /home/vsupward/public_html/callback.php on line 62

Notice: Undefined index: email in /home/vsupward/public_html/callback.php on line 63

Notice: Undefined index: email in /home/vsupward/public_html/callback.php on line 66

Notice: Undefined index: bio in /home/vsupward/public_html/callback.php on line 67

Notice: Undefined index: gender in /home/vsupward/public_html/callback.php on line 68
Error. Please go back

How I can fix this? Thank you.

  •  

PHPVibe A.

If Facebook doesn't return the e-mail something is wrong with your Fb app.
PHPVibe won't register the user without an e-mail (and it's normal).

clipian

When i try to sign up using facebook here the error:

/public_html/callback.php on line 61

/public_html/callback.php on line 62

/public_html/callback.php on line 65

/public_html/callback.php on line 66

/public_html/callback.php on line 67
  •  

Marius P.

Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)