Alex Seymour
  • Male
  • Toronto
  • Canada
  • Intermediate Coder
Share on Facebook MySpace

Alex Seymour's Discussions

Error: cURL error: Operation timed out

Hi guys,I am getting the following error:Error: cURL error: Operation timed out after 10000 milliseconds with 0 bytes receivedAll was working well previously and I have not changed anything on my…Continue

Tags: Error, cURL

Started Dec 3, 2012

API Stopped Working
9 Replies

Hi,The NING API has suddenly stopped working for me.I have not made any changes to my code or site for a while.My API Keys are correct.The call to NING API is just hanging.A snippet of the code where…Continue

Started this discussion. Last reply by Phillip Pearson May 7, 2012.

Getting logged in members Display Name or Email address via PHP API
3 Replies

Hi,I have managed to get the current logged in members email address, but think I have made it overly complicated. This is what I have done, my question is, is there a more efficient way to do it? In…Continue

Tags: API, PHP, address, email

Started this discussion. Last reply by Alex Seymour Aug 3, 2011.

 

Alex Seymour's Page

Latest Activity

Alex Seymour replied to Chris's discussion Call to back end system failed?
"I run several PRO Network accounts. Maybe that helps a bit!They were pretty good though as it took just 1 hour 40mins to fix the issue from me raising the ticket."
Jan 5, 2013
Alex Seymour replied to Chris's discussion Call to back end system failed?
"Yep NING just emailed me to say they have applied a fix and it appears to work!"
Jan 5, 2013
Alex Seymour replied to Chris's discussion Call to back end system failed?
"Getting the same error here...Error: An unexpected error occurred (call to backend system failed, URL 'http://royalcaninbreedersclub.ning.com/xn/xapi/1_0_profileQuestions';, HTTP error code 403)"
Jan 5, 2013
Alex Seymour posted a discussion

Error: cURL error: Operation timed out

Hi guys,I am getting the following error:Error: cURL error: Operation timed out after 10000 milliseconds with 0 bytes receivedAll was working well previously and I have not changed anything on my network.What would cause this error?This is from a simple test as detailed below:require_once('ning-api-php/NingApi.php');echo "Fetch Recent Photos..";// Get the most recent phototry {  $result = NingApi::instance()->photo->fetchNRecent();  echo "I am back...";  print_r($result);} catch…See More
Dec 3, 2012
Phillip Pearson replied to Alex Seymour's discussion API Stopped Working
"Awesome, glad to hear it's all working!"
May 7, 2012
Alex Seymour replied to Alex Seymour's discussion API Stopped Working
"Cheers Phillip, The provider has updated the clocks and all is working great. Thanks for your help with debugging, I would not have figured this out without your help. Alex"
May 7, 2012
Phillip Pearson replied to Alex Seymour's discussion API Stopped Working
"Ahh... yes, that sounds like the problem.  Your server's probably in a different timezone, but if it thinks it's xx:30 when it's actually xx:39, that's enough for the timestamp to be incorrect.  300 seconds is 5…"
May 6, 2012
Alex Seymour replied to Alex Seymour's discussion API Stopped Working
"ok, it's 7:39pm here. I added the code: echo date("m/d/Y h:i:s a", time()); My server thinks it is 11:30pm. I'll contact my hosting provider and see what is going on. Thanks Phillip. Alex"
May 6, 2012
Alex Seymour replied to Alex Seymour's discussion API Stopped Working
"Hi Philip, Thank you so much for your help so far. This is the response I get back with the code you posted above: Fetch Recent Photos..Error: The oauth_timestamp value is unacceptable to the Service Provider. The timestamp of the request must be…"
May 6, 2012
Phillip Pearson replied to Alex Seymour's discussion API Stopped Working
"Are you sure it's hanging, or is it throwing an exception and killing the request at that point? Try this: require_once('ning-api-php/NingApi.php'); echo "Fetch Recent Photos..";// Get the most recent phototry { …"
May 5, 2012
Alex Seymour replied to Alex Seymour's discussion API Stopped Working
"I did a really simple test. Test code is: require_once('ning-api-php/NingApi.php');echo "Fetch Recent Photos..";// Get the most recent photo$result = NingApi::instance()->photo->fetchNRecent();echo "I am…"
May 5, 2012
Alex Seymour replied to Alex Seymour's discussion API Stopped Working
"Yes it still hangs. What would be the reason for that call to fail? $result = NingApi::instance()->user->fetch($args ); Alex"
May 5, 2012
Phillip Pearson replied to Alex Seymour's discussion API Stopped Working
"Is this problem still happening?  I just did a quick test and I get an immediate response from the server."
May 4, 2012
Alex Seymour posted a discussion

API Stopped Working

Hi,The NING API has suddenly stopped working for me.I have not made any changes to my code or site for a while.My API Keys are correct.The call to NING API is just hanging.A snippet of the code where it fails is as follows:----------------------------------------------------------require_once('ning-api-php/NingApi.php');//Get HTTP vars$author = trim($_GET['author']);//echo "The author is:".$author;$args = array(    "author" => $author);// Get ning user profile info$result =…See More
May 4, 2012
Alex Seymour replied to Alex Seymour's discussion Getting logged in members Display Name or Email address via PHP API
"Ok, ignore me.   I hadn't updated my tokens and network address in NingApi.php   It was still set to my test network. Schoolboy error. Nothing to see here...move along. All working fine!"
Aug 3, 2011
Alex Seymour replied to Alex Seymour's discussion Getting logged in members Display Name or Email address via PHP API
"Why does this work fine on my test network, but doesn't work for non-admin users (i.e. members) on my live network?   On my live network, I get the following error: Fatal error: Uncaught No User matches your query. (404) 3-1 thrown in…"
Aug 3, 2011

Profile Information

Programming Skill Level
Intermediate Coder

Comment Wall

  • No comments yet!

You need to be a member of Build to add comments!

Join Build

 
 
 

Blog Posts

Getting Started

Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments

A Note on API Pricing

Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments

Welcome to Build!

Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment

Ning Status

© 2024   Created by Build Team.   Powered by

Badges  |  Report an Issue  |  Terms of Service