Forum Moderators: coopster & phranque

Message Too Old, No Replies

results not parsing consistently

         

jilla

3:26 am on Mar 10, 2003 (gmt 0)

10+ Year Member



I hope someone can shed light on a very
frustrating situation... I was using some scripts
such as the one that parses amazon results onto my pages as well as other ones (ie cgi scripts that will put results from external sources onto
my pages via ssi and htaccess). Everything worked great till 2 days ago.

Since then, the results will parse at times and at others times not. If they don't parse (ie the page is blank except for my opening paragraph) if I hit reload 10 or 15 times then I will see the amazon book or magazine finally after enough reloads. However, if I keep reloading page then the book or magazine from amazon will disappear and no longer parse.

I am not too technical but asked a few people and was told that the ssi/htaccess seems to be configured correctly if the results appear at all. I know in past it would say there was a directive error when I had a misconfiguration. But this is NOT the case now. At times the results will appear and at other times they won't.

It seems like the cgi-bin isn't being called. It almost seems like the page has finished loading before it had time to check the cgi-bin and see that info is supposed to be put on the page. In the past, the page would be slowly loading and waiting for the info to come onto it. Now, however, the pages has finished loading in 1 second but without the parsing occurring.

I don't know if this is relevant but I use westhost and when I went into my control panel and clicked on the site manager or site report on left side, the right side was totally white and it did not list my files or load. I then hit reload several times and I saw it.

It seems to be some kind of server problem but I don't know what. I have written tech support but so far nothing is figured out to resolve things.
One thing I did note that when I went into my
error logs it said:

"attempt to invoke directory as script"
and it listed domain.com/cgi-bin

Thanks for any ideas on this one.

Brett_Tabke

5:13 am on Mar 10, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Double check the paths you have listed in your setup configuration for the script. If you are getting that error, then there is probably a "path" error to some file.

You might also try putting this high in appropriate perl cgi:

useCGI::Carp qw (fatalsToBrowser);

That will kick all errors to the browser so you can see what they are saying as they happen.

Other than that Jill, it would be hard to diagnose such a problem without seeing it. Even then it would take awhile I'm sure.

Dealing with screen scrapers like that (getting external content) can be trying.

jilla

11:27 am on Mar 10, 2003 (gmt 0)

10+ Year Member



Brett-

Thank you for your reply. I know you are really busy. One thing
I am trying to understand is this: If the path to one cgi file is
wrong would that mean the other one's wouldn't load? In past I
did have one that kept blinking off/on and had some metarefresh
at top that was not letting it load. But still the amazon script
and other scripts I had on other pages WERE working fine. Just the
pages where I had this problematical script wouldn't load. But what is
happening now is that some pages where I only have the amazon script
which I KNOW works- is loading off and on... the path is right to
it but could a different cgi path that is wrong create problems
on html pages that parse the amazon script?

Also when I go into my control panel and I usually see the
right column showing all my files in site manager- a lot of times
the page is totally white. This isn't a script that I installed but
what happens when I go into the cgi-bin/plusmail address given
by my webhost... If I hit reload many times then I will see
all my files in the file manager... Thanks again for any help.
I will have to have my friend follow your instructions because
I'm not too technical...