| Author |
Message |
nuk3r New Member


Joined: Dec 19, 2003 Posts: 18
|
Posted:
Sat Feb 21, 2004 2:21 am |
|
hello
I seem to be getting an invalid link being sent by the activation email.
its sending out
| Code: | | /modules.php?name=Your_Account |
there is no or anyother info after the Your_Account part?
Ive tried a number of fixes to get rid of this but none of them seem to change it?
Ive changed servers so the only thing i can think of is maybe a different dir structure?
my root dir is "mainwebsite_html" but this is just a virtual link on the server to /var/www/html/
so all my files are loacated inside /var/www/html/
ive tried every dir i can think of
and the email still comes thru as /modules.....
Id simply use the no email hack and be done but my your_account index.php is already changed alot,so i cant just overwrite it.
Can anyone suggest a fix for this? ITS DRIVING ME MAAAAD  |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Feb 21, 2004 8:51 am |
|
First off I would restore the defauly index.php just to verify that it works correctly. If it does, then you know, for sure, that it is in your modifications. |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
|
Posted:
Sat Feb 21, 2004 11:29 am |
|
In modules/Your_Account/index.php under function finishNewUser you should have a line similar to:
| Code: | | $finishlink = "$nukeurl/modules.php?name=$module_name&op=activate&username=$username&check_num=$check_num"; |
and $nukeurl should be in the function's global line, if that checks ok then your site url in admin preferences might be empty. |
|
|
|
 |
nuk3r New Member


Joined: Dec 19, 2003 Posts: 18
|
Posted:
Sat Feb 21, 2004 3:29 pm |
|
Thanks for the help
I checked my index.php file in your_account and it was wrong
you said it should be this
$finishlink = "$nukeurl/modules.php?name=$module_name&op=activate&username=$username&check_num=$check_num";
mine was only this portion
/modules.php?name=$module_name
ive added in the correct line from a fresh index file but now when a user registers it send the correct link but it doesnt add my to the front?
 |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
|
Posted:
Sat Feb 21, 2004 3:39 pm |
|
If the finishlink line was incorrect as i mentioned it is very likely that $nukeurl is missing from the function's global line:
global $stop, $EditedMessage, $adminmail, $sitename, $Default_Theme, $user_prefix, $dbi, $storyhome, $module_name, $nukeurl; |
|
|
|
 |
nuk3r New Member


Joined: Dec 19, 2003 Posts: 18
|
Posted:
Sat Feb 21, 2004 3:45 pm |
|
OK now im just choked! its always the simplest things
seems there was an extra character in $nukeurl variable
so it was searching for $nukeurlm instead of $nukeurl
THANKS FOR THE help chatserv made my day now  |
|
|
|
 |
chatserv The Mouse Is Extension Of Arm

Joined: May 02, 2003 Posts: 1396 Location: Puerto Rico
|
Posted:
Sat Feb 21, 2004 3:52 pm |
|
|
|
 |
|
|
|
|