I had a copy of Links SQL setup on a plus.net server. The problem is, it now just seems to have stopped working. add.cgi, search.cgi all work; but admin.cgi/nph-build.cgi etc isn't having any of it
The path to Perl is correct. I've run admin.cgi via SSH, and it just gives the 'frames need to be enabled' error. I created a test script in the admin folder, and run that via SSH. That just did what it was supposed to;
Content-type: text/html
testhbss@shell2
# ==================================================================
# Links SQL - enhanced directory management system
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info : 087,071,080,090,081
# Revision : $Id: admin.cgi,v 1.74 2002/03/05 22:07:08 alex Exp $
#
# Copyright (c) 2001 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================
use lib '/files/home3/hbs/cgi-bin/shop/admin';
use strict;
use Links qw/$IN $CFG $DB/;
use CGI::Carp qw(fatalsToBrowser);
$| = 1;
local $SIG{__DIE__} = \&Links::fatal;
Links::init('/files/home3/hbs/cgi-bin/shop/admin');
print $IN->header();
print "test";
Running this via SSH, as I said, works fine...but as soon as running any of the scripts in the admin folder, it just gives a 500 IS Error.
Anyone seen this kinda problem before? I thought it may have been something to do with the ownership of the files (was set to nobody), but I've even set it to the normal user, and still get an error
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
The path to Perl is correct. I've run admin.cgi via SSH, and it just gives the 'frames need to be enabled' error. I created a test script in the admin folder, and run that via SSH. That just did what it was supposed to;
Quote:
hbss@shell2 admin $ perl test.cgi Content-type: text/html
testhbss@shell2
Code:
#!/usr/bin/perl5 # ==================================================================
# Links SQL - enhanced directory management system
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info : 087,071,080,090,081
# Revision : $Id: admin.cgi,v 1.74 2002/03/05 22:07:08 alex Exp $
#
# Copyright (c) 2001 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================
use lib '/files/home3/hbs/cgi-bin/shop/admin';
use strict;
use Links qw/$IN $CFG $DB/;
use CGI::Carp qw(fatalsToBrowser);
$| = 1;
local $SIG{__DIE__} = \&Links::fatal;
Links::init('/files/home3/hbs/cgi-bin/shop/admin');
print $IN->header();
print "test";
Running this via SSH, as I said, works fine...but as soon as running any of the scripts in the admin folder, it just gives a 500 IS Error.
Anyone seen this kinda problem before? I thought it may have been something to do with the ownership of the files (was set to nobody), but I've even set it to the normal user, and still get an error
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!