-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zone Listing Selection Dropdown Doesn't List All Zones #72
Comments
The zones are output as retrieved from Cloudflare’s API, which you can test using CURL as follows: curl --request GET \
--url https://api.cloudflare.com/client/v4/zones \
--header 'X-Auth-Email: [email protected]' \
--header 'X-Auth-Key: 1234567890' \
--header 'Content-Type: application/json'
I’ve addressed this issue in 0151146, which should prevent the error from causing a timeout. If you continue to get errors then please check the |
Hi there.. Thanks for the update. A few things I discovered however. Second, I noticed that the internal server error if I tried to save the settings was a result of CKEditor Plugin not having settings (disabling this plugin allowed the Cloudflare plugin settings to save). I can see that it did save the zone ID I specified in my project.yaml file, but due to the above 50 zone limitation, it still doesn't show the zone selected in the dropdown. Thanks |
Pagination wasn’t working correctly and has been fixed in d6e0cf4, please let me know if that resolves it for you.
That sounds unusual but thanks for the heads-up. |
That fixed it! Thanks for your work. 2024-06-17 12:49:35 [web.WARNING] [application] Attempting to set settings on a plugin that doesn't have settings: ckeditor |
Bug Report
If you have a Cloudflare Account with numerous zones (we have about 80), the dropdown selection once verifying your API credentials, does not show all zones, and repeats some zones. Or most likely confusing some domain name pairings with other zones ids and incorrectly listing them by name.
Additionally, if you don't verify credentials first and simply add in the zone ID into the text field and save, it generates an internal error and Admin is no longer accessible. We had to remove plugin to get admin working again.
Plugin Version
putyourlightson/craft-cloudflare:^2.1.0
Craft CMS Version
4.10.0
PHP Version
8.1
The text was updated successfully, but these errors were encountered: