Page Index Toggle Pages: 1
Topic Tools
Hot Topic (More than 10 Replies) cgi errors on startup (Read 6,089 times)
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
cgi errors on startup
Dec 17th, 2010 at 5:40pm
Post Tools
Hi,  I created a new board on a new site.  Everything was working wonderfully until recent.  I have been adding new features to the site and after adding a the lastest "members only" section the board stopped working.  Section coded in asp and should have had no impact on board.  Changed the initial yabb.pl code to display messages.  Getting the 500 error code.  Network solutions is the host, windows the platform.
Also during the build process, another set of folders were created YABB2 and yabbfiles2.  Can these be eliminated or do the have some sort of importance.
Thanks...jim
  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #1 - Dec 17th, 2010 at 5:42pm
Post Tools
The folders are yabb2.2 yabbfiles2.2, not what I previously posted.
  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #2 - Dec 17th, 2010 at 5:47pm
Post Tools
I have also tried running the advanced-test.pl and I get the same error
"The specified CGI application misbehaved by not returning a complete set of HTTP headers."
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: cgi errors on startup
Reply #3 - Dec 17th, 2010 at 10:52pm
Post Tools
Jim Milton wrote on Dec 17th, 2010 at 5:47pm:
"The specified CGI application misbehaved by not returning a complete set of HTTP headers."


"Usually" that error is caused by using Auto Mode when transferring files up to the server, causing a corrupt file.  ALL folders and files under the cgi-bin/yabb2 folder MUST be transferred as AscII.

Jim Milton wrote on Dec 17th, 2010 at 5:40pm:
Also during the build process, another set of folders were created YABB2 and yabbfiles2.  Can these be eliminated or do the have some sort of importance.

  mmmm running Setup.pl should NEVER install an additional folder nor duplicate existing folders.
  You initially changed the shebang (Path to Perl) in YaBB, AdminIndex and ModuleChecker pl files to reflect Perl on a Windows server ... Correct ?
   For Info .. is your server running IIs 5.0 ??
« Last Edit: Dec 17th, 2010 at 10:58pm by »  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #4 - Dec 18th, 2010 at 7:06pm
Post Tools
I am not sure what version of IIS Network Solutions have running on the host server for this application.  I have requested that from them, I am not sure when I will get a response.  As far as the files, I had problems installing v2.5 directly onto the host, I had to start at a lower version and upgrade to the final 2.5.  Someone along the line, the instruction requested the copy to be made.  Not sure where, I went ahead and removed them from the server.
  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #5 - Dec 18th, 2010 at 7:08pm
Post Tools
I did a complete reload of all the objects under 2.5 version of cgi-bin/yabb2.  Still getting the same error code.  Should I reload the yabfiles folder as well?
  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #6 - Dec 18th, 2010 at 7:14pm
Post Tools
It is my understanding that user a windows site, the shebang directive is irrelavant.  Am I wrong?
  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #7 - Dec 18th, 2010 at 7:19pm
Post Tools
After reloading all items under cgi-bin, the advanced-test.pl script ran and indicated II6.0.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,897
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: cgi errors on startup
Reply #8 - Dec 18th, 2010 at 10:28pm
Post Tools
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Captain John
Ex Member


Re: cgi errors on startup
Reply #9 - Dec 19th, 2010 at 6:48pm
Post Tools
Jim Milton wrote on Dec 18th, 2010 at 7:14pm:
It is my understanding that user a windows site, the shebang directive is irrelavant.  Am I wrong?

  Yes (only Active_Perl is different)... usually windows is something like -
#!C:/Perl/Bin/Perl.exe  and sometimes #!C:/Perl/Bin/Perl.exe -- is required
  It is always a good idea to set correctly.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,897
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: cgi errors on startup
Reply #10 - Dec 20th, 2010 at 4:05pm
Post Tools
The answer is:

On Server 2003/IIS - ActiveStates Perl can be configured to run as an executable or as an IIS module.

If you installed Active Perl for ISAPI - no shebang needed, otherwise point to the perl.exe file.

hope this clears things up.

Is it a Remote Desktop, VPS or a Plesk/Parallels Control Panel or something else?

As to your error -

you can PM me if you would like me to take a look, I have 4 YaBB forums running on IIS6 servers.

Good Luck
Wink
« Last Edit: Dec 20th, 2010 at 4:07pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Re: cgi errors on startup
Reply #11 - Dec 21st, 2010 at 7:40pm
Post Tools
I have little control on what is active on the host, hosting is outsourced.
Error is encountered when attemped to access the sites bb.  Cannot executed the yabb.pl or setup.pl in the correct folder.
As far as the uploading of the objects. it is required to use a FTP app or can you just connect to the host, open a folder on the remote site and drag and drop the required objects?
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: cgi errors on startup
Reply #12 - Dec 23rd, 2010 at 12:07am
Post Tools
Jim Milton wrote on Dec 21st, 2010 at 7:40pm:
it is required to use a FTP app or can you just connect to the host, open a folder on the remote site and drag and drop the required objects?

  Required to FTP, due to file extentions not recognized by drag and drop OR if Auto transfer is used in FTP.
   ALL files under the cgi-bin/yabb2 folder MUST be transferred as AscII.
Images under yabbfiles Must be transferred as Binary (all others as AscII).
  
Back to top
 
IP Logged
 
Jim Milton
YaBB Newcomer
*
Offline



Posts: 9

None
Complete reload of 2.5
Reply #13 - Dec 28th, 2010 at 11:30pm
Post Tools
Greetings all.  I have completely reloaded the cgi-bin/yabb2 and yabbfiles according to setup quide requirements.  I added the code for the error trapping:
BEGIN {
$| = 1;
open (STDERR, ">$STDOUT");
print "Content-type: text/plain\n\n<PRE>";
}
and I was returned:
defined(%hash) is deprecated at ./Sources/Subs.pl line 875.
     (Maybe you should just omit the defined()?)
defined(%hash) is deprecated at ./Sources/Subs.pl line 897.
     (Maybe you should just omit the defined()?)
Sorry, the copyright tag  must be in the template.Please notify this forum's administrator that this site is using an ILLEGAL copy of YaBB!

Any suggestions?

Thanks..Jim
Undecided
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: cgi errors on startup
Reply #14 - Dec 31st, 2010 at 3:17am
Post Tools
PM me the forums url, the ftp url and username/password and I'll take a look.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top