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
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!
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
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!