Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Plugin pre auth_valid_session..

Quote Reply
Plugin pre auth_valid_session..
For some reason, in one of my plugins...when you run it via SSH, you get the following error message;

GT::Plugins (27046): Plugin pre auth_valid_session stopped further plugins. at /home/ameinfo/ameinfo.com/cgi-bin/events/admin/GT/Plugins.pm line 99.

This ia a bit weird...cos I don't call auth_valid_session, I simply include Links::Plugins.

Why would I get this error, if I havn't even included this function?

The headers look like;

Code:
#!/usr/local/bin/perl
# ==================================================================
# Links SQL - enhanced directory management system
#
# Website : http://gossamer-threads.com/
# Support : http://gossamer-threads.com/scripts/support/
# CVS Info : 087,070,093,092,086
# Revision : update_days.cgi v 2.0
#
# Copyright (c) 2002 Gossamer Threads Inc. All Rights Reserved.
# Redistribution in part or in whole strictly prohibited. Please
# see LICENSE file for full details.
# ==================================================================
# Plugin developed by Andy Newby from http://www.ace-installer.com.
# THIS IS NOT A FREE PLUGIN!
# ==================================================================

use strict;
use lib '/path/to/admin';
use Links qw/$IN $DB $CFG $USER/;
use GT::SQL;
use GT::Date;
use Links::Plugins;
use CGI::Carp qw(fatalsToBrowser);
my $debug = 0;

local $SIG{__DIE__} = \&Links::fatal;

Links::init();
Links::init_user('/path/to/admin');

Any ideas are appreciated :/

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!
Subject Author Views Date
Thread Plugin pre auth_valid_session.. Andy 4189 Feb 27, 2003, 1:45 AM
Thread Re: [Andy] Plugin pre auth_valid_session..
Andy 4035 Feb 27, 2003, 1:47 AM
Thread Re: [Andy] Plugin pre auth_valid_session..
yogi 4023 Feb 27, 2003, 2:23 AM
Thread Re: [yogi] Plugin pre auth_valid_session..
Andy 4056 Feb 27, 2003, 2:38 AM
Thread Re: [Andy] Plugin pre auth_valid_session..
pugdog 4026 Feb 27, 2003, 10:33 AM
Thread Re: [pugdog] Plugin pre auth_valid_session..
Alex 4046 Feb 27, 2003, 10:39 AM
Thread Re: [Alex] Plugin pre auth_valid_session..
Andy 4055 Feb 27, 2003, 10:56 AM
Thread Re: [Andy] Plugin pre auth_valid_session..
carfac 3952 Apr 17, 2004, 12:02 PM
Post Re: [carfac] Plugin pre auth_valid_session..
carfac 3890 Apr 18, 2004, 11:49 AM