On Wed, 31 Oct 2001 07:04:45 +0100, Gerald Richter wrote:
>I didn't have tried MySQL on Windows, but the following works for me
>
>PerlSetEnv EMBPERL_SESSION_CLASSES "File Null"
>PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/perl/user/komrp/srvroot/logs"
Okay I tried this and it behaves the same. (with /tmp as Directory)
The other weird thing is that after I restart Apache I can request a page once with
out problems and the next time it fails with
the Getid error message in the log.
But I do get a session file in the /tmp if I set the $udat on the first try. So
sessions are working?
but if I disable sessions embperl works fine.
>> [Tue Oct 30 19:10:06 2001] [error] Can't call method "getid" on an
>undefined value at C:/Perl/site/lib/HTML/Embperl.pm line 1691.
>
>Which versions of Perl, Embperl and Apache::Session do you have installed ?
>The above error message looks like a version mismatch.
I already had activestate perl installed, I downloaded the files that where on the FTP
site that www.ecos.de refers to (in the win32 downloads)
if I run perl -v I get this:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
I have :
apache_1.3.22-win32-x86.msi
perl-win32-bin-0.7.exe
mysql-3.23.43-win.zip
In the modlist if the perl-win32 are all the version numbers but I do not really
understand that.
There seem to be many different versions within apache::session. but the apache log
opens with:
[948]SES: Embperl Session management enabled (>= 1.50)
I will try to put a relevant selection that's in that list here:
Apache::Session (version 1.53) found in C:/Perl/site/lib
Apache::Session::DB_File (version 1.01) found in C:/Perl/site/lib
Apache::Session::File (version 1.54) found in C:/Perl/site/lib
Apache::Session::Flex (version 1.00) found in C:/Perl/site/lib
Apache::Session::Generate::MD5 (version 2.0) found in C:/Perl/site/lib
Apache::Session::Lock::File (version 1.01) found in C:/Perl/site/lib
Apache::Session::Lock::MySQL (version 1.00) found in C:/Perl/site/lib
Apache::Session::Lock::Null (version 1.01) found in C:/Perl/site/lib
Apache::Session::Lock::Semaphore (version 1.01) found in C:/Perl/site/lib
Apache::Session::MySQL (version 1.01) found in C:/Perl/site/lib
Apache::Session::Serialize::Base64 (version 1.00) found in C:/Perl/site/lib
Apache::Session::Serialize::Storable (version 1.00) found in C:/Perl/site/lib
Apache::Session::Serialize::Sybase (version 1.00) found in C:/Perl/site/lib
Apache::Session::Serialize::UUEncode (version 1.00) found in C:/Perl/site/lib
Apache::Session::Store::DBI (version 1.01) found in C:/Perl/site/lib
Apache::Session::Store::DB_File (version 1.00) found in C:/Perl/site/lib
Apache::Session::Store::File (version 1.01) found in C:/Perl/site/lib
Apache::Session::Store::MySQL (version 1.03) found in C:/Perl/site/lib
HTML::Embperl (version 1.3.2) found in C:/Perl/site/lib
HTML::Embperl::Mail (version 1.3.1) found in C:/Perl/site/lib
HTML::Embperl::Module (version 0.01_dev-1) found in C:/Perl/site/lib
HTML::Embperl::Session (version 1.50) found in C:/Perl/site/lib
HTML::EmbperlObject (version 1.3.1) found in C:/Perl/site/lib
Just for the extra detail the embperl log. (But it does not log after the first
request (and the first request goes fine the others fail)
[1332]MEM: Load c:/program files/apache group/apache/htdocs/test.htmll in
HTML::Embperl::DOC::_1
[1332]CACHE: New File for 'c:/program files/apache group/apache/htdocs/test.htmll'
(a0324c) in 'HTML::Embperl::DOC::_1' hash cache-key 'c:/program files/apache
group/apache/htdocs/test.htmll'
[1332]REQ: Embperl 1.3.2 starting... Wed Oct 31 12:34:18 2001
[1332]REQ: No Safe Eval All Opcode allowed mode = mod_perl (3)
[1332]REQ: Package = HTML::Embperl::DOC::_1
[1332]Formdata... length = 0
[1332]Using APACHE for output...
[1332]Reading c:/program files/apache group/apache/htdocs/test.htmll as input using
PerlIO ...
[1332]PERF: input = c:\program files\apache group\apache\htdocs\test.htmll
[1332]PERF: Time: 20 ms Evals: 1 Cache Hits: 0 (0%)
[1332]Request finished. Wed Oct 31 12:34:18 2001
. Entry-SVs: 27393 -OBJs: 17 Exit-SVs: 27568 -OBJs: 21
[1332]MEM: Free buffer for c:\program files\apache group\apache\htdocs\test.htmll in
HTML::Embperl::DOC::_1
I hope you have some more hints for me..
Thank you
Hans de Groot
------
Hans de Groot
Interspective Internet Services B.V.
Tel: +31 (0) 30 6001180
Fax +31 (0) 30 6044204
www: http://www.interspective.nl
email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]