Hiya guys/gals. I have a bit of a weird problem here. Basically, I added this code into /Links/Build.pm;
$domains->{'domain1'} = 'http://www.domain1.co.uk/';
$domains->{'domain2'} = 'http://www.domain2.co.uk/';
# don't bother editing this...
my $_s = $IN->param('s') || 'domain1';
my $__set = $domains->{$_s};
... but now I get the following error;
Compilation failed in require at /home/cgi-bin/admin/Links/User/Search.pm line 19.
BEGIN failed--compilation aborted at /home/cgi-bin/admin/Links/User/Search.pm line 19.
Compilation failed in require at /home/cgi-bin/search.cgi line 18.
BEGIN failed--compilation aborted at /home/cgi-bin/search.cgi line 18.
Anyone got any ideas why this may be?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Code:
my $domains; $domains->{'domain1'} = 'http://www.domain1.co.uk/';
$domains->{'domain2'} = 'http://www.domain2.co.uk/';
# don't bother editing this...
my $_s = $IN->param('s') || 'domain1';
my $__set = $domains->{$_s};
... but now I get the following error;
Quote:
Can't call method "param" on an undefined value at /home/cgi-bin/admin/Links/Build.pm line 34. Compilation failed in require at /home/cgi-bin/admin/Links/User/Search.pm line 19.
BEGIN failed--compilation aborted at /home/cgi-bin/admin/Links/User/Search.pm line 19.
Compilation failed in require at /home/cgi-bin/search.cgi line 18.
BEGIN failed--compilation aborted at /home/cgi-bin/search.cgi line 18.
Anyone got any ideas why this may be?
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

