I'd been having prob's working the SSI part of displaying the Nr. of records in my database on a static html page. I've read lots of posts talking num.cgi, .shtml, ad nauseum to no avail.
So ... I asked my ISP ... below is what they say, but with "their" change to my default.cfg I get
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate /home/m/u/murgnam/www/cgi-bin/dbmanhtml.pl in @INC (@INC contains: /home/m/u/murgnam/www/cgi-bin/dbman /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .) at /home/m/u/murgnam/www/cgi-bin/dbman/default.cfg line 51.
Script Location : /home/m/u/murgnam/www/cgi-bin/dbman/db.cgi
Perl Version : 5.00404
Setup File : default.cfg to "their" below answer
require $db_script_path . "/html.pl";
which I corrected to read:
require $db_script_path . "html.pl";
There was another error in default.cfg (line 64) which you will need to correct.
The error reads:
"Undefined subroutine &main::get_date called"
Regards,
> George,
> I only created the num.txt so you could view it publicly on the web. Even
> with me uploading num."cgi" in ASCII to my /home/m/u/murgnam/www/dbman/,
> changing to 755, still doesn't work.
> JR
--
George Marion-Landais
Flashnet Communications Internet ServicesI've got num.cgi posted at http://home.flash.net/~murgnam/num.txt
Over to you Perl experts on this one. I'm sure I could prob just replace the "/" and get my database to work again (it's down for this exercise), but please translate what George may be talking about.
JR
------------------
Joebagodonuts, JR or Anita
http://home.flash.net/~murgnam/
So ... I asked my ISP ... below is what they say, but with "their" change to my default.cfg I get
Quote:
Error Message : Error loading required libraries. Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate /home/m/u/murgnam/www/cgi-bin/dbmanhtml.pl in @INC (@INC contains: /home/m/u/murgnam/www/cgi-bin/dbman /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .) at /home/m/u/murgnam/www/cgi-bin/dbman/default.cfg line 51.
Script Location : /home/m/u/murgnam/www/cgi-bin/dbman/db.cgi
Perl Version : 5.00404
Setup File : default.cfg
Quote:
In your default.cfg file you had the following line: require $db_script_path . "/html.pl";
which I corrected to read:
require $db_script_path . "html.pl";
There was another error in default.cfg (line 64) which you will need to correct.
The error reads:
"Undefined subroutine &main::get_date called"
Regards,
> George,
> I only created the num.txt so you could view it publicly on the web. Even
> with me uploading num."cgi" in ASCII to my /home/m/u/murgnam/www/dbman/,
> changing to 755, still doesn't work.
> JR
--
George Marion-Landais
Flashnet Communications Internet Services
Over to you Perl experts on this one. I'm sure I could prob just replace the "/" and get my database to work again (it's down for this exercise), but please translate what George may be talking about.
JR
------------------
Joebagodonuts, JR or Anita
http://home.flash.net/~murgnam/