Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

July 02, 2022, 05:59:53 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 193409
  • Total Topics: 21081
  • Online today: 67
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 32
Total: 33

Author Topic: SMF 2.1 redirect 404 error on login with TP  (Read 475 times)

0 Members and 1 Guest are viewing this topic.

Offline @rjen

  • Support Team
  • *
  • Posts: 3252
    • FJR-club Nederland
SMF 2.1 redirect 404 error on login with TP
« on: March 12, 2022, 03:03:47 PM »
Guys, question

I upgraded my forum to 2.1 today. TinyPortal on it, now I am getting a 404 error everytime after loggin in. After that all works fine, but when logging out and logging in same error again.

I see nothing in the logs.
When I uninstall TP the issue is gone. Reinstalled and it is back.

It seems to me that the redirect from logging in is somehow wrong. I tried both options: forum or Frontpage, but makes no difference

Forum is on https ….

Any ideas where to look ?
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Online tino

  • Developer
  • *
  • Posts: 2596
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #1 on: March 12, 2022, 03:22:19 PM »
Log in via standard link or the one in the user block?

Offline @rjen

  • Support Team
  • *
  • Posts: 3252
    • FJR-club Nederland
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #2 on: March 12, 2022, 03:25:30 PM »
the standard links
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Online tino

  • Developer
  • *
  • Posts: 2596
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #3 on: March 12, 2022, 03:35:52 PM »
What version of PHP?

Can’t replicate this atm. Logs in ok via the login box at the top of the screen.

Any errors shown anywhere when getting the 404? Does the login url look correct in the inspector?

Offline @rjen

  • Support Team
  • *
  • Posts: 3252
    • FJR-club Nederland
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #4 on: March 12, 2022, 03:37:45 PM »
No errors, PHP 7.4. Need to check tomorrow, going to sleep now...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline @rjen

  • Support Team
  • *
  • Posts: 3252
    • FJR-club Nederland
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #5 on: March 12, 2022, 03:41:37 PM »
Would you mind trying it here for yourself?

https://test.fjr-club.nl/

User: "test forumlid"
Password: testtest

Then you can see what I see...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline lurkalot

  • Administrator
  • *
  • Posts: 7405
    • Camera Craniums
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #6 on: March 12, 2022, 04:34:39 PM »
I'm not seeing any error using that test account.  Logged in and out a couple of times without issue.

Maybe a browser issue, have you tried a different one just in case. I'm using Edge.

Offline @rjen

  • Support Team
  • *
  • Posts: 3252
    • FJR-club Nederland
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #7 on: March 13, 2022, 01:31:02 AM »
You are not getting this screen after login? It’s a custom 404 , and I am getting it in all browsers as well on my pc as on mobile…

Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Online tino

  • Developer
  • *
  • Posts: 2596
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #8 on: March 13, 2022, 03:16:04 AM »
You are not getting this screen after login? It’s a custom 404 , and I am getting it in all browsers as well on my pc as on mobile…

I get the same on my mobile. I’ll try it on my desktop later today and try and see where it’s breaking.

Offline @rjen

  • Support Team
  • *
  • Posts: 3252
    • FJR-club Nederland
Re: SMF 2.1 redirect 404 error on login with TP
« Reply #9 on: March 13, 2022, 03:19:53 AM »
Thanks, it has been driving me nuts! And it seems it is something that does not happen to everyone , so may have some relation to user permissions or settings
Running Latest TP on SMF2.1 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info