Gossamer Forum
Quote Reply
Always returns 1?
I'm trying to figure out why this tag *always* returns '1';

<%Plugins::Add_RandImage::Make_Image%>

The sub is simply;

Code:
sub Make_Image {
return "here";
}

I'm completly stumped as to why it would/does do this Unimpressed

Also, while writing a thread....

my $database_connection = $DB->table('AddLinkSession');

This *sometimes* gives me the error;


A fatal error has occured:

GT::SQL (12778): File '/home/bn123/bn123.net/cgi-bin/portal/admin/defs/lsql_.def' does not exist or the permissions are set incorrectly at /home/bn123/bn123.net/cgi-bin/portal/admin/Plugins/Add_RandImage.pm line 59.

Please enable debugging in setup for more details.



Any ideas what could cause this? Its the first time I have ever seen this problem Frown

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!

Last edited by:

Andy: May 26, 2003, 3:27 AM
Subject Author Views Date
Thread Always returns 1? Andy 3133 May 26, 2003, 3:24 AM
Thread Re: [Andy] Always returns 1?
pugdog 3078 May 26, 2003, 7:41 AM
Thread Re: [pugdog] Always returns 1?
Andy 3082 May 26, 2003, 8:03 AM
Thread Re: [Andy] Always returns 1?
Paul 3068 May 26, 2003, 8:22 AM
Post Re: [Paul] Always returns 1?
Andy 3060 May 26, 2003, 8:32 AM
Thread Re: [Paul] Always returns 1?
Andy 3054 May 27, 2003, 1:41 AM
Thread Re: [Andy] Always returns 1?
pugdog 3042 May 27, 2003, 7:59 AM
Post Re: [pugdog] Always returns 1?
Andy 3052 May 27, 2003, 8:10 AM