the 'i forgot my password' link 404s

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

the 'i forgot my password' link 404s

Post by f451 »

Hi,

Looking after a board upgraded fro 3.2.7 to 3.2.11 and then from 3.2.11 to 3.3.5.
Along the way, mysql went from 5.6.36 to 5.6.51 to 5.7.35
php went from 7.2 to 7.4.26

Seems to be working ok, but in my testing i've found that the 'I forgot my password' link 404s

The link is

Code: Select all

http://domain/forum/user/forgot_password?sid="big-bunch-of-hexadecimal-numbers"
please help me with a clue? thanks
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: the 'i forgot my password' link 404s

Post by warmweer »

Try clearing board and browser cache.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

warmweer wrote: Wed Dec 01, 2021 9:50 pm Try clearing board and browser cache.
unfortunately that doesn't wok. fried with firefox and with dooble, a browser not used with the board before.
Last edited by f451 on Thu Dec 02, 2021 12:05 am, edited 2 times in total.
User avatar
warmweer
Jr. Extension Validator
Posts: 11234
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: the 'i forgot my password' link 404s

Post by warmweer »

f451 wrote: Wed Dec 01, 2021 10:00 pm unfortunately that doesn't wok. fried with firefox and with dooble, a browser not used with the board before.
nice one :lol: (hadn't seen that one before)

As to the problem: as stated multiples time before (for others) the server error logs should contain some info about the error. So you should check those (or ask the host if you don't have access to it).


But just for confirmation: did you use any autoupgrade? and is this with prosilver? any extensions enabled?
+ are your cookie settings correct?
Please use the Support Request Template to provide as much information as possible.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

warmweer wrote: Wed Dec 01, 2021 10:28 pm
f451 wrote: Wed Dec 01, 2021 10:00 pm unfortunately that doesn't wok. fried with firefox and with dooble, a browser not used with the board before.
nice one :lol: (hadn't seen that one before)
LOL I couldn't believe it :lol: :lol: :lol: and yes I was hungry at the time
warmweer wrote: As to the problem: as stated multiples time before (for others) the server error logs should contain some info about the error. So you should check those (or ask the host if you don't have access to it).
yeah I have access to all that, I'll have a look. Hopefully the 404 will give whats causing it and not just 404.
warmweer wrote: But just for confirmation: did you use any autoupgrade? and is this with prosilver? any extensions enabled?
+ are your cookie settings correct?
Please use the Support Request Template to provide as much information as possible.
Because it was from so long ago, the upgrade was stepwise. I didn't use the patchset upgrade but the one less advanced than that. Made sure to make it prosilver before starting anything. Then prosilver all the way. I disabled every extension before starting. There are a couple of extensions that no longer work - shoutbox is an example.
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

error in httpd-access is:

Code: Select all

[02/Dec/2021:01:10:03 +0000] "GET /forum/user/forgot_password?sid=274a901ef7e518433feef4319ef93bf2 HTTP/1.1" 404 196
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

this might be related:
phpbb3-error-1.png
phpbb3-error-2.png
The end user created the modified prosilver thing. But it's not what the board is using now.
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

The extension it uses right now is Prosilver Special Edition
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: the 'i forgot my password' link 404s

Post by Lumpy Burgertushie »

prosilver se is not an extension it is a style.
what that messge in the image tells you is that there are no uninstalled styles in the folder.

depending on what version of prosilver se you have installed it may or may not be missing one or more files.
however, if you switch to the default prosilver style and click on the override user box to force prosilver on all users,
it won't matter what prosilver se does or does not have.
once you get things working correctly you can then do whatever you wish about any other styles you want to install and use etc.

luck,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

unfortunately that didn't work. I purged the cache.

The URL the 'forgot password' link is http://v010.zyxst.net/forum/user/forgot_password?sid=[long stream of hexadecimal]

The access log shows this when the above is clicked:

Code: Select all

[04/Dec/2021:02:56:28 +0000] "GET /forum/user/forgot_password HTTP/1.1" 404 196
Searching on the server in the web dir, for "forgot password"

Code: Select all

% find . -type f -name "forgot_*"
./phpbb/db/migration/data/v310/forgot_password.php
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: the 'i forgot my password' link 404s

Post by Lumpy Burgertushie »

go here: http://v010.zyxst.net/forum/app.php/use ... t_password

if you can access the admin panel, general tab/server configuration/server settings and make sure that Enable URL Rewriting: is set to "no".


go to cookie settings. your cookie domain is wrong.

you have: .tsbt.co.uk

and it should be: .v010.zyxst.net or v010.zyxst.net

try it with the dot in front.
change the cookie name by adding or subtracting a character.
submit

purge the cache and clear your browser cookies from the board home page at the bottom.


test

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

Lumpy Burgertushie wrote: Sat Dec 04, 2021 4:38 am go here: http://v010.zyxst.net/forum/app.php/use ... t_password

if you can access the admin panel, general tab/server configuration/server settings and make sure that Enable URL Rewriting: is set to "no".

go to cookie settings. your cookie domain is wrong.

you have: .tsbt.co.uk

and it should be: .v010.zyxst.net or v010.zyxst.net

try it with the dot in front.
change the cookie name by adding or subtracting a character.
submit

purge the cache and clear your browser cookies from the board home page at the bottom.

test

robert
ahhh thank you, that sorted it. :D

I guess I can set url rewriting back to yes when the domain migrates across? and also set cookies to the domain (but a different bit after the _ )
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: the 'i forgot my password' link 404s

Post by Lumpy Burgertushie »

I doubt that the url rewriting has anything to do with a domain migration.
t he cookie settings need to be correct for where the board is actually installed.

so, my advice would be set the cookies as I showed you and turn off the url rewriting and leave it off.

luck,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: the 'i forgot my password' link 404s

Post by Mick »

Enable URL Rewriting:
When enabled, URLs containing ’app.php’ will be rewritten to remove the filename (i.e. app.php/foo will become /foo)
That’s all it does and in most cases isn’t required.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
f451
Registered User
Posts: 15
Joined: Tue Nov 23, 2021 5:19 pm

Re: the 'i forgot my password' link 404s

Post by f451 »

Yeah, the board seems to work better with rewrite off. I'm unsure why it was on, as I didn't set it up initially.
Post Reply

Return to “[3.3.x] Support Forum”