Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Newsflash Mod
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  12:46:27  Show Profile
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  Show Profile
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



~~ ¡¹ ¡¸ ¡¸¡¹ ¡¸ ¡¹ ~~
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  17:01:24  Show Profile
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
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 July 2002 :  18:21:22  Show Profile
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
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  19:02:24  Show Profile
Do you want me to put the files back...it would only take a minute?

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 July 2002 :  19:07:24  Show Profile
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
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  19:25:51  Show Profile
OK...they're up, and I have put a text copy of inc_jump_to at
http://www.oceanlanes.com/forum/inc_jump_to.txt
Thanks

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 July 2002 :  19:36:04  Show Profile
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.
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  19:54:10  Show Profile
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?

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 July 2002 :  19:58:06  Show Profile
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.
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  20:00:56  Show Profile
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

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 July 2002 :  20:04:18  Show Profile
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.
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 16 July 2002 :  20:18:25  Show Profile
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?

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 16 July 2002 :  20:33:18  Show Profile
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.
Go to Top of Page

DaMegz
Junior Member

126 Posts

Posted - 17 July 2002 :  15:47:02  Show Profile
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!

Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 17 July 2002 :  16:10:07  Show Profile
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.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07