Re: 500 Died in server spawn error caused by regex in log_transaction

David Christensen <[email protected]>
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
> On Sep 8, 2017, at 7:52 AM, IC <[email protected]> wrote:
> 
> I don't know quite when this issue started but we started getting complaints about a 500 error on the checkout when placing an order, I've narrowed it down to a single regex line in log_transaction.
> 
> The error in the log is:-
> 
> /process.html Died in server spawn: Can't find Unicode property definition "Word" ...
> 
> The regex that seems to cause the error is $out =~ s/[\r\n]+/\n/;
> 
> For now I have change it to $out =~ s/\r\n+/\n/mg; which seems fine.
> 
> I presume this is some kind of UTF8 error, any idea what causes it??

Hmm, that’s not even referencing unicode properties directly, so if that line change truly is what fixes the issues, then it sounds like there may be some issues with some of your internal perl modules, such as picking up a later version of Encode.pm with a different perl interpreter that is making other assumptions.

How many versions of perl do you have on your system?  You might be able to create a page that contains just `[env PERL5LIB]` and see if that matches up to your expectations of the version of Perl you’re using.

Best,

David
--
David Christensen
End Point Corporation
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJZsrYdAAoJEDdKI8nfm2W4QMwP/1OazsqgCfu48/dN6vaq9LjL
D1W5ctdWiMNEBALyov/Xi6ZZ2rAOY/RGH/KpsAedqqaDQ0MSfZNXgxF4FhQx3IYu
1DSwrPql8X2XPi0JyBS+oxnvXkhMEYchRvztkBx82rVZ6krJiwCDklyMoApBVdD7
ta9W6MxAiKBpDqDF32DWWheiOxLGLPr7gZsAp7OFTGUpUUmi6AZvO7I4/ExZOSAp
UNBgot+fDy5MlLIR3bp8jt2qWkXgH1NMMSkU/qHJyYYKlbBc+xtA2RLou9X217pI
zs3DOxS6iAqktaUWBbASXRVyiwf02xmdqNH0gHwKJ5ulPIxiZDjEc0vXY+H9x9XK
JRDO92rj3aJLt4HkoAtDmDvY+95yaWvuM9jaNH2H6tleUrXANbdvrg+ddv5/i1d7
+5BuT2l4wR1bFrb4S8+fXtA5JhZy31kqSApJvu59Yq/hKhVyVLkBalhvRcv3s76j
JHGI47KHNdkcySbsM44UqmM7F1q6b4qSrgIIG+6zMPJI+hwXLDUX3T4jhEIfJsfT
I1+aowz9cogXGDwFBw424FEPnewp+EyILpGpMsSsYEud114ugFwVSS2zR19w50+E
cNXX4eV4VTf0AUgxlpVP8wpUheOitXXgs6cTg6ukvaQoq5f5BmXNlrbpWz6zlLaL
5aGpv7i8818nFlO/xc2J
=423U
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.