Gerardo Schimpf wrote:
> Hi, I've moved stuff around per your suggestions, and still no luck.

I just saw that you are using Embperl 1.3.4. This version has problems with
Perl 5.8, please upgrade to 1.3.6

Gerald

P.S. The rollback message comes from DBI and is only a warning that tells
you that you don't have disconnected your daabase connection and may loose
data if you have not commit everything.

> Here is the current configuration file.
>
> <VirtualHost {server_IP}:80>
>    ServerName  ...
>    ServerAlias ...
>    ServerAdmin   ...
>    DocumentRoot   ...
>    ErrorLog ...
>    CustomLog ...
> .
> .
> .
>    SetEnv EMBPERL_DEBUG 0   #SetEnv EMBPERL_DEBUG 2285
>    SetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
>    SetEnv EMBPERL_SESSION_ARGS "DataSource=DBI:mysql:database=...
>    etc." PerlModule HTML::Embperl
>    <Files *.epl>
>          SetHandler      perl-script
>          Perlhandler     HTML::Embperl
>          Options         ExecCGI
>    </files>
> </VirtualHost>
>
> I'm restarting apache after every change so that's not the problem.
> I'm also still getting the error in the apache error_log:
>
> Issuing rollback() for database handle being DESTROY'd without
> explicit disconnect() at
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/HTML/Embperl.pm
> line 1443.
>
> And the following related error in embperl.log:
>
> [1279]CUP: Error while closing HTML::Embperl::DOC::_4::LOG: Can't
> locate object method "CLOSE" via package "HTML::Embperl::Log" at
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/HTML/Embperl.pm
> line 1447.
>
> Which is still going to /tmp/embperl.log
>
> Any ideas?
>
> Thanks.
>
>
>
> On Mon, 2004-04-26 at 21:13, Gerald Richter wrote:
>>> OK, I've switched everything over to using SetEnv, and I'm still not
>>> getting the behavior I expect. In particular, the Log file is being
>>> written to /tmp, even though I have it set to go elsewhere as you
>>> can see form the SetEnv below.
>>>
>>
>> Embperl_log must be set before Embperl is loaded (same for the
>> session stuff).
>>
>> I guess you have a PerlModule HTML::EMbperl somewhere before. Try to
>> change the order
>>
>> Gerald
>>
>> P.S. Please keep the discussion on the list
>>
>>>> <VirtualHost ...>
>>>>       .
>>>>       .
>>>>       .
>>>>   AddType text/html .epl
>>>>   SetEnv EMBPERL_LOG /var/www/domains/mc/embperl_log
>>>>   SetEnv EMBPERL_DEBUG 0
>>>>   #SetEnv EMBPERL_DEBUG 2285
>>>>   SetEnv EMBPERL_SESSION_CLASSES "MySQL Semaphore"
>>>>   SetEnv EMBPERL_SESSION_ARGS "DataSource=DBI:mysql:database..."
>>>>
>>>>   <Files *.epl>
>>>>         SetHandler      perl-script
>>>>         Perlhandler     HTML::Embperl
>>>>         Options         ExecCGI
>>>>   </files>
>>>> </VirtualHost>
>>>>
>>> The weird thing, is that the EMBPERL_DEBUG variable does seem to be
>>> working. If I change the debug level from 0 and restart Apache, more
>>> stuff get's logged as one would expect. The others though seem to be
>>> simply ignored. Am I missing something?
>>>
>>> Something else weird is that the following error is showing up in
>>> the log twice for every embperl page that is called for a web
>>> browser, irrespective of the value of EMBPERL_DEBUG:
>>>> [26364]CUP:  Error while closing HTML::Embperl::DOC::_1::LOG: Can't
>>>> locate object method "CLOSE" via package "HTML::Embperl::Log" at
>>>> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/HTML/Embperl.pm
>>>> line 1447.
>>>
>>> Not sure if it's relevant.
>>>
>>> Any clues? Thanks.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to