PD forums

Pyro Pilots Lounge. For all topics *not* covered in other DBB forums.

Moderators: fliptw, roid

Post Reply
User avatar
Boo
DBB Ace
DBB Ace
Posts: 413
Joined: Mon Feb 09, 2004 3:01 am

PD forums

Post by Boo »

When I click on a thread, it gives me some kind of VBS error. Is this happening to anyone else?
User avatar
SSX-Thunderbird
DBB Admiral
DBB Admiral
Posts: 1275
Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)

Post by SSX-Thunderbird »

If you actually have details, it might help to drop it in my mailbox so I can find and fix the error. As currently all I'm seeing is HTTP 1.1 500 Server Error (and Mozilla usually gives more information, but it presently isn't doing so).
User avatar
DarkShadow
DBB Admiral
DBB Admiral
Posts: 1371
Joined: Thu Apr 29, 1999 2:01 am
Location: Pittsburgh, PA, USA
Contact:

Post by DarkShadow »

I get This info in Firefox

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: ""]'

/asp/forum_posts.asp, line 171
User avatar
Top Gun
DBB Master
DBB Master
Posts: 8099
Joined: Wed Nov 13, 2002 3:01 am

Post by Top Gun »

I'm able to get on without any errors.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Thunderbird, they're running IIS, which is spitting out its own error message, which is just as uninformative as the standard IE "500 Internal Server Error" message.
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

DarkShadow wrote:I get This info in Firefox

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: ""]'

/asp/forum_posts.asp, line 171
Ditto in Mozilla 1.7.1. It seems that someone is mucking with the forum. IE gets through because it ignores whatever has been changed.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Or more likely, the forum doesnt get the bug because the bad string is probably a browsermatch string and:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
gets through, but something else like:
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707"
or
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2"
breaks it.
User avatar
SSX-Thunderbird
DBB Admiral
DBB Admiral
Posts: 1275
Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)

Post by SSX-Thunderbird »

I'll take a look at it after work today. Which will be a wait for at least 4 more hours, so you'll just have to use IE for now or wait :P.

/me goes back to ASP.NET coding.
User avatar
SSX-Thunderbird
DBB Admiral
DBB Admiral
Posts: 1275
Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)

Post by SSX-Thunderbird »

This is the line the error is referring to:

If Request.Cookies("LoggedIn")=1 Then

This is a new cookie, which you might not have set (it sets itself upon login. My first suggestion is to log out and log back in on PD.
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

Yeah, but some of us haven't registered. ;) (namely me)
User avatar
Avder
DBB Material Defender
DBB Material Defender
Posts: 4926
Joined: Sat Oct 09, 1999 2:01 am
Location: Moorhead, MN

Post by Avder »

Install prefs bar in mozilla and fake your browser id.
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

Oh, I already know how to fake my browser ID, but its a PITA for those that don't know how to. Thats why I kinda want the issue to be fixed for those that don't have an account and use browsers other than IE.
User avatar
SSX-Thunderbird
DBB Admiral
DBB Admiral
Posts: 1275
Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)

Post by SSX-Thunderbird »

What I'm curious is why this error only appears for Mozilla. It's a SERVER error for crying out loud.

(EDIT)All errors have been tracked down and corrected. Or so I'd like to think. Cookie to whoever spots the error (from the line I posted, it was the same error for every instance).
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

Well, the VBS script error doesn't appear anymore. Now all I get is:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.

/asp/db.asp, line 37
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

And I still cant edit my posts there. It is not the cookie because I logged out, deleted the cookie, logged back in and tried other browsers as well.
User avatar
Stryker
DBB Admiral
DBB Admiral
Posts: 1103
Joined: Sat Jun 12, 2004 7:58 am
Contact:

Post by Stryker »

I'm using mozilla, and things seem to work fine for me--except the edit button.
User avatar
KompresZor
DBB Captain
DBB Captain
Posts: 919
Joined: Wed Jul 31, 2002 2:01 am
Location: Clearfield, Pennslyvania

Post by KompresZor »

this is what I get...
edit:
Mozilla 1.7.2
In IE it works fine
/edit

Code: Select all

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near '='.

/asp/db.asp, line 37
User avatar
SSX-Thunderbird
DBB Admiral
DBB Admiral
Posts: 1275
Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)

Post by SSX-Thunderbird »

If SQL errors come up, it might help to post the page you were trying to access (all SQL queries are done in a single file).

I've hit both those errors. The SQL error was erroring for those who weren't registered, and the edit issue (which affected moderators as well) was a result of me comparing variables of different types (oops).
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Pfft... VBScript sometimes gives the infamous Run Time Error 13 - Type Mismatch when you compare variables of the same type. Ugh.
User avatar
SSX-Thunderbird
DBB Admiral
DBB Admiral
Posts: 1275
Joined: Sun Jun 03, 2001 2:01 am
Location: Washington (the state, not the city)

Post by SSX-Thunderbird »

They're all Variants, actually (no type is specified upon declaration), but evidently if the internal type is different, then an equal check returns false. The stored ID for the post creator is pulled as an Integer, but the default type for cookie reads is String.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Well, that's easy enough to fix. What's ludicrous is using VBA in Access and being required to cast two Currency types to Double in order to compare. WTF?! I don't think VB can make up its mind between strong-typed and loose-typed.
User avatar
KompresZor
DBB Captain
DBB Captain
Posts: 919
Joined: Wed Jul 31, 2002 2:01 am
Location: Clearfield, Pennslyvania

Post by KompresZor »

i was getting the error on the main froum index page
http://www.planetdescent.com/asp/forum_index.asp?
Now that page is working, but...
I get the same error now if i try to open any of the forums, yes I tried them all :)

The difference is that on the index.asp page I got the standard plane white error page. Now when I try to open a forum the error is in the table where the forum should be.

If you would like I can get you a screenshot
User avatar
Boo
DBB Ace
DBB Ace
Posts: 413
Joined: Mon Feb 09, 2004 3:01 am

Post by Boo »

It's funny, because I was in IE. o_0 works now anyway
Post Reply