Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Ran into a problem - please help

Quote Reply
Ran into a problem - please help
Everything has worked fine and now when I click the validate button I get the following:

CGI ERROR
==========================================
Error Message : fatal error: Can't locate strict.pm in @INC (@INC contains: f:\unet\zeed\cgi-bin\admin .) at f:/unet/zeed/cgi-bin/admin/Template.pm line 21.
BEGIN failed--compilation aborted at f:/unet/zeed/cgi-bin/admin/Template.pm line 21.

Script Location : f:\unet\zeed\cgi-bin\admin\admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
db : links
validate_form : 1

Also clicking Build brings up:

'f:\unet\zeed\cgi-bin\admin\nph-build.cgi' script produced no output


Please help me...
Quote Reply
Re: Ran into a problem - please help In reply to
Contact your hosting company and ask them if they have strict.pm installed. If not, ask them to install it. If they won't, then try installing strict.pm from www.cpan.org in your admin directory.

Then change the following codes in the Template.pm file:

Code:
use strict;

to the following codes:

Code:
require strict;

Regards,

------------------
Eliot Lee
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------











Quote Reply
Re: Ran into a problem - please help In reply to
Again...change use vars to require vars.

Regards,

------------------
Eliot Lee
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------











Quote Reply
Re: Ran into a problem - please help In reply to
Tried that with no Joy it sent the following error:

CGI ERROR
==========================================
Error Message : fatal error: syntax error at f:/unet/zeed/cgi-bin/admin/Template.pm line 22, near "require vars qw($VERSION $error @ISA @EXPORT)"

Script Location : f:\unet\zeed\cgi-bin\admin\admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
db : links
validate_form : 1

Environment Variables

Quote Reply
Re: Ran into a problem - please help In reply to
They say its installed
What now?

Quote Reply
Re: Ran into a problem - please help In reply to
OK... Strict.pm working now thanks to the require strict instead of use strict. But Now another error

CGI ERROR
==========================================
Error Message : fatal error: Can't locate vars.pm in @INC (@INC contains: f:\unet\zeed\cgi-bin\admin .) at f:/unet/zeed/cgi-bin/admin/Template.pm line 22.
BEGIN failed--compilation aborted at f:/unet/zeed/cgi-bin/admin/Template.pm line 22.

Script Location : f:\unet\zeed\cgi-bin\admin\admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
db : links
validate_form : 1

Environment Variables
Quote Reply
Re: Ran into a problem - please help In reply to
Hell Zeedy,

Did you ever get an answer to your last post? I am having the exact same problem with my directory.
Quote Reply
Re: Ran into a problem - please help In reply to
Same problem here with fixing the strict by adding require, but the vars gives error;-(

Please help!

Pete