After updating from v2 to v3, I’m experiencing an issue I can’t explain.
The frontend works fine, and so does the backend when I access the server via its IP address. When I access the backend from the internet via HA Proxy and Nginx, I can open the backend menu and select, for example, Editor. But as soon as I’m in the Editor, the backend menu stops working—clicking on it doesn’t do anything and I have to close the backend and reopen it. In some cases, the backend behaves even more strangely. For example, if I open a page with a list controller, the menu also stops working, but as soon as I open the popup where I can adjust column visibility and close the popup, everything starts working again.
It seems that AJAX is having some issues accessing the site through a proxy. However, in the developer console, I don’t see any error messages from JavaScript or any indication that certain resources failed to load. Note, the frontend works without any problems, including AJAX forms.
I’m using the current version 3 (3.7.18)
Hey @carnecro
Interesting symptoms, could you try:
-
Add 'turbo_router' => false, to config/backend.php. If the problems go away, this is confirmed, and it’s also a workaround.
-
Keep the Network tab open, go from the dashboard to a list page, and look for a JS request that stays pending, gets blocked, or uses an http:// or internal-host URL.
I made a short video that includes the network monitor.
The video shows this behavior:
- When I open the list view, hovering over the table rows doesn’t work, and I can’t even click on the rows to open the form view. Also, the hamburger icon in the backend menu isn’t working.
- All I have to do is open the list view setup and close it again, and everything works as it should—the table reacts with color changes to the cursor’s movement, the cursor changes from an arrow to a hand, and the backend menu works again.
- If I switch to another list view now, the same thing happens again. I can’t get out of the editor; there’s no helper there (often even a button with some Ajax action is enough) that would bring everything back to life
- I don’t see any lockout on the network monitor
- All of this with the setting ‘turbo_router’ => false
I’d like to point out that the installation was migrated from version 2. I have several version 3 instances that I installed directly as version 3, and I don’t see any issues with those. They’re all behind the same proxy and Nginx server, so I don’t think that’s where the problem lies. It’s more likely some residual issue from version 2, in my opinion.
1 Like
It’s rocket loader / cloudflare
Install this plugin:
Yes! That’s the solution. Thank you.