Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 471 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Other Programming Languages :

Perl/CGI Script Stopped Working

Thread title: Perl/CGI Script Stopped Working
Closed Thread    
    Thread tools Search this thread Display Modes  
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

10-14-2007, 04:53 PM
#2
crazyryan is offline crazyryan
Status: I love this place
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 603
iTrader: 6 / 100%
 

crazyryan is an unknown quantity at this point

  Old

Whats the file chmodded to

10-14-2007, 11:00 PM
#3
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

Well I just chmodded it to 777 and it still doesn't work.

10-21-2007, 09:38 AM
#4
crazyryan is offline crazyryan
Status: I love this place
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 603
iTrader: 6 / 100%
 

crazyryan is an unknown quantity at this point

  Old

I think it's supposed to be 755.

10-21-2007, 10:15 AM
#5
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

Originally Posted by RYANNNNN View Post
I think it's supposed to be 755.
It was on that when it wasn't working. I temporarilly tested on 777 because that allows more permissions. It didn't work anyway...so it's not a CHMOD issue. Personally I think it's a hosting issue, but I can't really prove that to my host without rectifying the output errors...

Thanks.

10-21-2007, 10:39 AM
#6
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Have you modified CGIProxy at all?

10-21-2007, 11:19 AM
#7
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

Originally Posted by Salathe View Post
Have you modified CGIProxy at all?
Only the config variables. But it was all working fine...then it just stopped randomly without any code changes...

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed