Google OpenID auth not working on shared host but works on localhost
I am using CodeIgniter along with a module called A3M for authentication users with t开发者_开发技巧heir Google ID.
Everything works like a breeze on localhost but I am not able to connect to google from my live server.
Can it be because of shared hosting ?
Try doing a fopen / fread on http://google.com. If that works, dig deeper in the module and see what it uses to access Google.
The reason why it did not work on shared host was 1. it created some temp files with characters there were not allowed to have on my host 2. SSL was not present 3. it did not get write permission to some directories
It worked fine on a cloud machine.
精彩评论