Author |
Topic |
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 11:08:29
|
I just installed the avatar MOD.
It requires editing a bunch of asp files, and I was very careful.
I can go to the Admin Config and see the avatar additions there, and they even run. When I go into the message base and try to view posts I get the following error message:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/forums/topic.asp, line 97
", ", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_AVATAR_URL" & _ ----^
Hopefully that is the only error message I will get once this one is fixed.
Can anyone please steer me in the right direction?
Thank you. |
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 18 February 2005 : 11:25:25
|
Remove the first two characters (",) from that line in your topic.asp
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 18 February 2005 : 11:26:02
|
You need to remove one of those two ", so that it looks like this:
", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_AVATAR_URL" & _
Awww... Shaggy beat me to it |
Edited by - Jorrit787 on 18 February 2005 11:26:38 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 18 February 2005 : 12:44:00
|
By a mere 47 seconds as well! This place is getting far too helpful!
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 15:09:49
|
Thanks guys!!! Both of you!
I only hope that I can be of assistance to you someday.
My expertise is not code. I can do just about anything with a network though. MCP, MCSE, CNA, CNE, MCDBA, and A+ certified. So if you ever need help, feel free to ask. |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 15:13:53
|
Reporting back... that was my only error... it works now!
Thanks!! |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 15:51:58
|
Now I am starting to feel like there is an ID-10-T error somewhere...
I can not get the avatars to upload using the mass add option.
Here is what I have....
For the "The new avatars are in a folder called:" field I have the following:
http://www.bubbesays.com/avatars/2-18-05/gamers/
For the "The main avatar folder is called:" field I have the following:
http://www.bubbesays.com/avatars/
The physical path for the .gif files is: C:\Inetpub\Client\bubbesays.com\avatars\2-18-05\gamers
The error message I get is:
Server.MapPath() error 'ASP 0173 : 80004005'
Invalid Path Character
/forums/admin_avatar_mass_add.asp, line 85
An invalid character was specified in the Path parameter for the MapPath method.
I don't know if this makes any difference or not, but here is the physical path on my hard disk that contains the .gif files:
C:\Inetpub\Client\bubbesays.com\avatars\2-18-05\gamers
I really hope the solution is something compilcated, that way I won't feel like such a jack-ass when I am told what I did wrong.
Thanks again for bailing me out! |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 18 February 2005 : 17:07:26
|
quote: Originally posted by cmerwitzer
For the "The new avatars are in a folder called:" field I have the following:
http://www.bubbesays.com/avatars/2-18-05/gamers/
For the "The main avatar folder is called:" field I have the following:
http://www.bubbesays.com/avatars/
The physical path for the .gif files is: C:\Inetpub\Client\bubbesays.com\avatars\2-18-05\gamers
The Directory Listing Denied 'error' is a server setting - Contact your host about that. I call it an 'error' because it is actually a safety measure that prevents outsiders from browsing folders they have no business with, like a db folder.
quote: The error message I get is:
Server.MapPath() error 'ASP 0173 : 80004005'
Invalid Path Character
/forums/admin_avatar_mass_add.asp, line 85
An invalid character was specified in the Path parameter for the MapPath method.
I don't know if this makes any difference or not, but here is the physical path on my hard disk that contains the .gif files:
C:\Inetpub\Client\bubbesays.com\avatars\2-18-05\gamers
Look up line 85 of avatar_mass_add and see if there are by accident any corrupt characters.
quote: I really hope the solution is something compilcated, that way I won't feel like such a jack-ass when I am told what I did wrong.
Thanks again for bailing me out!
I remember vividly that I started this way, everybody does at some point, so don't worry about it |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 17:16:06
|
Line 85 of my admin_avatar_mass_add.asp looks like this:
newAvatarFolder = Server.MapPath(Request.Form("avatarFolderNew"))
I see no corrupt characters. Do you?
I am not really sure I understand the error, but it says something about there being an invalid path character.. .to me that means that there is something about the path that is not making this work.
Thanks for the kind words... I suppose we all do start someplace. |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 17:32:26
|
Here is a thought... I put the .asp files that came with the avatar MOD in my \Forums folder. Could that be a problem?
The thing is, I can add avatars one at a time, and they do show up in the forums. It is only the MASS AVATAR ADD that is not working. |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 18 February 2005 : 17:36:15
|
The 2-18-05 date format may be the problem, although I'm not sure. It doesn't seem likely that someone would create a MOD that has a fundemental error like this.
Sorry, I'm out of ideas. |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 17:41:43
|
I suppose I can dump that folder name and try something else... thanks for trying. |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 17:46:19
|
Did not make a difference. I moved the .gif files to: www.bubbesays.com/forums/avatars/temp for the source location and www.bubbesays.com/forums/avatars for the storage location.
Now I get an error regarding line 88 instead.
Microsoft VBScript runtime error '800a004c'
Path not found
/forums/admin_avatar_mass_add.asp, line 88
There must be something very minor going on since the other funtions are all working... it is just with the MASS ADD that the problem occurs.
By the way, where is a good source of avatars? The ones I have are kind of lame. |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 17:52:14
|
By the way, when making all of the changes to the .asp files, there are certain changes that are made to certain versions only. I did not see my version, which is the newest listed, but figured the 3.4.05 version would take the edits for the 3.4.03 version. |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 18 February 2005 : 18:23:13
|
quote: Originally posted by cmerwitzer
By the way, where is a good source of avatars? The ones I have are kind of lame.
Install the My Avatar Addon and you won't have to worry about that |
|
|
cmerwitzer
New Member
63 Posts |
Posted - 18 February 2005 : 19:53:03
|
Cool.... Thanks. Where is this available. I did not see it at Snitzbitz. |
Edited by - cmerwitzer on 18 February 2005 19:54:03 |
|
|
Topic |
|