-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fatal Error #1
Comments
It would indicate that the response from TradeMe is not what is expected, in fact that there was no content-type on the response from TradeMe at all. My first guess is that, you perhaps don't have curl working properly in your Windows PHP. In gogoOAuth.php ( lib/gogoOAuth/gogoOAuth.php ) you will find a method perform_http_request(), you could debug there by printing the response and info from curl to see what is happening. |
Hey mate... hoping to get this to work for a property site I'm building for myself. I've added the example and lib directories to my website (www.simplr.it/property/). When going to /example/index.php and hitting connect then Begin Authorisation I get the response: Warning: require_once(/lib/gogoTradeMe/gogoTradeMeSandbox.php): failed to open stream: No such file or directory in /home/content/75/10390475/html/property/example/include/init.php on line 21 Fatal error: require_once(): Failed opening required '/lib/gogoTradeMe/gogoTradeMeSandbox.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/75/10390475/html/property/example/include/init.php on line 21 Any chance you could help would be great... Thank you |
You must have a problem in your PHP include path/configuration, or you I direct you to the PHP documentation: |
Hey - I'm using require_once in other pages on my site which are working OK. After adding speech marks around the consumer key/secret in the config.php file I'm now getting: Warning: require_once(/home/content/75/10390475/html/property/lib/gogoTradeMe/../gogoOAuth/gogoOAuth.php): failed to open stream: No such file or directory in /home/content/75/10390475/html/property/lib/gogoTradeMe/gogoTradeMe.php on line 26 Fatal error: require_once(): Failed opening required '/home/content/75/10390475/html/property/lib/gogoTradeMe/../gogoOAuth/gogoOAuth.php' (include_path='.:/usr/local/php5_4/lib/php') in /home/content/75/10390475/html/property/lib/gogoTradeMe/gogoTradeMe.php on line 26 I haven't modified any files other than the config.php - am I missing something? Do you want me to post some code? Thanks again |
You have not retrieved the git submodule lib/gogoOAuth Please read at least the first post here: |
Thank you... all working. Appreciate your help - and putting this together! |
Fatal error: Uncaught exception 'Exception' with message 'Unknown data format: ' in C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuthResponse.php:246 Stack trace: #0 C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuthResponse.php(230): gogoOAuthResponse->data() #1 [internal function]: gogoOAuthResponse->__call('to_array', Array) #2 C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuth.php(119): gogoTradeMeResponse->to_array() #3 C:\wamp\www\trademe\example\connect.php(16): gogoOAuth->get_request_token() #4 {main} thrown in C:\wamp\www\trademe\lib\gogoOAuth\gogoOAuthResponse.php on line 246
Any ideas?
Thanks heaps.
The text was updated successfully, but these errors were encountered: