http://qa.mandrakesoft.com/show_bug.cgi?id=3449
------- Additional Comments From [EMAIL PROTECTED] 2003-03-19 23:50 -------
Le Mercredi 19 Mars 2003 17:06, burj-al-arab a �crit :
Why do you use CGI module if you produce all HTML code and HTTP header
manually ?
you have a name conflict here.
Either use CGI object-orietend interface:
my $cgi = CGI->new();
my $input = $cgi->param("name);
or (better) uninstall mod_perl as you don't seems to know what it is about
BTW, this is definitively not a mdk bug...
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: UNCONFIRMED
creation_date:
description:
I just tried to run the following script(maintenance.pl):
#!/usr/bin/perl
use CGI qw(:standard);
my $input= param('name');
print <<End_Page;
Content-type: text/html
<HTML>
<HEAD>
<TITLE>Testscript</TITLE>
</HEAD>
<BODY>
<BR>
<H1 align="center">Test</H1>
<HR>
<P>$input</P>
</BODY>
</HTML>
End_Page
1;
When I redirect my browser to the site, it stops due to an error:
[error] 15765: ModPerl::Registry: Undefined subroutine
&ModPerl::ROOT::ModPerl::Registry::var_www_perl_maintenance_2epl::param called
at /var/www/perl/maintenance.pl line 7.
If i comment--> my $input= param('name'); the page loads.
Same script runs on my FreeBSD machine.
So something is wrong here, but I have no clou what this is all about I have
these packages installed:
apache2-modules-2.0.44-11mdk
apache-conf-2.0.44-11mdk
apache2-2.0.44-11mdk
apache2-mod_perl-2.0.44_1.99_08-3mdk
apache2-mod_php-2.0.44_4.3.1-2mdk
apache2-common-2.0.44-11mdk
perl-GTK2-0.0.cvs.2003.03.04.1-2mdk
perl-URPM-0.81-13mdk
perl-FCGI-0.67-1mdk
perl-GTK-0.7008-26mdk
perl-GTK-GdkPixbuf-0.7008-26mdk
perl-HTML-Parser-3.27-1mdk
perl-URI-1.23-1mdk
perl-XML-Parser-2.31-6mdk
perl-XML-Twig-3.09-2mdk
perl-base-5.8.0-19mdk
perl-DBI-1.32-1mdk
perl-CGI-Minimal-1.09-2mdk
perl-MDK-Common-1.0.4-23mdk
perl-DateManip-5.40-4mdk
perl-GTK-GdkImlib-0.7008-26mdk
perl-HTML-Tagset-3.03-5mdk
perl-Locale-gettext-1.01-7mdk
perl-5.8.0-19mdk
perl-CGI-2.810-3mdk
Thanks for checking it out