Author |
Topic |
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 01:26:14
|
Well,
Has anyone experienced this? I am on brinkster, and my forum was working and now it does not, after i modified it for the Avatar.
Please help..
here is the site http://www22.brinkster.com/aspprogramer/default.asp here is some info on the error
The database could not be opened !! Check your config.asp file and set the strConnString so it points to the database. Also check if strDBType is set to the right databasetype.
Code : 80004005
Error Description : '\\genfs2\www22\USERNAME\db\snitz_forums_2000.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Microsoft JET Database Engine error '80004005'
'\\genfs2\www22\USERNAME\db\snitz_forums_2000.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
/aspprogramer/inc_header.asp, line 114
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 28 December 2002 : 01:30:00
|
try changing USERNAME to aspprogramer in your strConnString
it would also be a good idea to use a name other than snitz_forums_2000.mdb for your database name. Choose something that isn't going to be guessed easily and then rename the database. You'll need to use that same name in the strConnString also. |
|
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 01:40:48
|
Thanks, I thought about that, and did that...but forum looks terrible now (though i guess better then before not much...still errors) seems more confusuing..please i like the avatars...i hope to get it working... |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 28 December 2002 : 02:10:19
|
should be fixed now. Just needed to run setup 1 time to set the application variables. |
|
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 02:15:35
|
Looking Good! back to normal! Now what?? I am scared ok so if all is well i have the avatar? where do i go...quite scared, i wait for you, while i read some wrestling news! |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 28 December 2002 : 02:21:20
|
I'm afraid I can't be of much help with the Avatar MOD, I haven't messed with it for awhile. If you followed all of the instructions exactly, then you shouldn't have too much trouble with it. |
|
|
KidSima
Starting Member
28 Posts |
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 02:37:43
|
you see it when you are a member and click your profile.
Here is a cut and paste copy....any specific asp file i can try and correct this?
Edit User Profile
All Fields marked with * are required Contact Info * E-mail Address: Allow Forum Members to Send you E-Mail?: Yes No AIM: ICQ: MSN: YAHOO IM: Links Homepage: Cool Links: Avatar Selection Avatar: None %> if (strBio + strHobbies + strLNews + strQuote) > 0 then if strMode <> "Register" then strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") end if Response.Write " " & vbNewLine & _ " More About Me " & vbNewLine & _ " " & vbNewLine if strHobbies = "1" then Response.Write " " & vbNewLine & _ " Hobbies: " & vbNewLine & _ " " & Trim(cleancode(strMyHobbies)) & " " & vbNewLine & _ " " & vbNewLine end if if strLNews = "1" then Response.Write " " & vbNewLine & _ " Latest News: " & vbNewLine & _ " " & Trim(cleancode(strMyLNews)) & " " & vbNewLine & _ " " & vbNewLine end if if strQuote = "1" then Response.Write " " & vbNewLine & _ " Favorite Quote: " & vbNewLine & _ " " & Trim(cleancode(strMyQuote)) & " " & vbNewLine & _ " " & vbNewLine end if if strBio = "1" then Response.Write " " & vbNewLine & _ " Bio: " & vbNewLine & _ " " & Trim(cleancode(strMyBio)) & " " & vbNewLine & _ " " & vbNewLine end if end if Response.Write " " & vbNewLine & _ " " & vbNewLine end if 'extended profile Response.Write " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " Basics " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " * User Name: " & vbNewLine & _ " " & vbNewLine if (strMode = "goEdit") or (strMode = "goModify" and cLng(Request.Form("MEMBER_ID")) = cLng(intAdminMemberID)) then Response.Write " " & ChkString(rs("M_NAME"), "display") & "" & vbNewLine & _ " " & vbNewLine else Response.Write " "Register" then Response.Write(ChkString(rs("M_NAME"), "display")) Response.Write """>" & vbNewLine end if Response.Write " " & vbNewLine & _ " " & vbNewLine if strMode = "goModify" then Response.Write " " & vbNewLine & _ " Title: " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine end if if strAuthType = "nt" then Response.Write " " & vbNewLine & _ " * Your Account: " & vbNewLine & _ " " & vbNewLine if Request.Form("Method_Type") = "Modify" then Response.Write " " & vbNewLine else Response.Write " " & Session(strCookieURL & "userid") & "" & vbNewLine end if Response.Write " " & vbNewLine & _ " " & vbNewLine else if strMode = "Register" then Response.Write " " & vbNewLine & _ " * Password: " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " * Password Again: " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine else Response.Write " " & vbNewLine & _ " New Password: " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine if strMode = "goEdit" then Response.Write " " & vbNewLine & _ " New Password Again: " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine end if end if end if if strFullName = "1" then Response.Write " " & vbNewLine & _ " Firstname: " & vbNewLine & _ " "Register" then Response.Write(rs("M_FIRSTNAME")) Response.Write """> " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine & _ " Surname: " & vbNewLine & _ " "Register" then Response.Write(rs("M_LASTNAME")) Response.Write """> " & vbNewLine & _ " " & vbNewLine end if if strCity = "1" then Response.Write " " & vbNewLine & _ " City: " & vbNewLine & _ " "Register" then Response.Write(rs("M_CITY")) Response.Write """> " & vbNewLine & _ " " & vbNewLine end if if strState = "1" then Response.Write " " & vbNewLine & _ " State: " & vbNewLine & _ " "Register" then Response.Write(rs("M_STATE")) Response.Write """> " & vbNewLine & _ " " & vbNewLine end if if strCountry = "1" then Response.Write " " & vbNewLine & _ " Country: " & vbNewLine & _ " " & vbNewLine & _ " " & vbNewLine if strMode <> "Register" then Response.Write(" " & ChkString(rs("M_COUNTRY"), "display") & "" & vbNewLine) else Response.Write " " & vbNewLine end if Response.Write " None" & vbNewLine %> Afghanistan Albania Algeria Andorra Angola Anguilla Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Azores Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Borneo Bosnia and Herzegovina Botswana Brazil British Indian Ocean Territories Brunei Bulgaria Burkina Faso (Upper Volta) Burundi Camaroon Cambodia Canada Canary Islands Cape Vere Islands Cayman Islands Central African Rep Chad Chile China Christmas Island Colombia Comoros Islands Congo, Democratic Republic of Costa Rica Croatia Cuba Cyprus Czech Republic Denmark Djibouti Dominica Dominican Republic East Timor Ecuador Egypt El Salvador Equatorial Guinea Eritria Estonia Ethiopia Falkland Islands Faroe Islands Fed Rep Yugoslavia Fiji Finland France French Guiana French Polynesia Fyro Macedonia Gabon Gambia Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guatemala Guinea Guinea-Bissau Guyana Haiti Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Ivory Coast Jamaica Japan Jordan Kazakhstan Kenya Kiribati Korea Kuwait Kyrgyzstan Laos Latvia Lebanon Lesotho Liberia Libya Liechtenstein Lithuania Luxembourg Macao Madagascar Malawi Malaysia Maldives Mali Malta Martinique Mauritania Mauritius Mexico Moldova Monaco Mongolia Montserrat Morocco Mozambique Myanmar (Burma) Namibia Naura Nepal Netherlands Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norway Oman Pakistan Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Island Poland Portugal Qatar Republic of Korea Reunion Island Romania Russia Rwanda Saint Barthelemy Saint Croix Saint Helena Saint Kitts and Nevis Saint Lucia Saint Pierre and Miquelon Saint Vincent and Grenadi San Marino Sao Tome and Principe Saudi Arabia Senegal Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia Northern Region Somalia Southern Region South Africa South Sandwich Islands Spain Sri Lanka Sudan Suriname Swaziland Sweden Switzerland Syria Taiwan Tajikistan Tanzania Thailand Togo Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islnd Tuvalu USA Uganda Ukraine United Arab Emirates United Kingdom Uruguay Uzbekistan Vanuatu Vatican City Venezuela Vietnam Virgin Islands (United Kingdom) Wallis and Futuna Islands Western Sahara Western Samoa Yemen Yugoslavia Zambia Zimbabwe Signature:
View Signatures in Posts?: Yes No Signature checkbox checked by default?: Yes No
Back To Forum
|
|
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 04:47:32
|
in pop_profile.asp it seems to work...but i can see the code all over the place. I tried this twice. basically once registered you click profile and then you see all this code + profile come up...how do i get rid of this???
|
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 28 December 2002 : 05:34:51
|
hi~ KidSima, just check your inc_profile.asp modification again...
end if ' strPicture %> <!--#INCLUDE FILE="inc_avatar.asp" --> <% if (strBio + strHobbies + strLNews + strQuote) > 0 then
make sure you did'nt missing the <% or %> between the including files. |
|
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 18:07:20
|
Thanks but, its seems correct. Can someone log on to my board and click the profiles, then you can see what i am talking about
The code for inc_profile
around line 200
end if ' strPicture %> <!--#INCLUDE FILE="inc_avatar.asp" --> %> if (strBio + strHobbies + strLNews + strQuote) > 0 then if strMode <> "Register" then strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") end if
same...
|
|
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 18:14:56
|
Hope it is not to much trouble to logon to my board, but here is a snap shot of what i am talking about...
|
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 28 December 2002 : 19:03:18
|
quote: Originally posted by KidSima
Thanks but, its seems correct. Can someone log on to my board and click the profiles, then you can see what i am talking about
The code for inc_profile
around line 200
end if ' strPicture %> <!--#INCLUDE FILE="inc_avatar.asp" --> %> if (strBio + strHobbies + strLNews + strQuote) > 0 then if strMode <> "Register" then strMyHobbies = rs("M_HOBBIES") strMyLNews = rs("M_LNEWS") strMyQuote = rs("M_QUOTE") strMyBio = rs("M_BIO") end if
same...
If that is your code then no it is not the same... |
Edited by - Hamlin on 28 December 2002 19:04:24 |
|
|
KidSima
Starting Member
28 Posts |
Posted - 28 December 2002 : 21:50:29
|
so what is different? I note you hightlight %> in red but I have that. Should it not be there?
I do not understand, what do i need to change?
thanks |
|
|
DoraMoon
Average Member
Taiwan
661 Posts |
Posted - 28 December 2002 : 22:33:18
|
hi~ %> <!--#INCLUDE FILE="inc_avatar.asp" --> %> change to %> <!--#INCLUDE FILE="inc_avatar.asp" --> <%
yes, it's really different with %> and <%
|
Edited by - DoraMoon on 28 December 2002 22:34:10 |
|
|
KidSima
Starting Member
28 Posts |
|
Topic |
|