Only see JSON data after login

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
zunair
User
Posts: 125

Only see JSON data after login

Post by zunair »

I am using version 2023.1.

When i login, then at first a blank page open and show this :

{"url":"index"}

with blank white page


arbei
User
Posts: 9286

Post by arbei »

There are too many combinations of login settings to reproduce. You need to post all security settings related to login in your project so other users can try to reproduce. For example, you may start with the demo project and describe what you have changed to the demo project. If you are registered user, you better send your project to support.


arbei
User
Posts: 9286

Post by arbei »

stmontoya wrote:

the solution was to select two-factor authentication

Now there is a piece of valuable information, but you may want to post more info.

As always, you better enable Debug to log everything so you can see the actual error message and the stack trace so you can find out the root cause of the problem.


zunair
User
Posts: 125

Post by zunair »

@stmontoya is right. When I Enable Two Factor Authentication, then there is no problem.


arbei
User
Posts: 9286

Post by arbei »

If you can post more info, you'll help other users.

  • Have you set up the Profile field and Encryption Key as prompted?
  • Do you use User Level Security?
  • Do you login as a normal user or as a user of the administrator level, or just as the hard-coded administrator?
  • Do you use modal login?
  • Which kind of 2FA? (Google? Email? SMS?)
  • Did the user enable 2FA (since it is not forced) when the error occurred?
    etc.

zunair
User
Posts: 125

Post by zunair »

Force two-factor authentication is not necessary for this error removal.

Have you set up the Profile field and Encryption Key as prompted?
(Yes)
Do you use User Level Security?
(Yes)
Do you login as a normal user or as a user of the administrator level, or just as the hard-coded administrator?
(Checked all 3)
Do you use modal login?
(Yes)
Which kind of 2FA? (Google? Email? SMS?)
(Any)
Did the user enable 2FA (since it is not forced) when the error occurred?
(Forced is not necessary)


arbei
User
Posts: 9286

Post by arbei »

zunair wrote:

Do you use modal login? (Yes)

From which page you open the modal login dialog?

Did you enable the advanced setting "Use Ajax actions (List page)"?


zunair
User
Posts: 125

Post by zunair »

From which page you open the modal login dialog?

By default login page is opened

Did you enable the advanced setting "Use Ajax actions (List page)"?

I unchecked the two factor authentication and checked "Use Ajax actions (List page)" but error is still the same.


Webmaster
User
Posts: 9425

Post by Webmaster »

Try 2023.2.


Post Reply