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

Fatal error on trying to access index.php? #8

Open
will-ca opened this issue Mar 23, 2018 · 1 comment
Open

Fatal error on trying to access index.php? #8

will-ca opened this issue Mar 23, 2018 · 1 comment

Comments

@will-ca
Copy link

will-ca commented Mar 23, 2018

<b>Fatal error</b>:  Uncaught Requests_Exception: Missing header/body separator in /home/willcacct/src/willchendesign/src/vendor/rmccue/requests/library/Requests.php:544
Stack trace:
#0 /home/willcacct/src/willchendesign/src/vendor/rmccue/requests/library/Requests.php(321): Requests::parse_response('', 'https://sketchf...', Array, NULL, Array)
#1 /home/willcacct/src/willchendesign/src/vendor/rmccue/requests/library/Requests.php(194): Requests::request('https://sketchf...', Array, NULL, 'GET', Array)
#2 /home/willcacct/src/willchendesign/src/app/lib/api/profile.php(31): Requests::get('https://sketchf...')
#3 /home/willcacct/src/willchendesign/src/app/lib/api/profile.php(64): fetchIdFromUsername('WillChen')
#4 /home/willcacct/src/willchendesign/src/app/boot.php(26): importProfile('WillChen', '/home/willcac...')
#5 /home/willcacct/src/willchendesign/src/index.php(2): require('/home/willcac...')
#6 /google/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php in <b>/home/willcacct/src/willchendesign/src/vendor/rmccue/requests/library/Requests.php</b> on l
ine <b>544</b>

This is in a Google Cloud app with PHP 5.5, but I tried a fresh Linux Mint virtual machine with straight PHP 7.0 as well and got the same result.

@will-ca
Copy link
Author

will-ca commented Mar 23, 2018

Hm. It seems to work fine with Requests 1.7.

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

1 participant