sketchfab-portfolio icon indicating copy to clipboard operation
sketchfab-portfolio copied to clipboard

Fatal error on trying to access index.php?

Open will-ca opened this issue 7 years ago • 1 comments

<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 avatar Mar 23 '18 03:03 will-ca

Hm. It seems to work fine with Requests 1.7.

will-ca avatar Mar 23 '18 04:03 will-ca