Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when login on a post or a topic with zero duplicate strict mode #39

Open
zetrader opened this issue Nov 28, 2020 · 1 comment
Open
Labels

Comments

@zetrader
Copy link

zetrader commented Nov 28, 2020

Hi, when i log being on a topic; i get an error page, i have to click to go back on index, then it displays the topic doesn't exist, i click another time on index and things come back to normal, phpbb 3.3.2 with php 7.4 :

General Error
INSECURE_REDIRECT

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/ext/phpbbseo/usu/core.php
LINE: 1310
CALL: trigger_error()

FILE: [ROOT]/ext/phpbbseo/usu/core.php
LINE: 1411
CALL: phpbbseo\usu\core->seo_redirect()

FILE: [ROOT]/ext/phpbbseo/usu/event/listener.php
LINE: 345
CALL: phpbbseo\usu\core->zero_dupe()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 214
CALL: phpbbseo\usu\event\listener->core_user_setup()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 44
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/phpbb/user.php
LINE: 222
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/viewtopic.php
LINE: 357
CALL: phpbb\user->setup()

Screenshot :
zetrader-test-ultimate-phpbb-seo-url-error

When i click on "return to index page" it goes to zeforums.com/viewtopic.php/ and it says "the topic is not available" (for sure with that url), i click on the logo to go back and everything goes back to normal, by the way, the log is done after clicking on "return to index page", i can see i'm logged.

It happens when i'm on a post of the topic with url like topic-url-txx.html#pxxx (xxx is the number of the post), i'll try to see if it happens if i change some parameters about redirecting post to url topic.

@zetrader
Copy link
Author

zetrader commented Nov 28, 2020

Interesting, if i disable both options (it was on yes) :

  1. Activate the Zero duplicate
  2. Strict mode

I don't get the error at login on a post of a topic.

If i put it back, i get back this error either on a post or the topic, if i log being on a topic or post.

EDIT : If i do login a forum or topic, with only "Activate the Zero duplicate" and no strict mode, i have the error too.

@zetrader zetrader changed the title Error when login on a post of a topic Error when login on a post or a topic Nov 28, 2020
@zetrader zetrader changed the title Error when login on a post or a topic Error when login on a post or a topic with zero duplicate strict mode Nov 28, 2020
@meis2m meis2m added the bug label Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants