cannot login through social accounts on my application

July 24, 2014 1.3k views

Firstly I am not able to upload any files through filezilla when i login as the user i created. I could upload the files only when i login through root.
Secondly I am using codeigniter framework for my application and i have included an extension for social logins which work pretty fine on my local server. But it stopped working after i uploaded my application on the live server. Please help.

3 Answers

Could you not even upload files through Filezilla to the user's home folder? Were you able to connect as the user at all? If you are using SSH keys, make sure that they have been added to the ~/.ssh/authorized_keys file for the user you created as well as root.

Regarding the social login issue, we'll need more to go on here. Are you seeing any error messages in your log files? What is the actual plugin that you are using? The first thing I would check is the differences between your local environment and the server. Are there any missing dependencies?

  • Sorry for replying so late. Actually my application is built on codeigniter framework. And I am using hybridigniter plugin for social logins. When I run my application on my local apache server it works fine, but after i uploaded it to my digitalocean droplet it doesn't work. It shows an error message which says 'Error authenticating user.' which is caused due to the exception thrown by the library on my hauth controller page. The exception code is 1 which is for hybridigniter configuration error. Also there is nothing in the hybridigniter log file. It is empty.

Its working now. Actully the oauth module of php5 was not installed on my server. I installed it and now things are working fine. Thanks.

I have another issue now. Please help. I have used a facebook api to invite friends on my website. The api sends requests or invites into friends notification box. When a friend clicks that notification it is taken to tha app canvas which has the url of one of the pages of my website..but it shows the error 'The server refused the connection.'. The canvas is unable to connect to page. That page just contains the redirect link to my website. Please help.

Have another answer? Share your knowledge.