[ic] 5.5.0 errors - bugs?
Peter
peter at pajamian.dhs.org
Mon Oct 30 21:39:27 EST 2006
On 10/30/2006 05:25 AM, David Radovanovic wrote:
> Since installing/upgading to 5.5.0 from 5.0 there has been various errors
> that appear as though they are permissions related though permissions seem
> correct. No related in error logs or debug log.
>
> They also occur in http://demo.icdevgroup.org/ install as well -
>
> When trying to view catalog error.log through Admin UI this error occurs:
> No absolute file paths allowed. -- logged.
Try this patch (may suffer from word wrap):
Index: code/UI_Tag/version.coretag
===================================================================
RCS file: /var/cvs/interchange/code/UI_Tag/version.coretag,v
retrieving revision 1.12
diff -u -p -r1.12 version.coretag
--- code/UI_Tag/version.coretag 8 Nov 2005 18:14:40 -0000 1.12
+++ code/UI_Tag/version.coretag 31 Oct 2006 01:26:11 -0000
@@ -22,8 +22,10 @@ sub {
}
if($opt->{local_error}) {
- my $fn = $Vend::Cfg->{ErrorFile};
- push @out, $Tag->page("$::Variable->{UI_BASE}/do_view", $fn) . "$fn</a>";
+ my $dfn = my $fn = $Vend::Cfg->{ErrorFile};
+ my $pre = $Global::Catalog{$Vend::Cat}->{dir} . '/';
+ $fn =~ s:^\Q$pre\E::;
+ push @out, $Tag->page("$::Variable->{UI_BASE}/do_view", $fn) .
"$dfn</a>";
$done_something = 1;
}
Peter
More information about the interchange-users
mailing list