[SOLVED] Lost Password 404 error

12 years 8 months ago #174527 by krileon
Replied by krileon on topic Re: Lost Password 404 error

due to the extensive customization done to core files of Community builder and the attached modifications.

This unfortunately is where support must end. We can not provide support once core edits have been made. Your installation is compromised. Please note template changes or language file changes do not count as core edits.

All I would really like to know is where the functionality for the lost password and lost username is programmed so that I can debug it myself. I understand tha because we have changed things that full support is not an option. That's why we just want a location

comprofiler.php and comprofiler.html.php contain a lot of the data responsible for forgot login feature.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 8 months ago - 12 years 8 months ago #174528 by clickmo
Replied by clickmo on topic Re: Lost Password 404 error
Thanks,

comprofiler.html.php is the section I was looking for.

Just a quick followup for anyone else having this issue in the future.

comprofiler.php was calling login() but did not pass a calue with $option so within comprofiler.html.php I set $option to com_porfiler in the function:
static function loginForm( $option, &$postvars, $regErrorMSG = null )

Because no option was passed to the login, nothing was sent to the loginformfunction which caused an error after submitting because it could not find the component for NULL

The quick fix for anyone with this problem is to add

<?php $option = "com_comprofiler"; ?>

above this line in comprofiler.html.php
<input type="hidden" name="option" value="<?php echo $option;?>" />



You can mark this section as solved.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.333 seconds

Facebook Twitter LinkedIn