PageRules not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Start at the createPageRule entry point used in the issue's PHP example and reproduce the request that returns error 1004. Check the PageRulesTargets and PageRulesActions arguments against the API validation response; done means the example succeeds or the precise validation problem is documented with a regression test.
Written by the indexing model from the issue text.
Description
I`m trying do a page rule redirection, but every time get a error "1004 - Page Rule validation failed: See messages for details"
This is the example of code
$pageRulesT = new Cloudflare\API\Configurations\PageRulesTargets( "webmail.domain.com/*" ); // Page Rules Targets
$pageRulesA = new Cloudflare\API\Configurations\PageRulesActions( 301, 'https://mail.zoho.com/zm/' ); // Page Rules Actions
$pageRules->createPageRule( $zoneID, $pageRulesT, $pageRulesA, true, null );
How to solve this?
- Dominant language
- PHP
- Stars
- 674
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudflare/cloudflare-php
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
cloudflare/cloudflare-php#202 · 1 reaction ·
-
setEmailObfuscation have wrong configuration id.Possibly taken @emersonreisdev claimed this 2021 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 65/100
cloudflare/cloudflare-php#156 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
cloudflare/cloudflare-php#278 · 5 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
cloudflare/cloudflare-php#272 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
cloudflare/cloudflare-php#264 ·
All issues in cloudflare/cloudflare-php
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
coollabsio/shoutrrr#190 ·
-
Bug Enhancement Performance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Feature Status: Needs Triage
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
frontend low-priority
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
mplodowski/dynamicpdf-plugin#336 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AdvancedCustomFields/acf#1044 ·