After submitting new user's information on my laravel website, it pops up an error page with 'Whoops something went wrong'. Who can help with this please? I'm new to laravel.
Asked
Active
Viewed 34 times
0
-
Check in your `.env` file the variables and it's values must be like this `APP_ENV=local` and `APP_DEBUG=true` and try again to look out the error you're getting. – Jonatan Lavado Mar 12 '20 at 22:13
-
ErrorException (E_WARNING) file_get_contents(https://...@gmail.com&route_id=117): failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized – Olajumoke Blessing Mar 12 '20 at 22:42
-
are you using curl in code ? – Waleed Muaz Mar 13 '20 at 00:39
1 Answers
0
If Your are using cURL
or
$curl_handle=curl_init();
curl_setopt($curl_handle, CURLOPT_URL,'http://###.##.##.##/mp/get?mpsrc=http://mybucket.s3.amazonaws.com/11111.mpg&mpaction=convert format=flv');
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Your application name');
$query = curl_exec($curl_handle);
curl_close($curl_handle);
?>

Waleed Muaz
- 737
- 6
- 17