Jump to content

Recommended Posts

Posted

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!

Posted
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.

Posted
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.

  • Like 1
Posted

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!

 

Posted

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.

  • Krydos changed the title to [Solved] 500 Internal Server Error in (openvms.eu.org)
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...