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

RuntimeException Could not load file url of the website #85

Open
RohitM-IN opened this issue May 23, 2021 · 0 comments
Open

RuntimeException Could not load file url of the website #85

RohitM-IN opened this issue May 23, 2021 · 0 comments

Comments

@RohitM-IN
Copy link

RohitM-IN commented May 23, 2021

https://flareapp.io/share/87nB6OD7

i am including the stacktrace because i dont understand why its not working in online server but its working in local host

php version (server): 8.0.3
php info link : https://www.crada.ga/test

laravel version : Laravel Framework 8.40.0

is there any extensions that are off or disabled that are required by the app ?

what i tested :

$url = "https://www.worldometers.info/coronavirus/";

$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);

//for debug only!
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);

$resp = curl_exec($curl);
curl_close($curl);
dd($resp);  // shows the website :) 

so no curl issue !

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