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

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

pop_up_profile.asp - Quesion

 Post Reply Post Reply
Author
SmOke_N View Drop Down
Newbie
Newbie


Joined: 19 September 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote SmOke_N Quote  Post ReplyReply Direct Link To This Post Topic: pop_up_profile.asp - Quesion
    Posted: 19 September 2005 at 3:38pm
Hey all, been racking my brain trying to figure out what I did to get this error on Line 279 of the pop_up_profile.asp page.


<img src="<%              If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif")         Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">") %></td>


Originally posted by After clicking on Pop Up Link After clicking on Pop Up Link wrote:


pop_up_profile.asp, line 279
If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") 		Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">")
---------------------------------------------------------------------------------------------------- ----------------------------------------^


I'm no expert, in fact this is my first site ever... but If I took a guess it looks like it's missing an
ElseIf or Else, but none of those work. The rest of the color coded code after this is not working unless I put
a Quotation after the last %>.

Hope ya'll can see past my ignorance.. Thanks in advance.

Heck of a first post, but I'm stumped... (hope this is the right place Confused)

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2005 at 4:09pm
make sure this part is on a new line, look like bwlow

If strRankCustomStars <> "" Then Response.Write(strRankCustomStars) Else Response.Write(strImagePath & intRankStars & "_star_rating.gif") 		

Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">")

try that not sure else. looks ok

Back to Top
SmOke_N View Drop Down
Newbie
Newbie


Joined: 19 September 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote SmOke_N Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2005 at 8:34pm
Thanks for the reply DJ, it's so weird, every time I save the file, it all goes to one line like I showed above.

I must have done something, because it worked when started changing the colour on the forum, because I had to change the background colour.  When I changed it for the pop up though, I checked it and it was working.

I even went back and put in the original script, and it still does it.
Back to Top
SmOke_N View Drop Down
Newbie
Newbie


Joined: 19 September 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote SmOke_N Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2005 at 4:51pm
The only way I could fix it was to remove this line:

Response.Write(""" alt=""" & strGroupName & """ align=""absmiddle"">")

But none the less, it works.

Thanks again!

Back to Top
 Post Reply Post Reply

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.