Author |
Topic  |
DaMegz
Junior Member
 
126 Posts |
Posted - 16 July 2002 : 12:46:27
|
Please help with this error.
Microsoft VBScript compilation error '800a03ea' Syntax error /forum/inc_jump_to.asp, line 95 'Show NewsFlash Links if Enabled ^
I have checked the code and it matches exactly what the instruction say. Any suggestions?
|
|
DoraMoon
Average Member
  
Taiwan
661 Posts |
Posted - 16 July 2002 : 15:29:22
|
i think there are some miss in readme file of this MOD... try this... ( below remove the part of & _ )
quote:
## Editing inc_jump_to.asp ##
After this line (line 94):
" <option value=""faq.asp"">Frequently Asked Questions</option>" & vbNewline & _
Add this code:
'Show NewsFlash Links if Enabled if (strNewsFlash = "1" And CInt(chkMemLevel(strDBNTUserName)) >= CInt(strNewsFlashView)) then Response.write(" <option value=""newsflash_viewall.asp"">View NewsFlash Alerts</option>" & vbcrlf) end if
~~ ¡¹ ¡¸ ¡¸¡¹ ¡¸ ¡¹ ~~ |
 |
|
DaMegz
Junior Member
 
126 Posts |
Posted - 16 July 2002 : 17:01:24
|
Thanks for the suggestion...I get a different error now. I now get a Page cant be found error, instead of the VBScript error. I have a test newsflash posted, if you want to take a look. http://www.oceanlanes.com/forum
Sorry, But I had to put my original files back, since I couldn't even see any postings. If anybody can help with mod, I can put the files back on for troubleshooting purposes. Thanks
Edited by - DaMegz on 16 July 2002 18:04:01 |
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 16 July 2002 : 18:21:22
|
When the files were up the error I got was an "Unterminated string constant" in the inc_jump_to.asp file I think. You are probably missing a " in there some where but I cant remember the line number it gave 
I also cant remember why I did not post when I first looked at it 
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
Edited by - Hamlin on 16 July 2002 18:22:25 |
 |
|
DaMegz
Junior Member
 
126 Posts |
Posted - 16 July 2002 : 19:02:24
|
Do you want me to put the files back...it would only take a minute?
|
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 16 July 2002 : 19:07:24
|
May as well it cant hurt, also a text link the the inc_jump_tp.asp inc_jump_to.asp file, as thats where I think i saw the error 
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
Edited by - Hamlin on 16 July 2002 19:08:14 |
 |
|
DaMegz
Junior Member
 
126 Posts |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 16 July 2002 : 19:36:04
|
Ok this code around line 96-97
Response.write(" <option value=""newsflash_viewall.asp"">View " & _ " NewsFlash Alerts</option>" & vbcrlf)
Add the code in red, or just move it all onto one line like
Response.write("<option value=""newsflash_viewall.asp"">View NewsFlash Alerts</option>" & vbcrlf)
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. |
 |
|
DaMegz
Junior Member
 
126 Posts |
Posted - 16 July 2002 : 19:54:10
|
Hamlin, I keep getting more errors. I think Im going to put my original files back in, and try to reinstall the mod. What do you think?
|
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 16 July 2002 : 19:58:06
|
quote:
Hamlin, I keep getting more errors. I think Im going to put my original files back in, and try to reinstall the mod. What do you think?
I have never installed this mod, if it needs lots of changes I'd probably try and get it working, if not then maybe thebest option is to re-install it.
What was the new error btw?
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. |
 |
|
DaMegz
Junior Member
 
126 Posts |
Posted - 16 July 2002 : 20:00:56
|
i kept getting the "page cant be found" error...almost evrywhere I went on the forum... I canned it and will try again. Thanks. Im sure you'll hear from me again. Thanks again
|
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 16 July 2002 : 20:04:18
|
Ok, just a note if you are using IE try doing this
Tools > Internet Options > Advanced > un-tick "Show friendly HTTP error messages"
You should then get a error message instead of the page not found.
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. |
 |
|
DaMegz
Junior Member
 
126 Posts |
Posted - 16 July 2002 : 20:18:25
|
Thanks for bringing that to my attention. I was going to ask you how you knew about those errors, but I was embarassed to ask. Thanks for the tip. By the way, maybe you can help me with this issue. When I make backup copies of my files, I leave it on my webserver. When I copy the original files back, the paths in the code has changed. For example if the path to my login button was originally /forum/button_login.gif....then I make a copy of the file in a folder called Backup...then when I restore the file, the path says /backup/buttonLogin.gif, instead of the Forum folder. How can I avoid this problem?
|
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 16 July 2002 : 20:33:18
|
What do you use to edit the files?
I'm not sure why the links would change, some programs are known to muck around with your code, with out telling you, maybe that is the case here...
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. |
 |
|
DaMegz
Junior Member
 
126 Posts |
Posted - 17 July 2002 : 15:47:02
|
OK. I am trying again with this mod. This is the error I get: quote: Microsoft VBScript compilation error '800a0400' Expected statement /forum/inc_jump_to.asp, line 100 " <option value=""members.asp"">Member Information</option>" & vbNewline & _ ^
I have added a copy of the Inc_jump_to.asp at http://www.oceanlanes.com/forum/Inc_jump_to.txt Any help would be appreciated!
|
 |
|
Hamlin
Advanced Member
    
United Kingdom
2386 Posts |
Posted - 17 July 2002 : 16:10:07
|
Change this
"<option value=""members.asp"">Member Information</option>" & vbNewline & _ "<option value=""search.asp"">Search Page</option>" & vbNewline & _ "</select>" & vbNewline & _ "</form>" & vbNewline & _ "<!-- END JUMP TO -->" & vbNewline
To
response.write"<option value=""members.asp"">Member Information</option>" & vbNewline & _ "<option value=""search.asp"">Search Page</option>" & vbNewline & _ "</select>" & vbNewline & _ "</form>" & vbNewline '<!-- END JUMP TO -->
See if that helps if not give us the new error 
No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. |
 |
|
Topic  |
|