Sterc / modx-minify

9 stars 5 forks source link

CMP doesn't work #25

Closed pepebe closed 6 years ago

pepebe commented 6 years ago

This is how my network response looks on a server where modx-minify works (MODX 2.6.1):

bildschirmfoto vom 2018-01-09 11-26-41

The dev tools show all the files requested after loading the minify manager page. I can add groups and files without any problem.

This is how it look on another modx setup (2.6.0).

bildschirmfoto vom 2018-01-09 11-29-56

No files are loaded, I can't add groups or files.

Both installations are on the same server. I've reinstalled modx-minifyx two times (no effect).

At the moment I can'*t update the system to 2.6.1, so I can't check if the modx Version is the root of the problem.

I don't see any error on my server or any js errors on the console.

Any idea, whats going on?

Update:

I've reset all file and folder permissions (644/755) in

core/components/modx-minify and assets/components/modx-minify

Afterwards the CMP loaded the necessary files, but I still couldn't add groups or files to the CMP.

pepebe commented 6 years ago

Now I also get a connector error:

{success: false, message: "object_err_save", total: 0, data: [], object: []}
data:[]
message:"object_err_save"
object:[]
success:false
total:0
pepebe commented 6 years ago

This issues was solved by renaming the modxminify tables to use the table prefix (in my case modxij instead of modx).

joeke commented 6 years ago

@pepebe Yes when the tableprefix is not the default `modx` will not work. Will be fixed in the next version.

joeke commented 6 years ago

Version 1.0.1 is released! https://modx.com/extras/package/modxminify