Author |
Topic  |
|
johnny bravo
New Member

78 Posts |
Posted - 12 November 2006 : 14:41:35
|
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
|
probably not, they should be in inc_header.asp if they are anywhere |
 |
|
johnny bravo
New Member

78 Posts |
Posted - 12 November 2006 : 14:53:53
|
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.
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20593 Posts |
Posted - 12 November 2006 : 15:00:12
|
what are you uploading the file with, notepad definately should not be doing anything that would break the file |
 |
|
johnny bravo
New Member

78 Posts |
Posted - 12 November 2006 : 15:01:29
|
Ace FTP
I've never had a problem before! Very strange problem! |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 12 November 2006 : 15:42:25
|
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. |
 |
|
johnny bravo
New Member

78 Posts |
Posted - 12 November 2006 : 17:07:05
|
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.
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20593 Posts |
Posted - 12 November 2006 : 17:40:23
|
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 |
 |
|
|
Topic  |
|