Skip to content

RuntimeException Could not load file url of the website #85

@RohitM-IN

Description

@RohitM-IN

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions