it didn't fix my problem, however in my error logs it appears the error is coming from db.cgi, so i executed it in the command line and this was my error:
i cannot find any evidence of any db.html on my machine or in any of my previous backed up versions.
this was my full response:
# ==================================================================
# Gossamer Forum - Advanced web community
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info :
# Revision : $Id: db.cgi,v 1.11.2.1 2003/02/09 03:56:09 jagerman Exp $
#
# Copyright (c) 2003 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================
#
use lib '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin';
use strict;
use GForum qw/$IN $DB $CFG/;
use GForum::Admin;
GForum::init('/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin');
$GForum::TEMPLATE_SET = "admin";
$|++;
main();
sub main {
# ------------------------------------------------------------------
# Main admin loop, displays html pages and other admin tasks.
#
local $SIG{__DIE__} = \&GForum::fatal;
print $IN->header();
my $admin = new GForum::Admin;
print($admin);
if ($admin->for_me($IN)) {
$admin->debug_level($GForum::DEBUG) if ($GForum::DEBUG);
$admin->process ( db => $DB, cgi => $IN );
}
else {
$IN->param('page', 'db.html');
GForum::page();
}
}
[root@vultr /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin]# perl /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/db.cgi
defined(@array) is deprecated at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Base.pm line 231.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/bases.pm line 43.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/SQL/Base.pm line 593.
(Maybe you should just omit the defined()?)
GT::Config (22733): Loading '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/defs/database.def' with options: inheritance => '0', local => '0', cache => '1', create_ok => '1', empty => '0', chmod => '438', strict => '0', debug => '1', compile_subs => '' at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Config.pm line 145.
GT::Config (22733): Not loading '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/defs/database.def' from cache at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Config.pm line 163.
GT::Config (22733): Adding '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/defs/database.def' to the regular cache at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Config.pm line 177.
Content-type: text/html
GForum::Admin=HASH(0x80234c0d8)<p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occurred:</font></p><blockquote><pre>Invalid template 'db.html' requested (File does not exist) at (eval 6) line 35.
</pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Please enable debugging in setup for more details.</font></p>
<pre><b>Stack Trace</b>
======================================
GForum (22733): GForum::page called at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/db.cgi line 43 with no arguments.
GForum (22733): main::main called at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/db.cgi line 27 with no arguments.
<b>System Information</b>
======================================
Perl Version: v5.20.3
Gossamer Forum Version: 1.2.4
GForum.pm version: 1.133
GT::SQL Version: 1.111
GT::Template Version: 2.163
Running under mod_perl: No
Running under SpeedyCGI: No
@INC =
/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin
/usr/local/lib/perl5/site_perl/mach/5.20
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.20/mach
/usr/local/lib/perl5/5.20
/usr/local/lib/perl5/site_perl/5.20
/usr/local/lib/perl5/site_perl/5.20/mach
.
$!: No such file or directory
<b>CGI INPUT</b>
======================================
page => db.html
<b>ENVIRONMENT</b>
======================================
BLOCKSIZE => K
GT_TMPDIR => /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/tmp
HOME => /root
LOGNAME => root
MAIL => /var/mail/root
OLDPWD => /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/templates/admin/local
PAGER => more
PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
PWD => /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin
SHELL => /usr/local/bin/bash
SHLVL => 1
SSH_TTY => /dev/pts/0
TERM => xterm
USER => root
_ => /usr/local/bin/perl
</pre>Invalid template 'db.html' requested (File does not exist) at (eval 6) line 35.
Quote:
Invalid template 'db.html' requested (File does not exist) at (eval 6) line 35.i cannot find any evidence of any db.html on my machine or in any of my previous backed up versions.
this was my full response:
Quote:
#!/usr/local/bin/perl # ==================================================================
# Gossamer Forum - Advanced web community
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info :
# Revision : $Id: db.cgi,v 1.11.2.1 2003/02/09 03:56:09 jagerman Exp $
#
# Copyright (c) 2003 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================
#
use lib '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin';
use strict;
use GForum qw/$IN $DB $CFG/;
use GForum::Admin;
GForum::init('/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin');
$GForum::TEMPLATE_SET = "admin";
$|++;
main();
sub main {
# ------------------------------------------------------------------
# Main admin loop, displays html pages and other admin tasks.
#
local $SIG{__DIE__} = \&GForum::fatal;
print $IN->header();
my $admin = new GForum::Admin;
print($admin);
if ($admin->for_me($IN)) {
$admin->debug_level($GForum::DEBUG) if ($GForum::DEBUG);
$admin->process ( db => $DB, cgi => $IN );
}
else {
$IN->param('page', 'db.html');
GForum::page();
}
}
[root@vultr /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin]# perl /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/db.cgi
defined(@array) is deprecated at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Base.pm line 231.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/bases.pm line 43.
(Maybe you should just omit the defined()?)
defined(%hash) is deprecated at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/SQL/Base.pm line 593.
(Maybe you should just omit the defined()?)
GT::Config (22733): Loading '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/defs/database.def' with options: inheritance => '0', local => '0', cache => '1', create_ok => '1', empty => '0', chmod => '438', strict => '0', debug => '1', compile_subs => '' at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Config.pm line 145.
GT::Config (22733): Not loading '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/defs/database.def' from cache at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Config.pm line 163.
GT::Config (22733): Adding '/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/defs/database.def' to the regular cache at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/GT/Config.pm line 177.
Content-type: text/html
GForum::Admin=HASH(0x80234c0d8)<p><font face='Tahoma,Arial,Helvetica' size=2>A fatal error has occurred:</font></p><blockquote><pre>Invalid template 'db.html' requested (File does not exist) at (eval 6) line 35.
</pre></blockquote><p><font face='Tahoma,Arial,Helvetica' size=2>Please enable debugging in setup for more details.</font></p>
<pre><b>Stack Trace</b>
======================================
GForum (22733): GForum::page called at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/db.cgi line 43 with no arguments.
GForum (22733): main::main called at /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/db.cgi line 27 with no arguments.
<b>System Information</b>
======================================
Perl Version: v5.20.3
Gossamer Forum Version: 1.2.4
GForum.pm version: 1.133
GT::SQL Version: 1.111
GT::Template Version: 2.163
Running under mod_perl: No
Running under SpeedyCGI: No
@INC =
/var/www/fgfrefugees.ca/htdocs/cgi-bin/admin
/usr/local/lib/perl5/site_perl/mach/5.20
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.20/mach
/usr/local/lib/perl5/5.20
/usr/local/lib/perl5/site_perl/5.20
/usr/local/lib/perl5/site_perl/5.20/mach
.
$!: No such file or directory
<b>CGI INPUT</b>
======================================
page => db.html
<b>ENVIRONMENT</b>
======================================
BLOCKSIZE => K
GT_TMPDIR => /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/tmp
HOME => /root
LOGNAME => root
MAIL => /var/mail/root
OLDPWD => /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin/templates/admin/local
PAGER => more
PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
PWD => /var/www/fgfrefugees.ca/htdocs/cgi-bin/admin
SHELL => /usr/local/bin/bash
SHLVL => 1
SSH_TTY => /dev/pts/0
TERM => xterm
USER => root
_ => /usr/local/bin/perl
</pre>Invalid template 'db.html' requested (File does not exist) at (eval 6) line 35.