-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package install & build results in broken modx #154
Comments
Any idea? |
Sounds like a javascript error, can you figure out where that is coming from with your browsers' dev tools? On a "clean" install I'd typically do a force build to make sure there's nothing left over that can conflict, like the categories in the log you provided. |
Ok I'll check for the JS error. I also tried --force with almost the same results (duplicate ids). I can post the results too if you're interested. Thanks for you support! |
So, I found time to check for the javascript errors in the manager. This comes when invoking the manager start page: "NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/modext/core/modx.localization.js,/lux/manager/assets/modext/util/utilities.js,/lux/manager/assets/modext/util/datetime.js,/lux/manager/assets/modext/util/uploaddialog.js,/lux/manager/assets/modext/util/fileupload.js,/lux/manager/assets/modext/util/superboxselect.js,/lux/manager/assets/modext/core/modx.component.js,/lux/manager/assets/modext/widgets/core/modx.button.js,/lux/manager/assets/modext/widgets/core/modx.searchbar.js,/lux/manager/assets/modext/widgets/core/modx.panel.js,/lux/manager/assets/modext/widgets/core/modx.tabs.js"
index.p...tabs.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/modext/widgets/modx.treedrop.js,/lux/manager/assets/modext/widgets/core/modx.tree.asynctreenode.js,/lux/manager/assets/modext/widgets/resource/modx.tree.resource.js,/lux/manager/assets/modext/widgets/element/modx.tree.element.js,/lux/manager/assets/modext/widgets/system/modx.tree.directory.js,/lux/manager/assets/modext/widgets/system/modx.panel.filetree.js,/lux/manager/assets/modext/core/modx.view.js,/lux/manager/assets/modext/core/modx.layout.js,/lux/manager/templates/default/js/layout.js"
index.p...yout.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/components/ckeditor/modx.htmleditor.js,/lux/manager/assets/components/ckeditor/ckeditor/ckeditor.js,/lux/manager/assets/modext/widgets/security/modx.grid.user.recent.resource.js,/lux/manager/assets/modext/widgets/modx.panel.welcome.js,/lux/manager/assets/modext/sections/welcome.js"
index.p...come.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/modext/widgets/core/modx.window.js,/lux/manager/assets/modext/widgets/core/modx.combo.js,/lux/manager/assets/modext/widgets/core/modx.grid.js,/lux/manager/assets/modext/widgets/core/modx.console.js,/lux/manager/assets/modext/widgets/core/modx.portal.js,/lux/manager/assets/modext/widgets/windows.js,/lux/manager/assets/fileapi/FileAPI.js,/lux/manager/assets/modext/util/multiuploaddialog.js,/lux/manager/assets/modext/widgets/core/tree/modx.tree.js,/lux/manager/assets/modext/widgets/core/tree/modx.tree.treeloader.js"
index.p...ader.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/modext/core/modx.localization.js,/lux/manager/assets/modext/util/utilities.js,/lux/manager/assets/modext/util/datetime.js,/lux/manager/assets/modext/util/uploaddialog.js,/lux/manager/assets/modext/util/fileupload.js,/lux/manager/assets/modext/util/superboxselect.js,/lux/manager/assets/modext/core/modx.component.js,/lux/manager/assets/modext/widgets/core/modx.button.js,/lux/manager/assets/modext/widgets/core/modx.searchbar.js,/lux/manager/assets/modext/widgets/core/modx.panel.js,/lux/manager/assets/modext/widgets/core/modx.tabs.js"
index.p...tabs.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/modext/widgets/core/modx.window.js,/lux/manager/assets/modext/widgets/core/modx.combo.js,/lux/manager/assets/modext/widgets/core/modx.grid.js,/lux/manager/assets/modext/widgets/core/modx.console.js,/lux/manager/assets/modext/widgets/core/modx.portal.js,/lux/manager/assets/modext/widgets/windows.js,/lux/manager/assets/fileapi/FileAPI.js,/lux/manager/assets/modext/util/multiuploaddialog.js,/lux/manager/assets/modext/widgets/core/tree/modx.tree.js,/lux/manager/assets/modext/widgets/core/tree/modx.tree.treeloader.js"
index.p...ader.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/modext/widgets/modx.treedrop.js,/lux/manager/assets/modext/widgets/core/modx.tree.asynctreenode.js,/lux/manager/assets/modext/widgets/resource/modx.tree.resource.js,/lux/manager/assets/modext/widgets/element/modx.tree.element.js,/lux/manager/assets/modext/widgets/system/modx.tree.directory.js,/lux/manager/assets/modext/widgets/system/modx.panel.filetree.js,/lux/manager/assets/modext/core/modx.view.js,/lux/manager/assets/modext/core/modx.layout.js,/lux/manager/templates/default/js/layout.js"
index.p...yout.js
"NetworkError: 400 Bad Request - http://somedomain.de/lux/manager/min/index.php?f=/lux/manager/assets/components/ckeditor/modx.htmleditor.js,/lux/manager/assets/components/ckeditor/ckeditor/ckeditor.js,/lux/manager/assets/modext/widgets/security/modx.grid.user.recent.resource.js,/lux/manager/assets/modext/widgets/modx.panel.welcome.js,/lux/manager/assets/modext/sections/welcome.js"
index.p...come.js
3
TypeError: b[(intermediate value)] is not a constructor
...create:function(d,e){return d.render?d:new b[d.xtype||e](d)},registerPlugin:func...
ext-all.js (Zeile 21, Spalte 133120)
TypeError: MODx.SearchBar is not a constructor
new MODx.SearchBar; Result is, that the left menu is missing completely and the top menu doesn't work as expected. |
Any hints? |
@vguna: try disabling the compress_js system setting. If you can't do that via the manager, you might need to do it via the database directly, or by changing the system settings cache file and then accessing the manager. |
Thanks for the tip. Unfortunately it's a fresh install and the setting seems already disabled per default. All other compress_* settings are disabled as well. Any other hints? |
bump :) |
If you're getting that 400 bad request, compress_js is definitely active. Requests to those urls don't happen unless it's active. Remove the cache folder and check the raw value in the database.. |
I'm closing this because of inactivity, if you continue to have issues feel free to reopen or to open a new issue. |
Yeah, sorry for the no-response :(. Turned out, that some things were messed up in the gitify extracted data (selfmade).
Thanks for your help! |
Hi.
I'm using Gitify 0.11 to clone our modx installations. After extracting the _data files and applying these
to a fresh new system (installed via Gitify), modx seems broken. No left-side menu in the manager anymore and most of the links in the menu won't work. There are some errors during the package install and build, but I don't get the root cause of the errors. Maybe someone could shed some light on this and tell me what I'm doing wrong :).
.gitify file:
After the new installation via Gitify, modx seems ok.
Then I execute
Gitify package:install --all
Although there are some errors, the manager looks still quite ok. At least the left-side menu is still there.
Then executing:
Gitify build
After this, the manager's left-side menu is gone and links in the top menu aren't working anymore.
There are a lot of duplicate ID warnings any many things have been removed - as it seems.
Does somehow have a clue what I'm doing wrong?
Thanks!
The text was updated successfully, but these errors were encountered: