Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - pop_up_profile.asp help please
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

pop_up_profile.asp help please

 Post Reply Post Reply Page  12>
Author
wingking View Drop Down
Groupie
Groupie
Avatar

Joined: 09 January 2004
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote wingking Quote  Post ReplyReply Direct Link To This Post Topic: pop_up_profile.asp help please
    Posted: 17 January 2004 at 12:10am

I have tried and retried and tried again to fix this bug so now I plead for help. At first I thought this was a corruption in the download so I have redone it countless times. In the code this is stated a little over half way down the page.   <tr>
         <td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text"><% = strTxtGroup %>:</td>
         <td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" class="text"><% = strGroupName %>
         <img src="<% If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif")   Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">") %>%3C/td%3E%20%20%20%20%20%20%20%20%3C/tr%3E%20%20%20%20% 20%20%20%20%20%3Ctr%3E%20%20%20%20%20%20%20%20%20%3Ctd%20bac kground="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text"><% = strTxtAccountStatus %>:</td>
         <td background="<% = strTableProfileBgImage %>" bgcolor="<% =(strTableRowProfileColour) %>" class="text"><% If blnActive = True Then Response.Write(strTxtActive) Else Response.Write(strTxtNotActive)%></td>
        </tr>
        </tr>

 

it is not good code but can not figure out where it goes wrong. PLease help does anyone else have this problem?

Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 12:30am
whats the error?
Back to Top
wingking View Drop Down
Groupie
Groupie
Avatar

Joined: 09 January 2004
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote wingking Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 12:33am

Sorry about that...

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forum/pop_up_profile.asp, line 322

If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") 		Response.Write(""" alt=""" & strGroupName & """  align=""absmiddle"">")
--------------------------------- ------------------------------------------------------------ -----------------------------------------------^ 
 
And this is in sql 7.7. the whole is whacked though it has two end table rows, all them 20 and such are going to be a problem. The download needs to be fixed me thinks.


Edited by wingking
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 1:24am
Reupload the file with a fresh copy of the forum.
Back to Top
wingking View Drop Down
Groupie
Groupie
Avatar

Joined: 09 January 2004
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote wingking Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 1:28am
did that like 5 times already. deleted all files from ie redid it at least 5 times every time the code is the same. maybe the file is corrupt on the server.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 4:28am
What you have posted is certainly corrupted.

Try a different unzip prgram like winRar
Back to Top
wingking View Drop Down
Groupie
Groupie
Avatar

Joined: 09 January 2004
Location: United States
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote wingking Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2004 at 1:12pm
Thanks boRg, I just went ahead and fixed it manually quicker and easier. I just wanted to give you guys a heads up to check out the files on the server. I did try a different unzip still got the same thing. I was taking the one of the us mirror. Any way thanks fo an excellent board package I hope we are making it worth your time and effort.

Edited by wingking
Back to Top
Erdnase View Drop Down
Newbie
Newbie


Joined: 13 October 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Erdnase Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2005 at 11:50am
I'm using the latest version of the forums and am seeing the same problem wingking did.
 
In the file pop_up_profile.asp, Line 279 reads as follows:
 
<img src="<%           If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif")   Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">") %>%3C/td%3E%20%20%20%20%20%20%20%20%3C/tr%3E%20%20%20%20%20%20%20%20%20%3Ctr%3E%20%20%20%20%20%20 %20%20%20%3Ctd%20background=" bgcolor="<% =(strTableRowProfileColour) %>" align="right" class="text" <% = strTableProfileBgImage %>"><% = strTxtAccountStatus %>:</td>
 
This results in the following:
 

The profile appears this way for all users, regardless of who's viewing it.
 
I've download fresh copies of the forums and re-installed, and I've used both WinZip and WinRar to do so. It appears the corruption (if that's what it is) exists in the original file.
 
Can someone tell me how Line 279 should read? I can paste it over what I have if I have a correct version...
 
Thanks
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.