I’m really interested in the Strava integrator, but couldn’t get it to work. I’ve uploaded the files to my webserver and opened gettoken.php – after I enter my details and click submit, I get an eror:
Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login, ‘ in [blah blah]
Any ideas please?
Chris Schiffner Reply:June 5th, 2012 at 5:12 pm
I sent you an email directly at the email address used for this comment.
Chris Schiffner Reply:June 15th, 2012 at 11:23 pm
Earlier today I released an update which should address the issues you were experiencing.
Raymond Zevenbergen Reply:May 8th, 2013 at 9:50 am
I purchased the strava integrator. I have the same fatal error:
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login
Is there a way to solve this?
Chris Schiffner Reply:May 8th, 2013 at 3:24 pm
Can you provide a link to the installation?
Any idea how I can set this up on a Go-Daddy website?
When trying to upload the files I keep getting bounced as “file type not supported”
Chris Schiffner Reply:October 4th, 2012 at 10:35 pm
Do you know which files it’s having trouble with? Everything in the package is standard. Personally I’m on Web Hosting Hub and I haven’t had any issues, nor did I have issues on my previous (but terrible) host Host Monster.
I just purchased your premium product today. Tried to setup locally, running MAMP Pro server. Added all the details in the config.php file as directed, but not getting any content pumping through into the index.php file when viewing in the browser.
I also added the files to a test server here http://ruplay.me/nikeplus/strava_integrator/index.php
I can send you the error logs separately…
r3trosteve Reply:March 25th, 2013 at 5:52 pm
Ah I figured it out after reading the strava forums. I was assuming that runs would also work (I only have run sample data in my account). But alas, the run activity is not supported by the API yet (which is pretty dumb).
I changed my run to ride in the strava app and now it all works just fine. Thanks!!!!
Chris Schiffner Reply:March 25th, 2013 at 7:34 pm
Hi, Sorry you had trouble.
As you pointed out in your follow up, the API only supports rides. There is a new version of the API in the pipeline. Although I have little information on it, it’s possible they will extend support to other activities. The new version of the API is going to replace the current version and it’s going to require developers (me) to register to gain access to it (the current API is open to anyone). So long as I’m able to gain access to the new version I’ll update Strava Integrator.
The work around may not be ideal so if you would like a refund I’d be happy to offer one.
Thank you for your support.
r3trosteve Reply:March 26th, 2013 at 5:11 am
Yes, according to Strava V3 is on it’s way (no mention of dates, but “soon” is positive), which will mean V1 and V2 will be deprecated.
They do confirm that runs will be included (no mention of other activities).
No need for a refund, I’ll just have to get out on my bike instead of running so I can get some data!!! ;)
Chris Schiffner Reply:May 8th, 2013 at 5:59 pm
Looks like your web host might not have curl installed. You can try the fopen method. Edit the file config.php. Find the line $fetch_mode = 0; and change it to $fetch_mode = 1;
thanks for the fast reply and great service.
Unfortunately the fopen method doesn’t work.
error (correct e-mail and password i deleted in error message):
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Problem with https://www.strava.com/api/v2/authentication/login, ‘ in E:\7bergencycling.nl\wwwroot\strava_integrator\class\cls.strava.php:722
#0 E:\7bergencycling.nl\wwwroot\strava_integrator\class\cls.strava.php(74): clsStrava->do_post_request(‘https://www.str…’, Array)
#1 E:\7bergencycling.nl\wwwroot\strava_integrator\gettoken.php(22): clsStrava->login(‘e-mail…’, ‘password’, true)
thrown in E:\7bergencycling.nl\wwwroot\strava_integrator\class\cls.strava.php on line 722
Chris Schiffner Reply:May 9th, 2013 at 7:44 am
Do you know what version of php your host is running?
raymond zevenbergen Reply:May 9th, 2013 at 9:37 am
Php version 5.3.2
Chris Schiffner Reply:May 9th, 2013 at 10:55 am
I’m going to email you a file named ‘stravatest.php’. Can you please upload it to your web host and send me a link to it?
Need to register? Click Here. Forgot your password? Click Here.
Dont want to register? Complete the form below. Registration benefits include reply notification, faster commenting, and the ability to link your username to your website.
Email (not published) Required
Notify me of follow-up comments by email.
Notify me of new posts by email.
You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>