View Single Post
10-14-2007, 12:54 PM
#1
Seb is offline Seb
Seb's Avatar
Status: Watermelon Man
Join date: Nov 2006
Location: London
Expertise:
Software:
 
Posts: 3,312
iTrader: 36 / 100%
 

Seb is on a distinguished road

  Old  Perl/CGI Script Stopped Working

The script here on my server has stopped working:

http://www.proxywasp.com/cgi-bin/cgi/nph-proxy.pl

It is running CGIProxy, and it suddenly just stopped loading for an unknown reason.

I contacted my hosting provider, who said:


This is quite an odd issue. Restarting services doesn't seem to really fix anything, I have seen this sort of error before and usually it is just a case of restarting services. Have you made any changes to your CGI or Perl configurations lately? If it was just working fine, this leads me to think that something was changed somewhere to affect this script. When I try to run the script at the shell, this is what I get:

# perl nph-proxy.pl
Global symbol "@waspnetwork" requires explicit package name at nph-proxy.pl line 4350.
BEGIN not safe after errors--compilation aborted at nph-proxy.pl line 5112.

I'm not sure if these specific notes are pointing to the cause of it not working, but it very well could. Since this is more of a third party application, we will provide best-effort support, but we may not be able to completely help you on some things like this.

I would suggest looking at those spots in the file to check for any errors. Also, if you haven't changed anything and it definitely was just a random occurrence, I would think that a full reboot should take care of any lingering problems. If you need any further assistance please do not hesitate to ask.
This is line 4350:

Code:
    print <<EOH ;
And line 5112:

Code:
    no strict 'refs' ;   # needed to use $S as filehandle
Any ideas why it won't load, it used to work?

Thanks.

Seb