Cloudflare-Magento icon indicating copy to clipboard operation
Cloudflare-Magento copied to clipboard

Magento 2.2.7 support - Config Page empty

Open pietervanuhm opened this issue 7 years ago • 8 comments

When is there coming support for 2.2.5+, the config page of the module is empty. Please let me know there are more people waiting on this.

console-log config page

pietervanuhm avatar Mar 22 '19 06:03 pietervanuhm

I'm facing the same issue, Magento 2.2.7. Any fix?

antoniocarrion avatar Apr 11 '19 06:04 antoniocarrion

We are running into same 404 issue : Magento Version 2.3.1 / is there any Fix planned ?

Unbenannt

hoeselr avatar May 09 '19 05:05 hoeselr

I managed to make it work both in 2.2 and 2.3. excluding js files of being minified, creating a custom module that depends on Cloudflare one

antoniocarrion avatar May 09 '19 09:05 antoniocarrion

@antoniocarrion - great / where can we find this module ?

hoeselr avatar May 09 '19 09:05 hoeselr

You can't, is beling locally developet. But you just need to create two files:

/etc/module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Vendor_Module" setup_version="1.0.0"> <sequence> <module name="CloudFlare_Plugin"/> </sequence> </module> </config>

etc/config.xml

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <dev> <js> <minify_exclude> <cloudflare_compiledjs>/CloudFlare_Plugin/</cloudflare_compiledjs> </minify_exclude> </js> </dev> </default> </config>

antoniocarrion avatar May 09 '19 10:05 antoniocarrion

@antoniocarrion - thank you, this .js minify workaround works fine

hoeselr avatar May 09 '19 20:05 hoeselr

@antoniocarrion Can you elaborate where exactly to place these two files? is it magento-document-root/etc/ ?

harshbharucha avatar May 18 '19 11:05 harshbharucha

@indiancazorla you have to place them into app/code/YourVendor/YourModule/etc. Don't forget to create app/code/YourVendor/YourModule/registration.php file, too

antoniocarrion avatar May 22 '19 14:05 antoniocarrion