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: General / Classic ASP versions(v3.4.XX)
 Meta Tag Problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

johnny bravo
New Member

78 Posts

Posted - 12 November 2006 :  14:41:35  Show Profile
I've got myself into a bit of a mess

I think a long time ago I added some meta tag text to default.asp. Now I want to change it I can't. If I change just a single letter in the title using notepad and then upload the new file I get this error

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forum/Default.asp, line 871

LastPostDate = "" LastPostLink = ""
-------------------^

Should I even have meta tags in Defauls.asp?

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 12 November 2006 :  14:53:38  Show Profile  Visit HuwR's Homepage
probably not, they should be in inc_header.asp if they are anywhere
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 12 November 2006 :  14:53:53  Show Profile
Humm

The problem appears to be more the fact I'm unable to edit default.asp! I opened the file in notepad, saved the file with no changes, Uploaded it and got the same problem! I don't understand what notepad is doing to upset the file. And I still have a the issue the I need to change the meta tags.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 12 November 2006 :  15:00:12  Show Profile  Visit HuwR's Homepage
what are you uploading the file with, notepad definately should not be doing anything that would break the file
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 12 November 2006 :  15:01:29  Show Profile
Ace FTP

I've never had a problem before! Very strange problem!
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 12 November 2006 :  15:42:25  Show Profile  Visit AnonJr's Homepage
Some FTP programs will upload as either binary or ASCII - you need to make sure that it knows to upload *.asp files as ASCII (or if you are manually setting it, that you remember to make sure its in ASCII mode). I've had the problem before when I did some PERL scripting.
Go to Top of Page

johnny bravo
New Member

78 Posts

Posted - 12 November 2006 :  17:07:05  Show Profile
It does not appear to be a FTP problem as I am able to upload the orignal default.asp file and everything works again.

I'm at a bit of a loss as to what to do next. If every time I try edit the file it somehow breaks I don't see how I can round it. Anybody every had this problem with default.asp.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 12 November 2006 :  17:40:23  Show Profile  Visit HuwR's Homepage
it is nothing like line 871, but I have never in all my time dealing with snitz known notepad to break a file.

the lines getting mashed should be
LastPostDate = ChkDate(strLastPostDate,"",true)
LastPostLink = DoLastPostLink(false)
However that is line 846 in a normal snitz, not line 871
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07