Gossamer Forum
Quote Reply
Error Log
I've been gettin a similar msg on both of my forums since I've installed them over 6 months ago.

The error is located at
cgi-bin/forum/admin/GForum/Post/View.pm line 584.,

any thoughts what it could be, or what the proper code is at this particular line? Any thoughts would be appreciated.


SEO Consultation
Economics & Personal Finances
Quote Reply
Re: [discusswireless] Error Log In reply to
What are the lines of code on 580-590 ?

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
Quote Reply
Re: [Andy] Error Log In reply to
 
my $file = \do { local *FH; *FH };
my $dir = $attachment->{"${prefix}att_id"} % 10;
my $filename = "$CFG->{qq'${prefix}_attachment_directory'}/$dir/$attachment->{qq'${prefix}att_id'}";
open $file, "<$filename" or die "Unable to open file '$filename': $!";

binmode $file;
binmode STDOUT;

require GT::MIMETypes;
my $mime_type = GT::MIMETypes->guess_type($attachment->{"${prefix}att_filename"});





THanks

SEO Consultation
Economics & Personal Finances