Page Index Toggle Pages: 1 2 [3] 4 5 
Topic Tools
Very Hot Topic (More than 25 Replies) CGI Error - HTTP Errors (Read 33,146 times)
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #30 - Jun 27th, 2009 at 4:16pm
Post Tools
Hi louwk

You are on the same track I am on at the moment, which is building a table of 'exactly' what is installed on my system.

Its Active Perl 5.8.8 build 822.  Its the only Perl that has been installed on this server.  I used it because it was the 'flavor' I was running on my 'other' W2K3 server that also had 2.1 and 2.2.2  YaBB forums running plus Bloxom and Discus. So I knew it worked, and I had heard bad things from others about Perl 5.10 (like your experience). The other server started with Perl 5.6, as that was what I was running on my NT 4.0 that was running 2 Discus boards and a Perl-based upload system when it finally expired about a year and a half ago.  We held a proper Irish Wake for the old geezer. Many years of honorable service.  Wink

I have not abandoned the idea of a workround either.  Like I said probably a red-headed stepchild. but there are not a lot of brilliant ideas floating about either.

Again, I admire your tenacity.  I hesitated to tell you to re-install Perl (although it was also on my mind) because I don't think its the most likely suspect.  could you PM me the FQDN of your forum along with the path's you have used?

It would be great if you could paste Paths.pl and Setting.pl into 2 PM's  - this was critical to me getting Karen England's Cpanel install debugged.

This way I can replicate the install on my local loop.  Cool

Thanks and Good Luck.

Smiley
  

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



Posts: 31
Re: CGI Error - HTTP Errors
Reply #31 - Jun 27th, 2009 at 5:27pm
Post Tools
FQDN ???
  
Back to top
 
IP Logged
 
louwk
YaBB Newcomer
*
Offline



Posts: 31
Re: CGI Error - HTTP Errors
Reply #32 - Jun 27th, 2009 at 6:06pm
Post Tools
I think the 8000char limit prevents all of settings pl to be sent.
Can I attach using PM?
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #33 - Jun 27th, 2009 at 6:11pm
Post Tools
you can email me, PM's unfortunately do not allow attachments

I'll send you a PM


I probably will not be able to do this before tomorrow some time.

Wink

BTW - FQDN = Fully Qualified Domain Name

http://[server].domainname.tld   TLD = top level domain

« Last Edit: Jun 27th, 2009 at 6:15pm by JonB »  

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



Posts: 31
Re: CGI Error - HTTP Errors
Reply #34 - Jun 27th, 2009 at 6:23pm
Post Tools
see your PM and fetch whatever you need

good night
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #35 - Jun 28th, 2009 at 4:11pm
Post Tools
I have nor figured out specifically why you are getting the error with 2.4 and I don't, but I have a pretty good idea of the cause. "its komp-lee-cated".

It came to me last night while while asleep, after reading a seemingly unrelated post, and making a critical recognition about Settings.pl.  Something I had long puzzled over.

from the unrelated post:
Quote:
For your information, I found what was behind this problem of images not appearing : it was a forbidden character in the langage files (the lines used by Javascript).


http://www.yabbforum.com/community/YaBB.pl?num=1242834724

the bingo thought:

Settings.pl (not Settings.txt) is actually Perl code that gets read in/interpreted.  Its one of the settings causing a syntax error during the Perl opcode creation process when it reads Settings.pl during 'syntax tree' build.  That's why we are getting a CGI error thrown, its a code error literally.

* JonB bets a beer

Smiley

I'm going to go get your data.
  

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



Posts: 10
Re: CGI Error - HTTP Errors
Reply #36 - Jun 28th, 2009 at 4:32pm
Post Tools
Very nice catch.

Smiley Smiley Smiley

Have three.

I have been following along and appreciate the work you two are doing.  It has made me envious that I do not have my own server to work with.

-TickToo (Greg)
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #37 - Jun 28th, 2009 at 4:38pm
Post Tools
Is yabb4 still the right folder?

If so, please read your current actual Settings.pl file. 

I'm not enough of a Perl mechanic to tell you "how" it got that way.

I think the simplest solution is to e-mail me the Settings.pl file that 'works with 2.31, but not with 2.4'.  Where you have a 2.4 install, and the 2.31 Settings_Advanced.pl in place.

Don't take this personally, but if you want 'me' to fix things/figure it out, you need to take a 'chill pill' (or whatever they call it in your locale) on changing things so I am dealing with a stable set of assumptions. Please?  Wink

At the moment I am reasonably sure that one of your settings, when read in an assignment statement as Perl code by version 2.4 is the source of the issue.   

Cool

« Last Edit: Jun 28th, 2009 at 4:43pm by JonB »  

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



Posts: 10
Re: CGI Error - HTTP Errors
Reply #38 - Jun 28th, 2009 at 5:19pm
Post Tools
JonB wrote on Jun 28th, 2009 at 4:38pm:
Is yabb4 still the right folder?


You know, this just made me think...

When I created my new YaBB installation, I kept my old install at

/httpdocs/cgi-bin/yabb2

The new install was put at

/httpdocs/cgi-bin/yabb24

Do you think it could be something as simple as the YaBB install path not being taken care of in just this one case?

I have PM'd you the Plesk credentials again.  I verified the credentials work on a separate machine in my home.

-Greg
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #39 - Jun 28th, 2009 at 6:47pm
Post Tools
$JonBState == "watching US vs\. Brazil";

Cool
« Last Edit: Jun 28th, 2009 at 10:54pm by JonB »  

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



Posts: 31
Re: CGI Error - HTTP Errors
Reply #40 - Jun 28th, 2009 at 9:29pm
Post Tools
don't which, if any of the above were for me.
yabb4 is the 2.4 folder and filebrowser shows you the files.

advanced_settings.pl vs 2.3.1 was used once and then removed, just to confirm something.

advanced_settings.pl vs 2.4 back where it belongs, as per installalation
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #41 - Jun 28th, 2009 at 10:09pm
Post Tools
@louwk -

I'm sorry, I was little unclear, TickToo is not posting at the moment so the questions/remarks were for you.

I just went in and downloaded the Settings.pl I file asked you to look at.

I saved it locally as Latest_Settings.pl

This is what I find when I open it in my code editor:

Code
Select All
<html><head><title>Error</title></head><body><head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers.</body></body></html> 



Strange, huh?

Shocked
  

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



Posts: 31
Re: CGI Error - HTTP Errors
Reply #42 - Jun 29th, 2009 at 8:43am
Post Tools
OK, here is what I'll do right now:
clean install vs 2.4

As I said earlier, I tried to run 'advanced_settings.pl' vs 2.3.1, just to see what would happen. Well, it ran fine, except when saving some settings, it tried to write to something which it could find; no surprise, as it was running in 2.4

I assume, therefore, that it might have written to something, which just clashes with whatever you are doing.

So, clean install, fileviewer stays, get what you need

Lou
  
Back to top
 
IP Logged
 
louwk
YaBB Newcomer
*
Offline



Posts: 31
Re: CGI Error - HTTP Errors
Reply #43 - Jun 29th, 2009 at 9:07am
Post Tools
fresh 2.4 installed (same problem)
fileviewer available as before

couple of things to consider:
1- .pl scripts in package have shebang '--' switch, some servers don't like it
2- I tried the '-W' switch, didn't like it

3- now have no switch

4- I only ever ran NT and 2003 and, provided the perl directory is on the root of C (C:\perl), shebang should be
'C:\perl\bin\perl.exe'  same as the environment path on CPU

NEVER 'C:/perl/bin/perl' unless the environment path has been manually changed!! both must be the same.

I only mention that to you when testing my pl files

Lou
  
Back to top
 
IP Logged
 
louwk
YaBB Newcomer
*
Offline



Posts: 31
Re: CGI Error - HTTP Errors
Reply #44 - Jun 29th, 2009 at 9:10am
Post Tools
OH, and one more thing:

Settings.pl will throw a cgi error as it does not contain a shebang, so wouldn't know what to do  Wink
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 5 
Topic Tools
 
  « Board Index ‹ Board  ^Top