Reply
Internal Server Error
Old 01-13-2007, 09:00 PM Internal Server Error
Experienced Talker

Posts: 30
I've recently had a problem with my searchbox. When I first installed it, it was fine and worked properly, i've done nothing to it since, but it no longer works.

http://www.milkmansworld.co.uk/xxx/search.asp

I get an internal server error, this is what it says in the log file,


2007-01-14 01:21:01 W3SVC22982 WIN03 205.234.251.245 GET /xxx/search.asp query=ege|128|800a0035|File_not_found 80 - 80.3.64.8 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CL R+1.1.4322;+.NET+CLR+2.0.50727) __utma=49691066.1266862047.1168620627.1168724525.1 168732441.6;+__utmz=49691066.1168620627.1.1.utmccn =(direct)|utmcsr=(direct)|utmcmd=(none);+__utmc=49 691066;+ASPSESSIONIDQACADDBT=FFJDCIKALHEEKPDDMLIBJ CFI;+ASPSESSIONIDSCDCADBT=EACHLFLACKPCBOGALILADHKK ;+ASPSESSIONIDSCADDDBS=KNKDBHLAGDNMFELFDJHGBECP;+A SPSESSIONIDSABDBDBS=CMCPCNLALCMJANEOOHJOFFPM;+ASPS ESSIONIDQAADDCBT=NBHJNNLAOEMMLEKBJPCEKLJH;+ASPSESS IONIDQADDCDBS=CNCDKPLADAIMHFIDOAEFNDAB;+ASPSESSION IDQABACCAS=GEGPJCMAOPGGIGLILGCDAMHL http://www.milkmansworld.co.uk/xxx/search.asp www.milkmansworld.co.uk 500 0 0 1650 1057 125


It says File_not_found, i'm not sure why, seeing as the only file needed for this script is an include that is definately on the server and in the same folder as search.asp. I have tried reinstalling the script only using the code I downloaded, without any customization, but it still doesn't work.

This is the second script I have that has just stopped working properly, the other was a PHP script for a linkdump, it decided to stop counting clicks.

I would guess it is a server issue, but so far all I get from my host is, "It's a script problem"

Seems like my site is falling a part one script at a time

Any help would be greatly appreciated,
milkman is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-14-2007, 12:25 AM Re: Internal Server Error
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Your host is right: It is a script problem.

The reason you can't see it is because IE is configured by default to "Show Friendly HTTP Error Messages" (translation: tell the user in a nice, ambiguous way that the webmaster screwed up.)

Fortunately, there's a really easy fix for this that you can employ yourself. Just go to Tools-->Internet Options-->Advanced and uncheck the silly "Show friendly HTTP error messages" box, then click "Apply", then "OK", and refresh your error page.

You'll get your script error then.

Funny thing though...your host should have told you that. It's the easiest way for them to avoid looking silly when the site breaks, even though it isn't their fault.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 01-14-2007, 10:28 AM Re: Internal Server Error
Experienced Talker

Posts: 30
Thanks for the reply,

That box wasn't ticked, I tried ticking it and unticking it and I get the same Internal Server Error message.

I really haven't touched the script, this is it installed without any alterations made to it,

http://www.milkmansworld.co.uk/xxx/search.asp

It's just one page of ASP then an include file which tells it which pages to search and that's it, there's no configuration required.
milkman is offline
Reply With Quote
View Public Profile
 
Old 01-14-2007, 11:26 AM Re: Internal Server Error
Experienced Talker

Posts: 30
ok, for some reason it has started to show me the errors.

It now says -

Microsoft VBScript runtime error '800a0035'

File not found

/xxx/search.asp, line 128


This is line 128

text = filesys.openTextfile(server.mappath(detail(0))).re adall


This the code that is around line 128,


'create filesystemobject
set filesys = server.createobject("scripting.FileSystemObject")

'loop through all pages
for i = 0 to ubound(urls)

'split every line in url and title
detail = split(urls(i),"|")

'open the url and set the title
text = filesys.openTextfile(server.mappath(detail(0))).re adall
title = detail(1)

'call the sub that will search the page for matches (being sub find() )
call find()
next


I'm not really sure what this is saying, any help would be appreciated.
milkman is offline
Reply With Quote
View Public Profile
 
Old 01-15-2007, 05:40 AM Re: Internal Server Error
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Hi,

Try this microsoft KB on the probelm

http://support.microsoft.com/kb/276011

The error message means the file that you are opening cannot be found. It could be the file is missing or a change in the permissions on the webste. You should check the file you are opening exists and what the permissions on that file are.

Try response.write urls(i) just before the open and try and make sure the file exists.

Regards
Bill Button
http://www.rodmatic.com
bbutton is offline
Reply With Quote
View Public Profile Visit bbutton's homepage!
 
Old 01-15-2007, 06:47 PM Re: Internal Server Error
Experienced Talker

Posts: 30
Thanks for your help.
I have fixed the problem. I managed to narrow it down to the urls file, it turns out I deleted a page I no longer needed from my server but the page was still listed in the urls file and that was apparently enough to bugger the whole thing up. Oh well, you live and learn, won't be making that mistake again.

At least it shows my server isn't going wrong, plus my hosting turned on the error messages, that will help with any future cockups I make.

Cheers
milkman is offline
Reply With Quote
View Public Profile
 
Old 01-18-2007, 06:15 AM Re: Internal Server Error
saadatshah's Avatar
Extreme Talker

Posts: 216
Name: Syed Saadat Ali
Location: Lahore, Pakistan
be care full next time b4 deleting files
__________________
Traffic School - Driver Ed - Defensive Driving - Texas Defensive Driving - Online Traffic School - Defensive Driving Course
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to Internal Server Error
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.35092 seconds with 13 queries