Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [Alex] Unable to compile ... home.pm line 1044

Quote Reply
Re: [Alex] Unable to compile ... home.pm line 1044 In reply to
Quote:
To fix this, basically, edit admin/Dbsql/Home.pm and on line 1197 change:
Code:
my $code = eval $GLOBALS->{$template_set}->{$key};
Code:

to:

Code:
my $code = eval "package Dbsql;
$GLOBALS->{$template_set}->{$key}";

and it should work as expected.

It still doesn't work and generates a "cannot compile" in home.pm line 1151 (which in my editor is the same line for the replacement code above)

easy does it
Subject Author Views Date
Thread Unable to compile ... home.pm line 1044 Super 6012 Oct 31, 2001, 1:59 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5932 Oct 31, 2001, 2:03 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5956 Oct 31, 2001, 2:09 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Paul 5948 Oct 31, 2001, 2:12 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Super 5896 Oct 31, 2001, 2:30 PM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Bearwithme 5891 Oct 31, 2001, 2:35 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
604 5950 Oct 31, 2001, 2:39 PM
Thread Re: [TheStone] Unable to compile ... home.pm line 1044
Paul 5950 Oct 31, 2001, 2:48 PM
Thread Re: [RedRum] Unable to compile ... home.pm line 1044
Alex 5907 Oct 31, 2001, 4:06 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Paul 5848 Oct 31, 2001, 4:13 PM
Post Re: [TheStone] Unable to compile ... home.pm line 1044
ktt 5833 Nov 1, 2001, 11:46 AM
Thread Re: [Super] Unable to compile ... home.pm line 1044
Alex 5901 Oct 31, 2001, 2:55 PM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5903 Oct 31, 2001, 3:22 PM
Post Re: [Bearwithme] Unable to compile ... home.pm line 1044
Super 5914 Oct 31, 2001, 3:27 PM
Thread Re: [Bearwithme] Unable to compile ... home.pm line 1044
Alex 5888 Oct 31, 2001, 4:07 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
Bearwithme 5828 Nov 1, 2001, 4:30 AM
Thread Re: [Alex] Unable to compile ... home.pm line 1044
Alex 5888 Oct 31, 2001, 6:19 PM
Post Re: [Alex] Unable to compile ... home.pm line 1044
TheFox 5827 Nov 1, 2001, 6:11 PM