Gossamer Forum
Home : Gossamer Threads Inc. : Custom Modification Jobs :

View Success From HTML problem

Quote Reply
View Success From HTML problem
Hi. I'm trying to use <!--#exec cgi="http://localhost/cgi-bin/jobbank/jobs.cgi?db=jobs....etc., etc. to call a view success listing directly using SSI from an HTML page. I'm running (testing) all of this locally using Xitami web server.

Originally, this job bank was set up to run purely from the CGI, which performed fine; but I decided I wanted to use SSI to call specific search results. Now that I'm using the <!--#exec> function, all I get is a [Xitami: error] message. I have other short perl routines being called from the page that are running just fine.

Any ideas out there where the problem might be? At this point, I'm not sure if it's the Xitami (version 2.5.b4) or if there's something in the search_success routine that's hanging it up.

-- Thanks, Barb


Quote Reply
Re: View Success From HTML problem In reply to
Erm...hello...this is the "Custom Modification Forum", not "Perl, CGI, SQL and more!" one located to the bottom of the page Wink

Andy

webmaster@ace-installer.com
http://www.ace-installer.com
Quote Reply
Re: View Success From HTML problem In reply to
Like I already mentioned twice in the past two days....

Code:

SSI directives (include virtual, exec cgi) cannot be called in CGI scripts.


Regards,

Eliot Lee Wink
http://anthrotech.com/
Quote Reply
Re: View Success From HTML problem In reply to
Hi Elliot.
I'm not calling SSI from a CGI page -- I'm calling a CGI routine result into an SSI page.
-- Barb


Quote Reply
Re: View Success From HTML problem In reply to
Hi Andy,

This 'is' a custom modification of DBman. I'm using DBman to set up a jobs database that will (hopefully) present a partial jobs listing (generated by DBman's default.cgi) when the user logs on to the home.shtml page.

Quote Reply
Re: View Success From HTML problem In reply to
Yes you are correct but really the thread should go in the specific forum - 'DBMAN Customization Forum'

It just helps to keep things in order but more importantly it will help you get a faster answer as the DBMAN helpers hang around that forum.


Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: View Success From HTML problem In reply to
Okey Dokey,
I'll repost it there.


Quote Reply
Re: View Success From HTML problem In reply to
No it's ok this time - there is no need to repost.

Part of the problem maybe that you can't use query strings with exec cgi - try virtual

Mods:http://wiredon.net/gt/download.shtml
Installations:http://wiredon.net/gt/
Quote Reply
Re: View Success From HTML problem In reply to
Thanks Paul. Will try it. Actually, I just got it to run the default.cgi. Only problem now is that it won't recognize my default user. Rather than posting the specified search it bounces to the DBman home display page. Perchance this may be the SSI not recognizing the query. Will try the #virtual.

Thanks again. If I can get this to work, it will save on loads of design time.
-- Barb