This page will be updated
from time to time with questions asked by users.
Q:
The following error message appears: "The specified CGI application
misbehaved by not returning a complete set of HTTP headers" when
trying to run one of the scripts. (originally reported on Windows NT
with IIS)
A: The Perl scripts use relative paths
to the database text file and to the various templates files ($tplfile,
$filename). The problem above was solved by replacing the relative
paths with absolute paths (not URL). For example:
$tplfile="news_template.htm";
Should be
replaced with:
$tplfile="d:/inetpub/wwwroot/website/cgi-bin/news_template.htm";
Make sure to change
this in all the scrips.
Q:
I cannot get the Perl scripts to work
A:
Make sure that you've uploaded the scripts in ASCII mode.
Also, the path to the
Perl that is used in the script is: #!/usr/local/bin/perl. If this
is not the path to Perl on your web server, you need to open all the
Perl scripts and change this line.
Q:
When I try to open the page for adding a new entry, I get an error message
A:
This problem happens most of the times because your News Flash scripts and files are stored in a folder that is not configured to display .htm files.
You should ask your Web admin to change the folder configuration. Or, if this not possible, you should move the file news_new.htm outside cgi-bin folder, to where you keep the rest of your .htm/.html files.
After doing so, you will need to change the path to news_new.htm file in the following scripts/files and lines:
Pro version line numbers:
news_commit.pl (line 416)
news_edit.pl (line 253)
news_manage.htm (line 45)
news_new_add.pl (line 341)
Unix Light version line numbers:
news_commit.pl (line 325)
news_edit.pl (line 204)
news_manage.htm (line 45)
news_new_add.pl (line 266)
WindowsLight version line numbers:
news_commit.pl (line 319)
news_edit.pl (line 198)
news_manage.htm (line 45)
news_new_add.pl (line 270)
Q:
Images are not displayed in "Manage Entries" page
A:
This problem happens most of the times because your News Flash images are stored in a folder that is not configured to display .gif files.
You should ask your Web admin to change the folder configuration. Or, if this not possible, you should move the images outside cgi-bin folder/subfolder, to where you keep the rest of your images.
After doing so, you will need to change the path to the image files in the following file and lines (line numbers match the Pro version):
news_manage.htm (lines 94-101)
|