Well I guess I couldn't sleep LOL
So I looked over the internet and stared reading
how Perl scrips work.
This was at the top of my Setup.pl that was returning
errors.
#!/usr/local/bin/perl --
###############################################################################
# Setup.pl #
###############################################################################
# YaBB: Yet another Bulletin Board #
# Open-Source Community Software for Webmasters #
# Version: YaBB 2.3.1 #
# Packaged: January 04, 2009 #
# Distributed by:
http://www.yabbforum.com #
# =========================================================================== #
# Copyright (c) 2000-2009 YaBB (
www.yabbforum.com) - All Rights Reserved. #
# Software by: The YaBB Development Team #
# with assistance from the YaBB community. #
# Sponsored by: Xnull Internet Media, Inc. -
http://www.ximinc.com #
# Your source for web hosting, web design, and domains. #
###############################################################################
$setupplver = 'YaBB 2.3.1 $Revision: 1.34.2.17.2.33 $';
# use CGI::Carp qw(fatalsToBrowser); # used only for tests
So I was reading that I could (Uncomment ? )
use CGI::Carp qw(fatalsToBrowser);
And (I think ) force the browser to print by.
print "Content-type: text/html\n\n";
So I changed the Setup.pl to read.
#! /usr/local/bin/perl
use CGI::Carp qw(fatalsToBrowser);
print "Content-type: text/html\n\n";
And the browser returned the error.
Status: 500 Content-type: text/html
Software error:
Can't locate ./Variables/advsettings.txt in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 . ./Modules ./Modules) at /home/public/cgi-bin/yabb2/Setup.pl line 4280.
For help, please send mail to the webmaster (nobody), giving this error message and the time and date of the error.
So I looked in ./Variables/advsettings.txt and there is
no file by this name.
But I am a little closer.
And it almost midnight LOL.
My how $Time="flys"