CGUserDirectory Template redirects to frontend page
Posted: Sun Apr 27, 2025 3:53 pm
I have an old very active website that uses CGUserDirectory that has suddenly started behaving strangely.
If you click on a link on the website where CGUserDirectory is set to a specific detail template, the user is redirected to a different page in the frontend than specified in the parameters.
If you try to edit the CGUserDirectory detail template in the admin, you are also sent to the same page in the frontend. So you can't edit the template at all.
I also can't edit the template via MySQL because the cms_module_templates table doesn't have a unique column and editing is therefore not possible.
Does anyone have an idea what went wrong and how I can solve the problem without having to recode all templates from scratch?
If you click on a link on the website where CGUserDirectory is set to a specific detail template, the user is redirected to a different page in the frontend than specified in the parameters.
If you try to edit the CGUserDirectory detail template in the admin, you are also sent to the same page in the frontend. So you can't edit the template at all.
I also can't edit the template via MySQL because the cms_module_templates table doesn't have a unique column and editing is therefore not possible.
Does anyone have an idea what went wrong and how I can solve the problem without having to recode all templates from scratch?