Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Need some help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Need some help

 Post Reply Post Reply
Author
Yokunama View Drop Down
Newbie
Newbie


Joined: 09 June 2002
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yokunama Quote  Post ReplyReply Direct Link To This Post Topic: Need some help
    Posted: 11 June 2003 at 10:31am

I had the forums working for a few days. Now all I get is......

Microsoft VBScript compilation error '800a0400'

Expected statement

/YoKuNaMa/forum/Default.asp, line 6

Option Explicit
^

Can someone help me with my problem?

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2003 at 11:44am

you must of edited the code.

Option Explicit is a script debugger, and needs to be declared before anything else, its on line 6 so you probably have some code before it

Back to Top
Yokunama View Drop Down
Newbie
Newbie


Joined: 09 June 2002
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yokunama Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2003 at 12:01pm
I never did edit it.
Back to Top
Yokunama View Drop Down
Newbie
Newbie


Joined: 09 June 2002
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yokunama Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2003 at 12:27pm
I fixed it......
Back to Top
Yokunama View Drop Down
Newbie
Newbie


Joined: 09 June 2002
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yokunama Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2003 at 12:41pm

is the first code in the asp files suppose to be.....

<% @ Language=VBScript %>

after that is

<% Option Explicit %>

<!--#include file="common.asp" -->

<!--#include file="functions/functions_hash1way.asp" -->

after I deleted the folder I had the files in on my computer, I unziped it again and looked at the files and this is how it came out

-----------------------------

I changed <% Option Explicit %> to <!-- Option Explicit --> and I stopped getting the error on the page. 

Does the "%" sign suppose to be there?



Edited by Yokunama
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: 11 June 2003 at 1:18pm
Line 6 is supposed to contain a copyright line, so you have either edited the file or it has become corrupted, try re-uploading the original files again, and don't remove the copyright as this breaks the license agreement that you accepted when you downloaded the application.
Back to Top
Yokunama View Drop Down
Newbie
Newbie


Joined: 09 June 2002
Location: United States
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yokunama Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2003 at 1:33pm

I re-uploaded the files and got the same thing. I guess the files are corrupted.

Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 11 June 2003 at 1:54pm
re-download them from webwiz then
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.