Hello,
I've been having some issues with user verifications leading them to a 404 page. I have done some investigation and here is what I have found so far.
/var/logs/apache2/access.log
0.0.0.0 - - [18/Jan/2022:21:40:16 -0500] "GET /user/activate/4/v3rIFyc0de HTTP/1.1" 410 6337 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36"
This let to a 404 (410 in apache2) every time. So, I tried a different ID and code and it redirected as follows:
https:// domain.tld /user/activate/2/rand0mc0d3 =>
https:// domain.tld /for-sale/category/2/post-title
So from that I saw that it's mistaking the user ID for the posting ID.
In MySQL I got:
mysql> select * from oc_t_preference;
...
s:32:"^user/activate/([0-9]+)/(.*?)/?$";
s:53:"index.php?page=register&action=validate&id=$1&code=$2";
...
So, the code is there and verified working correctly, and all other permalinks are functioning correctly and to my knowledge. Where do I look now?
Thanks