Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 12:19:22 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155556 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: 1 [2]   Go Down
Print
Author Topic: "Forgot Password" troubles  (Read 10406 times)
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #25 on: March 08, 2006, 11:54:45 PM »

You wrote 'same server'

it might have to do with the way that server handles mail

try removing the -f $fromaddress bit :
Quote
1/ edit ./framework/class.wb.php
2/ change line 254:
if(mail($toaddress, $subject, $message, $headers, "-f  $fromaddress")) {
to
if(mail($toaddress, $subject, $message, $headers)) {
I think here lies your problem.

This worked!! We've got the show on the road again! Thanks, John!  cheesy
Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #26 on: March 08, 2006, 11:56:23 PM »

So now the question is: was this a global problem that needs to be changed in WB's code? Or was this a situation-specific issue, and I'll need to be aware of this alteration for every instance of WB I install on this server?

Thanks.
Logged
pcwacht
Guest
« Reply #27 on: March 09, 2006, 12:18:35 AM »

Pfffff, good question

The number of users without problems shows it is this situation-specific, to be more precise, it only has to do with the way the server handles mail so I would say it is more server-specific.

There allways will be situations wich differ too much from the test servers where stuff is developed and tested

The good side of this all is, now we know Wink

John

Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #28 on: March 09, 2006, 12:46:45 AM »

Well, the interesting thing is that my host is upgrading servers right now, and I'm curious about whether the existing code would have worked on the new server. (OTOH, I'm in trepidation whether moving will end up breaking something....)  shocked
Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #29 on: March 17, 2006, 06:01:18 PM »

I don't believe this....

New install of WB on a personal account. I've altered the line in the framwork/class.wb.p hp file as outlined above. Fine - email works, no problem.

Well, except for one thing - the email sends me my username and password, but WB doesn't accept. Even odder: these problems are only with the *admin* username and password. Basic user signs in fine.

This boggles the mind. :\
Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #30 on: March 17, 2006, 06:02:53 PM »

I don't believe this....

New install of WB on a personal account. I've altered the line in the framwork/class.wb.p hp file as outlined above. Fine - email works, no problem.

Well, except for one thing - the email sends me my username and password, but WB doesn't accept. Even odder: these problems are only with the *admin* username and password. Basic user signs in fine.
Okay, it gets weirder - I can sign in directly from the back end URL www. domain.com / admin / but not from the front end. (Whew.)
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #31 on: March 17, 2006, 06:12:28 PM »

Hello

Quote
I can sign in directly from the back end URL www. domain.com / admin / but not from the front end

Look in the forum, is there discussed many times. Thought it was fixed in WB 2.6.2.

Matthias
Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #32 on: March 17, 2006, 06:28:30 PM »

Sorry, I'm short on sleep. Should have searched, but I discovered the URL issue (i.e. that I could access from the /admin/) midstream.

Fixed in 2.6.2? Apparently not.... this download is 2.6.2, from a couple of days ago.
Logged
Stefan
Guest
« Reply #33 on: March 17, 2006, 06:36:16 PM »

The problem with the forgotten password e-mail is present in 2.6.2 and will be fixed in the next release.
I don't know of any problems regarding the login. You mean the same username/password works in admin login but fails in frontend?
Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #34 on: March 17, 2006, 06:40:20 PM »

The problem with the forgotten password e-mail is present in 2.6.2 and will be fixed in the next release.
I don't know of any problems regarding the login. You mean the same username/password works in admin login but fails in frontend?
Yes, I've got the non-functioning email resolved (as per changing the line, mentioned above). But as to your question, yes: same username/password works in admin login and fails in the front end.
Logged
Stefan
Guest
« Reply #35 on: March 17, 2006, 10:44:27 PM »

 huh
Charset maybe?
Logged
Gerhard

Offline Offline

Posts: 37



WWW
« Reply #36 on: March 17, 2006, 11:19:45 PM »

Hi, to be able to at least bypass the 1 hour lock you can open your database via //localhost/wb/phpmydamin, select the user table and reset the "last_reset" field of that user record  to  "0" (without the quotes of course),  wb will then try to resend the new password again,

what error message do you get when trying to send password.

did it ever work before

if you are using apache under windows
are the parameter in the [smtp] section in apache/bin/php.ini correct



Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #37 on: March 18, 2006, 12:28:16 AM »

Gerhard, please read the above thread. There is NO PROBLEM sending emails, once that one line in the class.wb file is changed. The present problem has only to do with being able to sign in as admin from the front end. Not a crisis once you know what's happening, but kind of annoying.
Logged
Stefan
Guest
« Reply #38 on: March 18, 2006, 12:48:35 PM »

@rabsaul:
Have you noticed my question about the charset. Both frontend and admin use basically the same login script so I wonder if it has to do with the Charset encoding in the respective pages. Is your password non-standard (i.e. not English)?
Logged
rabsaul

Offline Offline

Posts: 263


WWW
« Reply #39 on: March 18, 2006, 08:44:48 PM »

@rabsaul:
Have you noticed my question about the charset. Both frontend and admin use basically the same login script so I wonder if it has to do with the Charset encoding in the respective pages. Is your password non-standard (i.e. not English)?
No, Stefan, just basic alpha-Roman numbers and letters.
Logged
Pages: 1 [2]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!