For questions and support for the dragable_categories plugin/addon.
For questions and support for the dragable_categories plugin/addon.
Thank you very much for this utility. I've just installed it on ZC158a with PHP 8.1 but perhaps I've missed something.
I've browsed to admin/DragableCatogories6.php but all I get is a blank screen, except for the background colour from the site's catalogue side. I did get a warning log:
I declared $enable in the class definition and it made the warning go away but did not make it work any better.Code:--> PHP Warning: Undefined property: dragable_monitors::$enable in /xxxxx-xxxxxxxxxx/includes/dragable/dragable_monitors.php on line 14.
Any ideas what I might be doing wrong?
I inspected the page in Chromium and saw an error: "net::ERR_CONTENT_DECODING_FAILED". On a hunch I went into the store configuration and switched off GZip compression. After that I could see the page looking like the sample images. It looks like something is making the browser expect uncompressed data while Zen Cart is sending compressed data. I can leave it switched off for testing.
Thanks for this. I missed that one. I have added $enable to the class definition like you have. Will be in next release.
Had a quick look at GZIP_LEVEL. When I turned it on I couldn't view the backend at all. I had to go into the DB to reset it.
Which means I can't test against this setting at all.
Developer trick: Since the admin/includes/extra_datafiles/*.php files are loaded prior to the database initialization, you could create a teeny .php file there for testing to override that setting:
Just remember to remove the file when you're finished.Code:zen_define_default('GZIP_LEVEL', '0'); //- Use '1' to enable
Bookmarks