Recursive Rendering after Login

I have inherited a custom project built on top of SuiteCRM. My task was to upgrade from version 8.6 to 8.10. I have completed the upgrade but now when I login the app, it is rendering inside itself twice and I am looking at 3 toolbars and 3 footers. The pervious developer had imported components from SuiteCRM by copying the app into a docker container and then overwriting the styling. Building their custom app by creating overlay files on top of SuiteCRM itself. Which seemed to work fine before the upgrade. Not sure what is causing this to render multiple times within it’s own iframe. But the URL /#/users/Wizard hints towards the User Wizard.

Hello,

is it only happening with the user wizard?
What, if you deactivate it in the user profile?

So the issue is solved.

It was caused by a missing ENV which set session.save_handler = β€œβ€ in the php.ini file. This makes every session_start() fail with Cannot find session save handler "" No session file is ever written, so the login POST succeeds, the session is discarded immediately, and the next request should send you back to the login screen.

However it cause SuiteCRM to recursively load its dashboard between the top toolbar and the footer instead of booting me back to the login screen. Which resulted in in 3 toolbars and 3 footers with no children.

The recursive rendering was happing because the failed session_start() made every legacy request anonymous, and SuiteCRM 8 renders legacy pages inside an iframe. So the app kept serving itself into its own iframe.

1 Like

That’s good. You could create a new issue on the GitHub page and provide the possible fix.