Actually, I've run into that problem before, and this time, I compiled PHP
to use the systems mySQL client.  That is why mod_perl works.
(http://www.topconlasersales.com/test_php/)  Shows all four modes: CGI,
PHP4, mod_perl, and Embperl.

  Also interesting to note is that on non-Database portions of Embperl code;
it's complaining about code that is typically not a problem:
Error in Perl code: Can't use global @_ in "my" at
/usr/local/apache_ssl/lib/perl/cart_support.pm line 443.
    BEGIN failed--compilation aborted (in cleanup) Can't use global @_ in
"my" at
/usr/local/apache_ssl/lib/perl/cart_support.pm line 443.

The offending lines are:
442  sub emailCustomer

443          my $fdata = shift @_;
444          my $aCart = shift @_;
445          my $an_array = shift @_;
446          my $aRow = "";
447

AND This one:
 Error in Perl code: (in cleanup) Can't use global $1 in "my" at
/home/www/sites/topconlaser/html/cart.phtml line 29.

Offending Lines:
25          # Delete Items...
26          foreach $key (grep (/cart(\d+)_p(\d+)_delete/, keys %fdat)) {
27                  # if ($fdat{$key} eq "true") {
28                  if ($key =~ /cart(\d+)_p(\d+)_delete/) {
29                          &cart_support::changeQuantity ($1, $2, "0");
30                          $items_deleted .= " ".$2." ";
31                  }
32          }

... This was never a problem before.  Emb_perl is behaving very strangly.

... insight?

Thank you,

Steve Wilder
Matrix Interactive, Inc.
http://www.matrixinteractive.net/
Desk: 248.814.8235
Cell: 248.894.3128
Fax : 248.814.8236

-----Original Message-----
From: Antti Linno [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 06, 2001 8:00 AM
To: Steve Wilder
Cc: Embperl
Subject: Re: EMB Perl Seg fault



As I recall, it was php, mysql problem with invoking DBI. Search the list
archives. As I dimly remember, I got rid of this problem with installing
php --with-mysql = /path/to/mysql/libraries. I've compiled them
together(without ssl though) and all works nice.

Hope this helps.


Greetings,
        Antti




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
BEGIN:VCARD
VERSION:2.1
N:Wilder;Steve
FN:Steve Wilder
ORG:Matrix Interactive, Inc.
TITLE:President
TEL;WORK;VOICE:(248) 814-8235
TEL;CELL;VOICE:(248) 894-3128
TEL;WORK;FAX:(248) 814-8236
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010203T060545Z
END:VCARD

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

Reply via email to