|XP is just a number|
GD and LWP giving 500 errorsby Schmunzie (Sexton)
|on Mar 16, 2017 at 19:55 UTC||Need Help??|
Schmunzie has asked for the wisdom of the Perl Monks concerning the following question:
My webhosts (Northgateweb) have changed their upstream providers to Litespeed. Scripts that previously worked using GD or LWP::Simple or LWP::UserAgent are now failing with 500 errors. Uniquely, in my experience, I am getting 500 errors despite using CGI::Carp. When I comment out references to the offending modules, the scripts fail in an elegant way with proper error messages.
I have installed the modules and got the thumbs up from cPanel.
What I'd really like to know is whether anyone else has come across this and what might possibly be the cause - and, of course, how to fix it. The Northgateweb people don't understand Perl at all and tell me they've raised it with Litespeed but all has gone silent.
I can work around GD and LWP::Simple using Image::Size and qx(curl...) respectively but I'm stumped on how to work around sending a POST with LWP::UserAgent. I fear that constructing socks from scratch is beyond my skill level. How else can I do it?
Thanks for practical and/or moral support!