ballagyr Posted September 25 Share Posted September 25 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! Link to comment Share on other sites More sharing options...
wolstech Posted September 26 Share Posted September 26 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. Link to comment Share on other sites More sharing options...
Krydos Posted September 26 Share Posted September 26 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 Link to comment Share on other sites More sharing options...
ballagyr Posted September 26 Author Share Posted September 26 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! Link to comment Share on other sites More sharing options...
Krydos Posted September 27 Share Posted September 27 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. Link to comment Share on other sites More sharing options...
Recommended Posts