-
-
Notifications
You must be signed in to change notification settings - Fork 532
Open
Labels
bugThe issue in the code or project, which should be addressed.The issue in the code or project, which should be addressed.
Description
Bug report
Summary
I have about a dozen *js files in assets/theme/... and I can't open a single one of them.
Step to reproduce
- Download this js file from themeforest and upload it to assets/...
https://html.webtend.net/2024/limestone/assets/js/aos.js - try to open it in your manager
Observed behavior
If I click a file to open it, this happens:
The file isn't loaded and the manager stays the same.
So far I believe I can rule out a server, plesk or firewall problem:
- I have checked for permission (server and modx) related issues.
- I have checked error logs (apache, firewall, modx)
No Chrome Browser related problems:
- The developer console doesn't show any javascript related issues.
So far, I have tries the following "solutions":
Doesn't help:
- Deactivating Ace
- Changing the extension from *.js to *.txt
- Removing most of the original javascript code from the original file
- Testing this on another server running 8.3.28 and 8.4.15
- Unminiyfy and renaming the js file
- rebuilding core/cache (yes, i am this desperate)
Occationaly helps (i have problems to reproduce this):
- Removing the original content and put some random javascript code inside (comments, alerts, etc.).
Always helps:
- Downgrade php from 8.4.15 to 8.3.28
My best guess this is somehow related to the content of a file. File size doesn't seem to be the problem.
Expected behavior
Opens file as expected
Environment
- MODX 3.1.2
- PHP 8.3.28 and 8.4.15 (same settings, see below)
- Apache/Plesk
- Ubuntu Server 20.04.6 LTS

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugThe issue in the code or project, which should be addressed.The issue in the code or project, which should be addressed.