Password recovery

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

Password recovery

Postby tomfra » Fri Mar 14, 2003 10:08 pm

The password recovery tool does not seem to be working. I always get a "This is not a valid domain name" error message. I am running the new 1.4 version. Does anyone have the same problem?

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby Scooby » Sat Mar 15, 2003 2:56 pm

just tryed it on mine working ok so the scripts ok. (on php 4.2)

how are you putting name in should be

yourname.domain.com

scoobs
Last edited by Scooby on Tue Mar 25, 2003 2:24 pm, edited 1 time in total.
User avatar
Scooby
helpful guy
helpful guy
 
Posts: 252
Joined: Fri Jan 24, 2003 2:04 pm
Location: UK

Postby tomfra » Sat Mar 15, 2003 3:11 pm

Scoobs,

I tried it in many formats, one of them was the one you mentioned. I am not sure if this may be the reason, but my web host decided to install PHP 4.3.1 in safe mode just a few days ago. Everything else seems to be working though.

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby tomfra » Mon Mar 17, 2003 2:18 am

Has anyone else experienced the same problem? It's really odd, it looks like the script does not even try to find the subdomain name.

Another possible bug I found is that when you enable using the same email address for multiple accounts and then send an update, it's sent once for each account which means that if someone has 100 accounts registered with the same email they will receive your update 100 times.

The mail function has another, although probably less important, problem - it adds \ before each apostrophe - e.g. "can\'t" instead of "can't". It would be also nice if we could choose HTML format instead of plain text and then possibly send different mailings to different categories. I know I know :) But that forgotten password bug is really important I believe, if it is not caused by my web host's settings of course.

Thanks.

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby andelal » Tue Mar 18, 2003 12:43 pm

Could you post the url to the scripts?
And for the mail problem: I am sure I solved this problem - let me see...
Found it:
Code: Select all
SELECT DISTINCT email FROM

This is the part in the scripts, and it only should select emails once.
I don't understand why it doesn't :( (it does on my installation)

And for the slashes :roll: try to find the mass mailing part, where it says:
Code: Select all
$mailbody = $_POST["mailbody"];

and add one line below:
Code: Select all
$mailbody = stripslashes($mailbody);


Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby tomfra » Tue Mar 18, 2003 9:08 pm

Alex,

I added the code to correct that extra slash problem, I did not test it yet but believe it will work. Regarding the multiple emails to the same email address - that was probably my fault, so nothing to worry about.

However, I believe I found what's the problem with that password recovery tool. I noticed technically the same problem with Whois, but its error message is more exact: "Sorry, but you used special characters, and they are not allowed." . That's because my domain name, my-pci.com contains a dash which is completely ok in a domain name but for some reason myred does not like it.

Is there any solution for this?

Thanks.

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby andelal » Tue Mar 18, 2003 10:04 pm

I found it!
Please download the corrected myred_14.zip from the download area.
You just have to replace the "password.php" file, there has been a small error in it... :roll:

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby tomfra » Wed Mar 19, 2003 12:21 am

Thanks Alex, it works. Could you please also correct whois.php? There is the same problem in it. I tried to fix it myself but with no luck.

Thanks again!

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby andelal » Wed Mar 19, 2003 6:23 am

Corrected...

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby tomfra » Wed Mar 19, 2003 1:35 pm

Thanks again Alex, I appreciate it.

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby tomfra » Wed Mar 19, 2003 1:40 pm

I hate to bug again but now I get this error message when I click on Whois:

Parse error: parse error, unexpected T_ELSEIF in /home/mypci/public_html/myred/whois.php on line 102

Tomas
tomfra
Newbie
Newbie
 
Posts: 21
Joined: Wed Mar 05, 2003 2:30 pm
Location: Prague, Czech Republic

Postby andelal » Wed Mar 19, 2003 1:43 pm

Hehe sorry :oops:
Find
Code: Select all
elseif (!$domainname) {
   $outputmsg = "$text_144";
   $do = "main";
   }

and replace the "elseif" with "if"...

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Postby andelal » Wed Mar 19, 2003 1:44 pm

Remember, i did this at
Posted: 19 Mar 2003 06:23 am
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe


Return to Support

Who is online

Users browsing this forum: No registered users and 26 guests

cron