YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
cgi errors on startup (Read 5,311 times)
 Dec 17th, 2010 at 5:40pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
cgi errors on startup
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
 
 
IP Logged  
 Reply #1 - Dec 17th, 2010 at 5:42pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
The folders are yabb2.2 yabbfiles2.2, not what I previously posted.
 
 
IP Logged  
 Reply #2 - Dec 17th, 2010 at 5:47pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
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."
 
 
IP Logged  
 Reply #3 - Dec 17th, 2010 at 10:52pm
There are no actions to perform.  
Captain John 
Ex Member


None
Re: cgi errors on startup
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 N/A »  
 
IP Logged  
 Reply #4 - Dec 18th, 2010 at 7:06pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
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.
 
 
IP Logged  
 Reply #5 - Dec 18th, 2010 at 7:08pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
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?
 
 
IP Logged  
 Reply #6 - Dec 18th, 2010 at 7:14pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
It is my understanding that user a windows site, the shebang directive is irrelavant.  Am I wrong?
 
 
IP Logged  
 Reply #7 - Dec 18th, 2010 at 7:19pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
After reloading all items under cgi-bin, the advanced-test.pl script ran and indicated II6.0.
 
 
IP Logged  
 Reply #8 - Dec 18th, 2010 at 10:28pm
There are no actions to perform.  

JonB 
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 3,641
Land of the Blazing Sun!


None
Re: cgi errors on startup
 
I find your lack of faith disturbing.
jonbservergeek  
IP Logged  
 Reply #9 - Dec 19th, 2010 at 6:48pm
There are no actions to perform.  
Captain John 
Ex Member


None
Re: cgi errors on startup
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.
 
 
IP Logged  
 Reply #10 - Dec 20th, 2010 at 4:05pm
There are no actions to perform.  

JonB 
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 3,641
Land of the Blazing Sun!


None
Re: cgi errors on startup
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.
jonbservergeek  
IP Logged  
 Reply #11 - Dec 21st, 2010 at 7:40pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Re: cgi errors on startup
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?
 
 
IP Logged  
 Reply #12 - Dec 23rd, 2010 at 12:07am
There are no actions to perform.  
Captain John 
Ex Member


None
Re: cgi errors on startup
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).
 
 
IP Logged  
 Reply #13 - Dec 28th, 2010 at 11:30pm
There are no actions to perform.  

Jim Milton 
YaBB Newbie
*
Offline
Posts: 9


YaBB 2.5
Complete reload of 2.5
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
 
 
IP Logged  
 Reply #14 - Dec 31st, 2010 at 3:17am
There are no actions to perform.  
Captain John 
Ex Member


None
Re: cgi errors on startup
PM me the forums url, the ftp url and username/password and I'll take a look.
 
 
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.