sextonhs has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to debug
WebBBS Admin (http://awsd.com/scripts/) and
I cannot get anything other then:

"...\cgi-local\cooler_admin.pl' script produced no output"

all of the required files seem to be present as they are used by other scripts...

This is further complicated by the fact that the shared hosting enviornment I work on will shut all scripting off if I generate 7 errors in 5 minutes.

Any way if any one has had any experience with this perl based webbbs I would appreciate any tips... The board works with no problem only the admin script won't work.

Here is the code:
## (1) Specify the location of your webbbs_settings.pl script: require ".../cgi-local/webbbs_settings.pl"; ## (2) Locate the files and directories unique to this forum: $webbbs_admin = "d:/Webs/dougsm/cgi-local/webbbs_admin.pl"; $adminurl = "http://ncmadev.mindtown.net/cgi-local/cooler_admin.pl"; $ArchiveDir = ""; $BypassPassword = 0; $dir = "/data/cooler"; $cgiurl = "[email me]/cgi-local/cooler.pl"; $boardname = "Water Cooler"; $shortboardname = ""; ## (3) Define variables you want changed from webbbs_settings.pl: ##$HeaderFile = "d:/Webs/dougsm/cgi-local/headerh2o.txt"; ##$FooterFile = "d:/Webs/dougsm/cgi-local/footerh2o.txt"; ##$MessageHeaderFile = "...cgi-local/headerh2o.txt"; ##$MessageFooterFile = "...cgi-local/footerh2o.txt"; ##I removed the full path names for this post... ############################################# ## Do NOT change anything in this section! ## ############################################# require $webbbs_text; require $webbbs_basic; require $webbbs_admin; &WebBBSAdmin;

Edited by Chady -- added code tags.

Replies are listed 'Best First'.
Re: script produced no output
by jimbojones (Friar) on Nov 18, 2004 at 18:06 UTC
    Hello

    I have not used this BBS program before. However, can you run the script from the command line? Also, the following looks suspicious

    ## (1) Specify the location of your webbbs_settings.pl script: require ".../cgi-local/webbbs_settings.pl";
    I would think two "." would be correct.
    ## (1) Specify the location of your webbbs_settings.pl script: require "../cgi-local/webbbs_settings.pl";
    - j

Re: script produced no output
by TomDLux (Vicar) on Nov 18, 2004 at 19:28 UTC

    Sections (1) and (2) represent variables which you have to modify to represent the way things are installed on your machine. Have you configred these, or are these the default values?

    --
    TTTATCGGTCGTTATATAGATGTTTGCA