Specials | Announcements | Contact | Site Map
Willmaster.com
Hijack-proof forms. Surveys. List building.

Solid, safe website tools.

Whatever your need, Will Bontrager builds powerful software solutions.

Affiliate Cookie Setter
Search WillMaster.com:

WillMaster > Support > CGI Q&A

If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.

Blank Page with Master Form

Author Message
15May02

Phil
Subject: Blank Page with Master Form

I am trying to get the supplied Master Form example working. After a fill out the second form (ex_formpage2.html), it displays a blank page (using a goto). I have tried using a redirect instead of a goto, but ex_formpage3.html displays only the place holders and not the data. Looking at the html in ex_formpage2.html, the data from page 1 seems to carry over. The Master Form script is running on a RedHat Linux 7.2 server. Any suggestions would be appericated. Thanks,

Phil

15May02

Will
In response to: Blank Page with Master Form

The value of the goto hidden variable must be a complete http://... URL.

If that is what you have, copy the URL and paste it into your browser to verify it has no typos.

If it still doesn't work, your LWP::Simple might be refusing to grab pages from your own domain. It happens sometimes, depending on the configuration. You can test it with this 5-line script:

#!/usr/bin/perl
use strict;
use LWP::Simple;
my $p = 'http://mydomain.com/mypage.html';
print "Content-type: text/html\n\n$p";

When you run it, you should get the page at the URL on line 4. If your page is blank, LWP::Simple isn't grabbing pages from your domain; in which case server admin should reinstall the module or whatever it takes to release the restriction.

You can check that LWP::Simple is grabbing pages from other domains by putting http://willmaster.com/ in as the URL.

16May02

Phil
In response to: Blank Page with Master Form

Ok, everything is working now. Just a small mistake in the html. Thanks for the help.

Phil