Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

not work with php 5.6 #150

Closed
Sarfroz opened this issue Nov 28, 2019 · 1 comment · Fixed by #176 or #179
Closed

not work with php 5.6 #150

Sarfroz opened this issue Nov 28, 2019 · 1 comment · Fixed by #176 or #179

Comments

@Sarfroz
Copy link

Sarfroz commented Nov 28, 2019

hi , how can we solve this issue ?? Can you make it compatible with PHP 5.6 and what else are the requirements to run this code? I tried on digital ocean centos 7 but it was not working at all.

@Sarfroz
Copy link
Author

Sarfroz commented Nov 28, 2019

`Notice: Undefined index: request_header in /var/www/html/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php on line 117

Fatal error: Uncaught TypeError: Argument 1 passed to CloudflareBypass\CFCurlImpl::checkForCorrectHeaders() must be of the type string, null given, called in /var/www/html/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php on line 117 and defined in /var/www/html/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php:203 Stack trace: #0 /var/www/html/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php(117): CloudflareBypass\CFCurlImpl->checkForCorrectHeaders(NULL) #1 /var/www/html/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php(96): CloudflareBypass\CFCurlImpl->bypassIUAMPage(Resource id #14, 'HTTP/1.1 503 Se...', Array, 0, Object(CloudflareBypass\Model\UAMOptions), false) #2 /var/www/html/index.php(56): CloudflareBypass\CFCurlImpl->exec(Resource id #6, Object(CloudflareBypass\Model\UAMOptions)) #3 {main} thrown in /var/www/html/vendor/kyranrana/cloudflare-bypass/src/main/CFCurlImpl.php on line 203`

jaymoulin added a commit to jaymoulin/cloudflare-bypass that referenced this issue Mar 24, 2020
As this template asks for a product version, a stable release process
should be used (see KyranRana#157) to identify which version of the codebase is
used.
This should close KyranRana#138, KyranRana#140, KyranRana#141, KyranRana#143, KyranRana#146, KyranRana#150, KyranRana#151, KyranRana#152, KyranRana#153,
 KyranRana#154, KyranRana#155, KyranRana#156, KyranRana#158, KyranRana#159, KyranRana#160, KyranRana#161, KyranRana#164 and KyranRana#168
jaymoulin added a commit to jaymoulin/cloudflare-bypass that referenced this issue Mar 24, 2020
As this template asks for a product version, a stable release process
should be used (see KyranRana#157) to identify which version of the codebase is
used.
This should close KyranRana#138, KyranRana#140, KyranRana#141, KyranRana#143, KyranRana#146, KyranRana#150, KyranRana#151, KyranRana#152, KyranRana#153,
 KyranRana#154, KyranRana#155, KyranRana#156, KyranRana#158, KyranRana#159, KyranRana#160, KyranRana#161, KyranRana#164 and KyranRana#168
jaymoulin added a commit to jaymoulin/cloudflare-bypass that referenced this issue Mar 24, 2020
As this template asks for a product version, a stable release process
should be used (see KyranRana#157) to identify which version of the codebase is
used.
This should close KyranRana#138, close KyranRana#140, close KyranRana#141, close KyranRana#143, close KyranRana#146,
close KyranRana#150, close KyranRana#151, close KyranRana#152, close KyranRana#153, close KyranRana#154, close KyranRana#155,
close KyranRana#156, close KyranRana#158, close KyranRana#159, close KyranRana#160, close KyranRana#161, close KyranRana#164
and close KyranRana#168
jaymoulin added a commit to jaymoulin/cloudflare-bypass that referenced this issue Mar 24, 2020
As this template asks for a product version, a stable release process
should be used (see KyranRana#157) to identify which version of the codebase is
used.
This should close KyranRana#138, KyranRana#140, KyranRana#141, KyranRana#143, KyranRana#146, KyranRana#150, KyranRana#151, KyranRana#152, KyranRana#153,
 KyranRana#154, KyranRana#155, KyranRana#156, KyranRana#158, KyranRana#159, KyranRana#160, KyranRana#161, KyranRana#164 and KyranRana#168
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant