Not able to access file from other website - php

I am trying to access a php script from my other site to my new site and I Am getting this error:
Warning: require_once(): SSL operation failed with code 1. OpenSSL
Error messages: error:14077410:SSL
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure in
/home/newsite/public_html/abc.php on line 3
Warning: require_once(): Failed to enable crypto in
/home/newsite/public_html/abc.php on line 3
Warning: require_once(https://www.example.com/abc/abc.xyz.php): failed
to open stream: operation failed in /home/newsite/public_html/abc.php
on line 3
Fatal error: require_once(): Failed opening required
'https://www.example.com/abc/abc.xyz.php'
(include_path='.:/usr/local/lib/php') in
/home/newsite/public_html/abc.php on line 3
I just bought rapid SSL as I thought this was SSL issue and SSL is activated now but I still get same error.

Related

Fatal error: require(): Failed opening required

i purchased a script from codecanyon.
when i open i got an error like this !!
Warning: require(/storage/ssd3/645/20181645/public_html/vendor/composer/../symfony/polyfill-php80/bootstrap.php): failed to open stream: No such file or directory in /storage/ssd3/645/20181645/public_html/vendor/composer/autoload_real.php on line 78
Fatal error: require(): Failed opening required '/storage/ssd3/645/20181645/public_html/vendor/composer/../symfony/polyfill-php80/bootstrap.php' (include_path='.:/usr/share/pear:/usr/share/php') in /storage/ssd3/645/20181645/public_html/vendor/composer/autoload_real.php on line 78
how can i fix it? i never get any answer from google

How to include php page from different website to current website?

I have a created a domain but all the functions and classes of that domain is to be stored on another domain. but i am unable to get the page using include or require method. I am getting the following error:
Warning: include_once() [function.include-once]: Failed to enable crypto in /domain.com/includes/functions.php on line 3 Warning: include_once(https:/other_domain.com/access.php) [function.include-once]: failed to open stream: operation failed in /domain.com/includes/functions.php on line 3 Warning: include_once() [function.include]: Failed opening 'otherdomain.com/access.php' for inclusion (include_path='.:/opt/php52/lib/php') in /domain.com/includes/functions.php on line 3
The crypto error leads me to think this may be an issue with your SSL:
OPENSSL file_get_contents(): Failed to enable crypto

Fatal error: require(): Failed opening required 'D:\Xampp\htdocs\laravel_project\bootstrap/../vendor/autoload.php' (include_path='D:\Xampp\php\PEAR')

I want to install laravel 5.2. but it gives me that error.
This is the Error Message
Warning: require(D:\Xampp\htdocs\laravel_project\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in D:\Xampp\htdocs\laravel_project\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required 'D:\Xampp\htdocs\laravel_project\bootstrap/../vendor/autoload.php' (include_path='D:\Xampp\php\PEAR') in D:\Xampp\htdocs\laravel_project\bootstrap\autoload.php on line 17

file_get_contents not working in ubuntu and windows

i am having a problem with PHP file_get_contents.i am trying to fetch inforamtion following url but is not getting information.it's showing following error.i have try curl code also but same error is displayed
PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure in /home/tshah/public_html/pramod/expressdecorViolation/classes/scrap1.php on line 83
PHP Warning: file_get_contents(): Failed to enable crypto in /home/tshah/public_html/pramod/expressdecorViolation/classes/scrap1.php on line 83
PHP Warning: file_get_contents(http://www.overstock.com/Home-Garden/Kraus-30-inch-Undermount-Single-Bowl-Steel-Kitchen-Sink/3381330/customer-reviews.html?rsort=1): failed to open stream: operation failed
mycode is:
$link = 'http://www.overstock.com/Home-Garden/Kraus-30-inch-Undermount-Single-Bowl-Steel-Kitchen-Sink/3381330/customer-reviews.html?rsort=1';
$Page_information = file_get_contents($link);
print_r($Page_information);

PHP OOP include_path error

Warning: require(_header.php): failed to open stream: No such file or directory in C:\xampp\htdocs\pages\index.php on line 1
Fatal error: require(): Failed opening required '_header.php' (include_path='C:\xampp\htdocs\classes;C:\xampp\htdocs\pages;C:\xampp\htdocs\mod;C:\xampp\htdocs\inc;;.C:\xampp\php\pear\PEAR') in C:\xampp\htdocs\pages\index.php on line 1
I got this error?
Any one can tell how can I fix this?

Categories