If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Admin Tools / dragable_categories support thread

dragable_categories support thread

Started by hellsbit on 14 May 2024, 7:00 AM · Views: 1,589

Results 1 to 6 of 6
14 May 2024, 7:00 AM
#1
hellsbit avatar

hellsbit

New Zenner

Join Date:
Mar 2008
Posts:
19
Plugin Contributions:
1

Post #1 by hellsbit

For questions and support for the dragable_categories plugin/addon.

15 May 2024, 9:29 PM
#2
billj avatar

billj

New Zenner

Join Date:
Sep 2013
Location:
Devon, UK
Posts:
88
Plugin Contributions:
1

Post #2 by billj

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:

--> PHP Warning: Undefined property: dragable_monitors::$enable in /xxxxx-xxxxxxxxxx/includes/dragable/dragable_monitors.php on line 14.

I declared $enable in the class definition and it made the warning go away but did not make it work any better.

Any ideas what I might be doing wrong?

15 May 2024, 11:11 PM
#3
billj avatar

billj

New Zenner

Join Date:
Sep 2013
Location:
Devon, UK
Posts:
88
Plugin Contributions:
1

Post #3 by billj

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.

16 May 2024, 6:20 AM
#4
hellsbit avatar

hellsbit

New Zenner

Join Date:
Mar 2008
Posts:
19
Plugin Contributions:
1

Post #4 by hellsbit

Thanks for this. I missed that one. I have added $enable to the class definition like you have. Will be in next release.

16 May 2024, 6:33 AM
#5
hellsbit avatar

hellsbit

New Zenner

Join Date:
Mar 2008
Posts:
19
Plugin Contributions:
1

Post #5 by hellsbit

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.

16 May 2024, 12:32 PM
#6
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,144
Plugin Contributions:
56

Post #6 by lat9

hellsbit:

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:

zen_define_default('GZIP_LEVEL', '0');  //- Use '1' to enable

Just remember to remove the file when you're finished.