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

Notice: Undefined index: request_header in \src\main\CFCurlImpl.php on line 92 #138

Closed
yumedia opened this issue Sep 15, 2019 · 8 comments · Fixed by #179 or #176
Closed

Notice: Undefined index: request_header in \src\main\CFCurlImpl.php on line 92 #138

yumedia opened this issue Sep 15, 2019 · 8 comments · Fixed by #179 or #176

Comments

@yumedia
Copy link

yumedia commented Sep 15, 2019

Sometimes I got this error

Notice: Undefined index: request_header in \src\main\CFCurlImpl.php on line 92

@yumedia yumedia changed the title Notice: Undefined index: request_header in C:\xampp\htdocs\cloudflare-bypass-master\src\main\CFCurlImpl.php on line 92 Notice: Undefined index: request_header in \src\main\CFCurlImpl.php on line 92 Sep 15, 2019
@KyranRana
Copy link
Owner

You need to set CURLINFO_HEADER_OUT to true when requesting the webpage. That is one of the prerequisites when using cURL.

@Laky-64
Copy link

Laky-64 commented Sep 15, 2019

Kyranrana you can help me?

@yumedia
Copy link
Author

yumedia commented Sep 16, 2019

I'm get these error sometimes also (request same web, but different slug, example: domain.com, domain.com/slug/slug, domain.com/slug/slug2 )

Notice: Undefined offset: 1 in \src\main\Model\UAM\UAMPageFormParams.php on line 35

Notice: Undefined offset: 1 in \src\main\Model\UAM\UAMPageChallengeCode.php on line 53

@KyranRana
Copy link
Owner

Try with version 3.3.0 ?

@KyranRana
Copy link
Owner

Closed due to inactivity.

@nimah79
Copy link

nimah79 commented Sep 25, 2019

Still have this issue:

Undefined index: request_header in src/main/CFCurlImpl.php on line 117

@yumedia
Copy link
Author

yumedia commented Sep 26, 2019

If use curl_setopt($ch, CURLOPT_COOKIEJAR, "cookies.txt"); and curl_setopt($ch, CURLOPT_COOKIEFILE, "cookies.txt"); still get

Notice: Undefined offset: 1 in \src\main\Model\UAM\UAMPageFormParams.php on line 35

Notice: Undefined offset: 1 in \src\main\Model\UAM\UAMPageChallengeCode.php on line 53

@KyranRana
Copy link
Owner

Can you give me the full code you are using to perform the request?

@KyranRana KyranRana reopened this Sep 27, 2019
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
4 participants