Exclusive eBooks, Software Solutions, Quality Guaranteed
Web NukeBiz
Welcome to NukeBiz · Members
Amazon
show cart or checkout0 items
Cart Value: 0.00


ForumsPlus » DragonflyCMS Projects » AccountPlus » [fixed] User Account Activation link broken
[fixed] User Account Activation link broken
Upgrade of Your Account module.
Post new topic    Reply to topic    Printer Friendly Page     Forum Index »  Community » AccountPlus

View previous topic :: View next topic  
Author Message
Gamekeeper
Operator
Operator

Offline Offline
Joined: Oct 18, 2007
Posts: 22

PostPosted: Wed Jan 06, 2010 1:59 am
Post subject: [fixed] User Account Activation link broken

Link sent in email to new site members is broken.
Code::
http://www.airwarfare.com/index.php?name=Your_Account& amp;file=register&activate=216& amp;check_num=b91c4feb795ba50b26f4ad3283ea84cd

amp; has been inserted after &

Initiated by Bugger (Original Entry) - Comments Here Please.


Gamekeeper's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Gamekeeper
Operator
Operator

Offline Offline
Joined: Oct 18, 2007
Posts: 22

PostPosted: Fri Jan 15, 2010 2:30 am
Post subject: Re: User Account Activation link broken

Email activation is working again.

As the fault occured around the time I installed Accountplus I thought it may have been the cause. I don't know why this happened it maybe something my hosts did but as the site is a subdomain of another dragonfly site that does not use accountplus and whose email activation links continued to work I can't see what would do this.


Gamekeeper's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1420
Location: Netizen
PostPosted: Fri Jan 15, 2010 3:35 am
Post subject: Re: User Account Activation link broken

It may occur with some (inferior) email clients if & is used instead of just plain & - the puzzle is that I thought I had replaced all such instances of & with just &.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.21 / 5.0.92 / 5.2.17 / 10.0.5
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Gamekeeper
Operator
Operator

Offline Offline
Joined: Oct 18, 2007
Posts: 22

PostPosted: Sat Jan 16, 2010 3:45 pm
Post subject: Re: User Account Activation link broken

The problem has occured again, the email clients were Outlook Express and Outlook 2007 the activation link sends you to a login or register page.

Gmail works fine and confirms your registration

Which file would need checking over to solve this?


Gamekeeper's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux, Apache 2.0, SQL 5.0.86-log (client: 4.1.22), PHP 5.2.11 DF 9.2.1
Back to top
View user's profile Send e-mail Visit poster's website
Phoenix
Chairman
Chairman

Offline Offline
Joined: Mar 18, 2004
Posts: 1420
Location: Netizen
PostPosted: Sat Jan 23, 2010 5:22 pm
Post subject: Re: User Account Activation link broken

Typical of both Outlook products and some others like Eudora.

File is register.php

Replace approx. line 382 to
Code::
$finishlink = getlink("&file=register&activate=$uid&check_num=$check_num", true, true);

Also change approx. line 404 to
Code::
if (!send_mail($mailer_message,$message,1,$subject,$user_email,$username,$from)) {


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 2.2.21 / 5.0.92 / 5.2.17 / 10.0.5
Back to top
View user's profile Visit poster's website ICQ Number Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index »  Community » AccountPlus
Page 1 of 1
All times are GMT



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum