cl58 Posted January 13, 2010 Author Posted January 13, 2010 Honestly, I am not worried about the module not being installed. MovableType is more important in this matter. Also, the lack of the one module is not causing the problem because none of the MovableType CGI or Perl files are working.
Ashoat Posted January 13, 2010 Posted January 13, 2010 The line that does the include is "Net::IRCService". That instructs Perl to look for a "IRCService.pm" file in the directory "Net". It looks for this directory in any of the paths in @INC. However, if this file cannot be found it will error out as shown. If he explicitly included the file instead of the module, or he added the correct path to @INC there shouldn't be a problem. If he doesn't have the file, it shouldn't be too hard to download it.
cl58 Posted January 13, 2010 Author Posted January 13, 2010 But, why is that causing all perl/cgi scripts to not work.
Ashoat Posted January 13, 2010 Posted January 13, 2010 Wait, are these Perl scripts that don't have the line "use Net::IRCService"?
cl58 Posted January 13, 2010 Author Posted January 13, 2010 As far as I know, MovableType does not have that line in any of its many files.
cl58 Posted January 14, 2010 Author Posted January 14, 2010 It is all perl scripts that I have tried to use. If it is coincidence, wow, but I do not think it is.
Byron Posted January 14, 2010 Posted January 14, 2010 It is all perl scripts that I have tried to use. If it is coincidence, wow, but I do not think it is. See if you can run this simple time script. #!/usr/bin/perl -w use CGI ':standard'; $current_time = localtime; # print header, start_html('A Virtual Clock'), h1('A Virtual Clock'), "The current time is $current_time - PST.", hr, end_html;
cl58 Posted January 15, 2010 Author Posted January 15, 2010 That does not work either. I put it into time.pl and time.cgi and neither worked. You can see at http://services.cl58tools.co.cc/time.cgi and http://services.cl58tools.co.cc/time.pl
Byron Posted January 15, 2010 Posted January 15, 2010 Did you chmod it to 755? Also try it in your cgi-bin, although it should work in any directory.
cl58 Posted January 15, 2010 Author Posted January 15, 2010 After re-chmoding the two files, they did begin to work. (see with the links above). They also work in cgi-bin. MovableType is working now (out of the blue. I didn't even change the file permissions), but nothing in http://services.cl58tools.co.cc/ is.
Ashoat Posted January 15, 2010 Posted January 15, 2010 Interesting. Well, let us know if the problem reemerges.
Recommended Posts