Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Fatal Error???

Quote Reply
Fatal Error???
Hi all....
I'm trying to get JPDeni's file_ upload mod to work...keep getting....
fatal error: Can't call method "param" without a package or object reference at db.cgi line 472.
I've trible checked all mod alterations...everything seems correct...
including the
" use CGI;
$query = new CGI;"
anyhelp would be appreciated...thanks Rob



Quote Reply
Re: Fatal Error??? In reply to
Try using:

Code:

$query = new CGI();


And also make sure that you have localized the $query variable in the subroutine that you uploading files...

Code:

my ($query);


Regards,

Eliot Lee
Quote Reply
Re: Fatal Error??? In reply to
Thanks Eliot...that seemed to solve the problem...I'm not sure why, but its working now...thanks again...Rob.

Quote Reply
Re: Fatal Error??? In reply to
You're welcome.

Regards,

Eliot Lee