[rt-devel] problem with Mason and script_name

Benjamin Boksa b.boksa at sidebysite.de
Tue Nov 18 08:50:40 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Matthias,

I had the same problem and solved it by downgrading Mason to version 
1.20.

Regards,

Benne

Am Dienstag, 18.11.03, um 14:27 Uhr (Europe/Paris) schrieb Matthias F. 
Brandstetter:

> Hi all,
>
> I am at installing RT3 and have a little problem with HTML::Mason. 
> After
> setting everything up, I get the following error when I try to access 
> RT3:
>
> Can't locate object method "script_name" via package
> "HTML::Mason::FakeApache" at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/FakeApache.pm line 73.
>
> I looked at this FakeApache.pm line 73, there is indeed this line:
>
> $self->{uri} ||= $self->script_name . $self->path_info || '';
>
> Since the error msg says that there is no object method for 
> "script_name",
> I searched for it:
>
> root at mx2:/usr/lib/perl5/site_perl/5.8.0/HTML# grep -ir 'script_name' *
> Mason/FakeApache.pm: $self->{uri} ||= $self->script_name . 
> $self->path_info
> || '';
>
> (outout is one line)
> So, it seems that there is really no object method for this 
> "script_name".
> Good, and now? Could somebdody tell me what to do now? I have no idea
> where to get this "script_name" from :(
>
> Greetings and TIA, Matthias
>
> -- 
> They said the same thing about Urkle; that little snot.  Boy I'd like
> to smack that kid.
>
> 		-- Homer Simpson
> 		   Bart Gets Famous
>
> _______________________________________________
> rt-devel mailing list
> rt-devel at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-devel
>
>
- -- 

Benjamin Boksa

b.boksa at sidebysite.de
PGP: http://www.sidebysite.de/pgp/b.boksa.asc

side by site GmbH & Co. KG
Druckgestaltung & Webdesign

Barbarastr. 3-9 (Block 6)
D-50735 Koeln

Fon: +49 221 2790964
Fax: +49 221 2790965

http://www.sidebysite.de/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/uiO1R5U9XkJXZKwRAkLvAJ4noW6AUUfDNd+SgeE5tNEG/bWZNgCfQBn6
Wn0DVlGBAC/Jtu20e5gTr0g=
=4Mm2
-----END PGP SIGNATURE-----




More information about the Rt-devel mailing list