ballagyr Posted Wednesday at 10:15 PM Share Posted Wednesday at 10:15 PM Hi all, my website is having problems with this 500 error. My website is developed in Perl/CGI, have you made any changes to how this script is interpreted? The problem occurred as soon as my site was transferred to the new server, but I was only able to verify it now. Thank you! Quote Link to comment Share on other sites More sharing options...
wolstech Posted 16 hours ago Share Posted 16 hours ago Can't locate LocalSettings.pm in @INC (you may need to install the LocalSettings module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at View.cgi line 20.: /home/suranet.eu.org/openvms.eu.org/cgi-bin/View.cgi, referer: https://openvms.eu.org/ Looks like includes that are missing. Not sure if Krydos can install these or not. Quote Link to comment Share on other sites More sharing options...
Krydos Posted 13 hours ago Share Posted 13 hours ago 19 hours ago, ballagyr said: My website is developed in Perl/CGI, have you made any changes to how this script is interpreted? I added these lines use File::Basename; use lib dirname (__FILE__); and it seems to work now. The old Tommy has Perl v5.16.3 and the new Tommy has Perl v5.32.1 so maybe there was some change between these versions. Let us know if there are any other issues. 1 Quote Link to comment Share on other sites More sharing options...
ballagyr Posted 12 hours ago Author Share Posted 12 hours ago I still had issues with the other scripts, but I fixed them by making the same changes. Now everything is fine. This shows that my site needs a deeper update. I'll see if I can do that soon. Thank you! Quote Link to comment Share on other sites More sharing options...
Krydos Posted 4 hours ago Share Posted 4 hours ago Thanks for letting us know. If anyone else has any issues migrating to the new version of Perl we'll suggest this solution to them as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.