ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Reset password link isn't working

August 19, 2011 9:42am

Subscribe [4]
  • #1 / Aug 19, 2011 9:42am

    cpaws

    25 posts

    Hi,

    When I click on “forgot password” I get the first email with a link to click. When I click that link I’m told my password has been reset I’ll be receiving another one shortly. That email never comes.

    Any thoughts?

    Thanks.

  • #2 / Aug 19, 2011 9:51am

    Fusion Design

    128 posts

    Hi there,

    Can you receive email from your server to your address outside of EE?
    Try setting up a simple php mail() script.

  • #3 / Aug 19, 2011 9:54am

    cpaws

    25 posts

    Well I get the first email…

    How would I set up this script? And what would it tell me?

  • #4 / Aug 19, 2011 10:00am

    Fusion Design

    128 posts

    Sorry, I misinterpreted your problem.
    It may be you have the same problem as this thread: http://ellislab.com/forums/viewthread/151548/

  • #5 / Aug 19, 2011 10:05am

    cpaws

    25 posts

    K that works; adding index.php to the URL. How do I make the email send the right link (with index.php included)?

  • #6 / Aug 19, 2011 10:11am

    Fusion Design

    128 posts

    You should be able to Edit it in your ‘Admin -> General Configuration’ options as the ‘URL to your Control Panel index page’, making sure it ends in index.php

  • #7 / Aug 19, 2011 10:20am

    cpaws

    25 posts

    When I change that it doesn’t stick. It says preferences updated but it still has no index.php.

    It is correct in the config.php file, though. But the email still doesn’t have index.php in it.

  • #8 / Aug 20, 2011 10:15am

    Sue Crocker

    26054 posts

    Hi, cpaws.

    You mentioned index.php - are you removing it via an .htaccess file?

    You mentioned you didn’t receive an email with the reset password link, but then you did..

  • #9 / Aug 23, 2011 10:08am

    cpaws

    25 posts

    1. Yes.

    2. No. I said I don’t receive the second email with the new password. It works if I copy the link from the email and add index.php to it and click it. If I do that, then I’ll get the new password email. Otherwise nothing comes.

    I need to know where I can put the index.php so that it comes in the email automatically, because I can’t instruct my clients to copy/paste/add stuff into their link just to make it work.

  • #10 / Aug 23, 2011 9:53pm

    Dan Decker

    7338 posts

    cpaws,

    We definitely don’t want you client to have to copy/paste/edit. Let’s get this sorted out.

    Can you post the contents of your .htaccess? Are you using the supported method of removing index.php, or something more complex?

    Cheers,

  • #11 / Aug 31, 2011 10:11am

    cpaws

    25 posts

    I’m using the exclude method.

    So:

    # BEGIN ExpressionEngine Rewrite
    RewriteEngine on 
    RewriteCond $1 !^(images|includes|system|themes|favicon\.ico|robots\.txt|index\.php|sitemap\.php) [NC]
    RewriteCond $1 !^(401.shtml)
    RewriteRule ^(.*)$ /index.php/$1 [L]  
    # END ExpressionEngine Rewrite

    I think FusionDesign was onto something with the changing of the control panel link. Do you know why it won’t save or how I can make it stick?

  • #12 / Aug 31, 2011 7:23pm

    Dan Decker

    7338 posts

    cpaws,

    There are a few things we can try in order to get that setting to “stick”, but first we need to know your ExpressionEngine version. Also, if you disable .htaccess, does everything work properly? The method outlined above is not the officially supported way of using .htaccess

    Cheers,

  • #13 / Sep 01, 2011 10:12am

    cpaws

    25 posts

    Version 2.2. No it does not work if I remove the .htaccess.

  • #14 / Sep 01, 2011 11:44pm

    Dan Decker

    7338 posts

    cpaws,

    Have a look in Admin-> System Administration-> Config File Editor and look for $config[‘cp_url’] Make sure the value is something similar to http://example.com/system/index.php and click Update at the bottom of the page.

    Cheers,

  • #15 / Sep 02, 2011 11:14am

    cpaws

    25 posts

    It’s not. It’s http://example.com/system. When I try to change it to http://example.com/system/index.php and click update, it says success but just goes back to what it was. However if I look in the URL bar, I’m accessing it at http:/example.com/system/index.php.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases