with the following error messages ...
Prototype mismatch: sub
Apache::ROOT::MSS_2dcgi::documents_2ecgi::encode_base64 vs ($;$) at
c:/NMS/Perl/lib/Exporter.pm line 57.
Prototype mismatch: sub
Apache::ROOT::MSS_2dcgi::documents_2ecgi::decode_base64 vs ($) at
c:/NMS/Perl/lib/Exporter.pm line 57
messages ...
Prototype mismatch: sub Apache::ROOT::MSS_2dcgi::documents_2ecgi::encode_base64 vs ($;$) at c:/NMS/Perl/lib/Exporter.pm line 57.
Prototype mismatch: sub Apache::ROOT::MSS_2dcgi::documents_2ecgi::decode_base64 vs ($) at c:/NMS/Perl/lib/Exporter.pm line 57.
The errors are connected
messages ...
Prototype mismatch: sub Apache::ROOT::MSS_2dcgi::documents_2ecgi::encode_base64 vs ($;$) at c:/NMS/Perl/lib/Exporter.pm line 57.
Prototype mismatch: sub Apache::ROOT::MSS_2dcgi::documents_2ecgi::decode_base64 vs ($) at c:/NMS/Perl/lib/Exporter.pm line 57.
The errors are connected
-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/
:: -Original Message-
:: From: Stas Bekman [mailto:[EMAIL PROTECTED]]
:: Sent: 07 November 2001 03:18
:: To: [EMAIL PROTECTED]
:: Cc: mod_perl Mailing List
:: Subject: Re: Prototype Mismatch
::
::
:: Jonathan M. Hollin wrote
Jonathan M. Hollin wrote:
Stas,
I appreciate that this is the mod_perl mailing list. Let me clarify my
initial question by adding... This behaviour only occurs when I run my
script under mod_perl, no errors are reported when using mod_CGI.
Hence my posting to the mod_perl list. :-)
Problematic test script attached...
Apache error.log reports the following:
Prototype mismatch: sub
Apache::ROOT::shapeshifter::system::pm_files_2ecgi::Transparent vs ($;@) at
E:/Apache/lib/Exporter.pm line 57.
at e:/apache/htdocs/shapeshifter/system/image_wizard.pl line 2
Prototype mismatch
In my script a simple use Image::Magick; results in the following lines
being added to my error.log everytime the script is called:
Are you using PerlRun or Registry?
Prototype mismatch: sub
Apache::ROOT::shapeshifter::system::pm_files_2ecgi::Transparent vs ($;@)
at
E:/Apache/lib
. Hollin - WYPUG Co-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/
:: -Original Message-
:: From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
:: Sent: 07 November 2001 16:02
:: To: [EMAIL PROTECTED]; mod_perl Mailing List
:: Subject: Re: Prototype Mismatch
::
::
:: In my script
On Wed, 7 Nov 2001, Jonathan M. Hollin wrote:
APOLOGY
-
I posted a message to this list with a small Perl script attached (without
ZIP-ing it first). This has triggered off numerous bounced mail virus
alerts and I apologise for this. I will avoid repeating that mistake in
future.
Platform:
Microsoft Windows 2000 Server
Perl 5.6 (Active State)
mod_perl
In my script a simple use Image::Magick; results in the following lines
being added to my error.log everytime the script is called:
Prototype mismatch: sub
Apache::ROOT::shapeshifter::system::pm_files_2ecgi::Transparent
list. We talk about
mod_perl here, well mainly. See http://lists.perl.org for the perl lists.
And read 'perldoc perlsub' manpage about prototypes.
Prototype mismatch: sub
Apache::ROOT::shapeshifter::system::pm_files_2ecgi::Transparent vs ($;@) at
E:/Apache/lib/Exporter.pm line 57.
at e
:
Prototype mismatch: sub Apache::ROOT::perl::test::test_2ecgi::TEST vs
() at c:/Perl/lib/constant.pm line 91.
It only seems to appear when I use Apache::PerlRun. When the script is
executed with Apache::Registry, no such error appears...
Has anybody a clue to avoid this error? I looked
Hi Doug,
Just installed Apache 1.3.7 and mod_perl 1.25 on my Linux box. To my
surprise, when I ran my scripts using PerlRun.pm, the "Prototype mismatch"
problem still occurs. When examining the code, it happened to be that line
344 of the new PerlRun.pm is:
*{$fullname} = eva
On Fri, 26 Jan 2001, Wenzhong Tang wrote:
Unfortunately the following line doesn't work:
eval "*{\$fullname}($p) = sub {}";
It probably should be:
eval "*{\$fullname} = sub ($p) {}";
The latter works on my Linux and Solaris tests.
right. thanks, applied.
chern [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 11:03 PM
To: Wenzhong Tang
Cc: [EMAIL PROTECTED]
Subject: RE: Prototype mismatch in Apache::PerlRun line 343
On Wed, 17 Jan 2001, Wenzhong Tang wrote:
Since nobody seems care about this problem, I have to find a solution
myself.
On Wed, 17 Jan 2001, Wenzhong Tang wrote:
Since nobody seems care about this problem, I have to find a solution
myself. Fortunately perl has a "prototype" function that returns the
prototype of a function. Here is the difference between the original
PerlRun.pm in mod_perl 1.24_01 and the
Hi folks,
I am running a CGI script under Apache/mod_perl using Apache::PerlRun. I
constantly got warning messaegs similiar to the one showing below:
[Thu Jan 11 18:45:49 2001] null: Prototype mismatch: sub
Apache::ROOT::login_2ecgi::gettimeofday () vs none at
/usr/lib/perl5/site_perl/5.005
Hi there,
On Wed, 1 Nov 2000, Jason Liu wrote:
I got the following prototype mismatch error when starting up Apache. Has
anyone seen this before?
No, but I wonder if you built your Perl as well as your mod_perl?
73,
Ged.
At 6:22 AM -0800 11/1/00, Jason Liu wrote:
Hi,
I got the following prototype mismatch error when starting up Apache. Has
anyone seen this before?
Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/local/lib/perl5/5.6.0/sun4-solaris/Socket.pm line 328.
Prototype mismatch: sub Socket
19 matches
Mail list logo