Author |
Topic |
|
mbdtk
Starting Member
9 Posts |
Posted - 20 April 2001 : 21:32:12
|
I've now done a fresh install of the forum and Davio's email password mod. It works perfectly :), until the 'restrict posting' mod is added. Then I get the error below:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'emailPassword'
/f3/register.asp, line 158
The line in question reads:
strPassword = emailPassword("no")
Any help will be greatly appreciated as I have no idea of where to start. Many thanks.
Edited by - mbdtk on 20 April 2001 22:12:21 |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 21 April 2001 : 01:01:54
|
Ok, then if it worked perfectly until you added the other mod, then it's my mod that is giving the error but something that you changed when adding the other mod.
What restrict posting mod is that you are reffering to? Did it include making changes in the register.asp page?
|
|
|
mbdtk
Starting Member
9 Posts |
Posted - 21 April 2001 : 04:46:51
|
quote:
Ok, then if it worked perfectly until you added the other mod, then it's my mod that is giving the error but something that you changed when adding the other mod.
What restrict posting mod is that you are reffering to? Did it include making changes in the register.asp page?
Thanks for replying :) The restrict posting mod is by HuwR. No changes to register.asp were made. It does add fields to the database, and replaces forum.asp, inc_functions.asp, post.asp, post_info.asp and topic.asp.
Your help is BIG time appreciated, especially as it's not your mod causing the grief. Many thanks
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 21 April 2001 : 09:40:13
|
You "replaced" inc_functions.asp? If you did that, then the "emailPassword" function would be missing. When you add one mod to your forums, you can't replace the files with the other mods after that. You would erase the code for the other mods.
So in the inc_functions.asp file that is in the Random Email Password mod, look for the "emailPassword" function. (it's almost at the bottom of the file) Copy it and paste it into your inc_functions.asp file.
And next time you're adding a mod, you will need to copy and paste the code into your files. Don't replace them.
Edited by - Davio on 21 April 2001 09:41:10 |
|
|
mbdtk
Starting Member
9 Posts |
Posted - 21 April 2001 : 10:11:21
|
quote:
You "replaced" inc_functions.asp? If you did that, then the "emailPassword" function would be missing. When you add one mod to your forums, you can't replace the files with the other mods after that. You would erase the code for the other mods.
So in the inc_functions.asp file that is in the Random Email Password mod, look for the "emailPassword" function. (it's almost at the bottom of the file) Copy it and paste it into your inc_functions.asp file.
And next time you're adding a mod, you will need to copy and paste the code into your files. Don't replace them.
Edited by - Davio on 21 April 2001 09:41:10
Brilliant.... I told you I was new to this :)Thanks for taking the time to explain. Best wishes, and thanks again.
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 21 April 2001 : 10:14:53
|
You're Welcome!
And if everyone who used the forums were ASP guru's we wouldn't be needed here.
|
|
|
|
Topic |
|