Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not sure what i'm doing wrong #2

Closed
jampez77 opened this issue Aug 5, 2013 · 1 comment
Closed

Not sure what i'm doing wrong #2

jampez77 opened this issue Aug 5, 2013 · 1 comment

Comments

@jampez77
Copy link

jampez77 commented Aug 5, 2013

Hi,

First of all this script is great, thanks.

However i'm having a few issues that i don't understand. If i use it 'straight out of the box' (on a live server) i get back the following message:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php on line 329

Fatal error: Uncaught exception 'Exception' with message '28' in /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php:334 Stack trace: #0 /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php(206): Geocaching\OAuth\OAuth->curl_request('http://staging....') #1 /home/mrmemeco/public_html/geo/index.php(50): Geocaching\OAuth\OAuth->getRequestToken() #2 {main} thrown in /home/mrmemeco/public_html/geo/src/Geocaching/OAuth/OAuth.php on line 334

If i use it in the same way but on a localhost is get back HTTP error: 0 and no data is returned.

I've done a bit of googling and i have checked that safe mode is off but I've had no joy still.

Wondered if anyone could help here. Thanks

@Surfoo
Copy link
Owner

Surfoo commented Sep 22, 2013

Hello,
Safe mode has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0 : http://www.php.net/manual/en/features.safe-mode.php

Please, don't use it and retry your tests.

@Surfoo Surfoo closed this as completed Sep 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants