Jump to content

[Solved] 500 Internal Server Error in (openvms.eu.org)


ballagyr

Recommended Posts

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

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

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
Link to comment
Share on other sites

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

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