ERROR:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /Applications/XAMPP/xamppfiles/htdocs/simple_html_dom.php on line 76
Warning: file_get_contents(): Failed to enable crypto in /Applications/XAMPP/xamppfiles/htdocs/simple_html_dom.php on line 76
Warning: file_get_contents(http://ift.tt/1aCAn1e): failed to open stream: operation failed in /Applications/XAMPP/xamppfiles/htdocs/simple_html_dom.php on line 76
Fatal error: Call to a member function find() on boolean in /Applications/XAMPP/xamppfiles/htdocs/scrape.php on line 18
QUESTION:
I'm on a new machine right now, and this is the first time I've' come across this error. Works fine at home. Not sure what to do. How can I overcome this error? I'm calling
file_get_html( "http://ift.tt/1aCAn1e" );
in my scrape.php file.
CODE (PSEUDO):
<?php CONNECT TO DATABASE ?>
<html>
<body>
<?php
include 'simple_html_dom.php';
include 'scrape.php';
?>
</body>
</html>
<?php CLOSE CONNECTION ?>
Aucun commentaire:
Enregistrer un commentaire