Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Software error:

Quote Reply
Software error:
Hi,
if I after the login click on logout i get the following error:


Software error:
Can't call method "param" on an undefined value at ....../cgi-bin/user.cgi line 70.

where here is the problem situated?

urs


------------------
Quote Reply
Re: Software error: In reply to
on that line.. there is something that looks like this

Code:
$dynamic->param('t') ? $dynamic : undef

change the bolded part to

$in

jerry
Quote Reply
Re: Software error: In reply to
Jerry, is that a real bug?

Or is just that a way to avoid the error message? I got that error message a few times in other routines, and it was because I didn't call:

Code:
print $in->header();

first. Once I did that, all the errors (and lots others, went away. You can probably verify that by adding -w to the perl line, and checking the error log.



Quote Reply
Re: Software error: In reply to
That is a bug, change in user.cgi at line 70:

&site_html_login_form ( { Username => '', Password => '', Email => '', error => "You have been successfully logged out." }, $dynamic->param('t') ? $dynamic : undef);

to:

&site_html_login_form ( { Username => '', Password => '', Email => '', error => "You have been successfully logged out." }, $dynamic);

Cheers,

Alex
Quote Reply
Re: Software error: In reply to
oh.. ok.. i should have noticed that.. Wink

hey.. for some reason i just remembered something.. pugdog.. do you remember tassie? he argued that you guys are like all cheap and you should be able to pay for things.. or something..

he's a big time cheapy himself.. he still owes me like $200.. oh well.. haven't heard from him since then..

jerry