Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5440 มุมมอง

Normally, after clicking on a database in /web/database/selector we are redirected to /web/login

Like this:

--> https://url/web?db=my_bd

--> http://url/web/login

--> https://url/web/login


But in my case, I am stuck with the same url:

--> https://url/web?db=my_bd

--> http://url/web?db=my_bd

--> https://url/web?db=my_bd


Can anyone help?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You should ensure that each domain only points to one database. In this case the database selector page is not called.

อวตาร
ละทิ้ง
ผู้เขียน

I have tried to use db_name but unfortunately it doesn't work

คำตอบที่ดีที่สุด

Hi Samuel,

Basically the redirection occurs from the main addons files. To be precise the web module in the main addons.

So the issue with not redirecting to the login url will be the issue with your web module.
Try replacing it with the latest code from the git and try again.

Good day.

อวตาร
ละทิ้ง
ผู้เขียน

Thank you Cybrosys for your reply, but it doesn't seem to be a web module issue as I use the same code in another environment and it works.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 25
4952
1
ต.ค. 22
5602
0
เม.ย. 22
2132
4
ก.ค. 24
14419
1
ส.ค. 22
2735