modmore / VersionX

Resource & Element Versioning Extra for MODX Revolution (supports 2.2 and up). Extends the core in a future-proof manner to keep copies of every change to resources, templates, template variables, chunks, snippets and plugins.
https://modmore.com/extras/versionx/
40 stars 20 forks source link

Don't work Vx2.2.1 in Modx 2.7.0 #109

Closed Arahort closed 5 years ago

Arahort commented 5 years ago

Hi! I'm install versionx-2.2.1 in my Modx 2.7.0, but he not working :( in console have many 404 errors http://joxi.ru/Vm6BaXJHDg1k1m And broken buttons (save e.t.c) in admin panel :(

Mark-H commented 5 years ago

Check your file system. If the files it links to are there, the file permissions may be wrong on any of them or the directories they are in. If the files are not there, do a reinstall.

Arahort commented 5 years ago

There are no files, as indicated in the errors (404). Other components of this problem do not have, they are installed correctly. I commented out all the redirects, etc., but it did not help. I also tried to set permissions on files and folders 777. There are still no files. I bow to the fact that the problem is in the component, I just installed the Console component and everything is fine.

Arahort commented 5 years ago

UPD bug found, there was a problem in the incorrect path on the site, but in MODX_ASSETS_PATH I'm sorry :) P.S. while looking for the cause of the problem, saw that people are facing overflow of the Database when there are too many version X logs and offer plugins to store the last 5 changes, it would be nice to include this setting in the component :)

Mark-H commented 5 years ago

Glad you found the problem.

There's already an issue for limiting the number of versions: #4