Page Index Toggle Pages: 1 ... 3 4 [5] 
Topic Tools
Very Hot Topic (More than 25 Replies) CGI Error - HTTP Errors (Read 34,093 times)
TickToo
YaBB Newcomer
*
Offline



Posts: 10
Re: CGI Error - HTTP Errors
Reply #60 - Jun 30th, 2009 at 7:26pm
Post Tools
Well,

I started very methodically commenting out lines.

I got the screen that louwk spoke of with the advanced page but no settings.

Other times I got the CGI error back.

My feel is that there is a small syntax error in one of the variable assignment lines.

In the end, I commented out the whole routine and things seem to be running perfectly now.

Happy (enough) Camper!   Cheesy

Thanks so much for the time spent, JonB and Louwk.

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



Posts: 4,038
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #61 - Jun 30th, 2009 at 8:07pm
Post Tools
Good

That's exactly what I think - one of the evaluations leads to an unexpected result, and I am totally puzzled why It doesn't blow up on my W2K3/IIS6 server that is running the same Perl you are...

OH WELL - surprise, surprise another computer mystery.  Grin

Good luck & glad its working.

Smiley

  

I find your lack of faith disturbing.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,038
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #62 - Jul 1st, 2009 at 2:24am
Post Tools
@ louwk

I took a look as you suggested, and your Advanced Options now looks just like mine.  Good work. 

What I always do when I get a new application 'running right' is back it up, so I recommend you use the YaBB Backup in Admin Center, and then get things rolling.

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 #63 - Jul 1st, 2009 at 9:08am
Post Tools
"what is the angry face thing?  Angry "

well, I was testing my board to see if it did everything after changing the code and created a couple of "users" and was writing messages and posting and so forth, all while trying to change the name of the board, which it didn't want to save.

So, with 4 browser windows open, I sent a meaage to one ot the "users", a message which ended up here.

Shows how easy it is to send the wrong cheque to the wrong company  Grin

ended up saving the name.
  
Back to top
 
IP Logged
 
louwk
YaBB Newcomer
*
Offline



Posts: 31
Re: CGI Error - HTTP Errors
Reply #64 - Jul 1st, 2009 at 9:24am
Post Tools
Now re this problem.
ONE
there is a syntax error, which when removed, stops the CGI error without rectifying anything
TWO
the disk check code is the problem, but why?
THREE
Windows 2003 does all sorts of things in the background, so do I, eg:
virus check
disk defrag
indexing
etc...
However, none of this should matter, as the disk check options should all be off by default, as the developer wouldn't have a clue what file system users have and so on and so forth.
... and, looking at the initial settings.pl file, I dare say it is off by default.

This leaves a code error. Unfortunately, 'advanced_settings.pl' doesn't tell me much and I don't know what other files work in tandem with the code we removed, as it wouldn't do much by itself. Does it call IO functions? maybe. Does it call IO perl modules which may not be installed on some setups? maybe.

I know it works on your 2000 box, but did you use the same archive we use?

Anyway, guess also that your developers will be looking at that?!
  
Back to top
 
IP Logged
 
louwk
YaBB Newcomer
*
Offline



Posts: 31
Re: CGI Error - HTTP Errors
Reply #65 - Jul 1st, 2009 at 9:26am
Post Tools
TWO more questions:

Do you still want to look at my setup or can I remove the fileviewer etc...?

and

where do I enable the PM button????

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



Posts: 4,038
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #66 - Jul 1st, 2009 at 10:32am
Post Tools
A.

Yes, I did use the exact same code.  There is only one version in the Download package.  (any newer code is in a SVN system and considered beta until released). My server is a Server 2003 running IIS6 like yours.
Edited:
That's what detailed version check does


B.

I don't know - that's out of my territory. 

C.

Although I am NOT a developer here, that appears to be completely self contained code.  So I don't suspect other 'issues' are attendant on it.

D.

I think you can remove the fileviewer.

E.

Admin Center > Forum Settings > Private Messages.

Smiley
« Last Edit: Jul 1st, 2009 at 10:33am 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 #67 - Jul 1st, 2009 at 11:09am
Post Tools
OK, thanks for all that and for the time.
Lou
  
Back to top
 
IP Logged
 
ramjet
YaBB Newcomer
*
Offline



Posts: 25
Location: UK
Re: CGI Error - HTTP Errors
Reply #68 - Mar 24th, 2010 at 4:53pm
Post Tools
I've just had the very same problem as this.
I copied my Forum over to a new web host today and got the same error. Thankfully after all the hard work that was done here the fix was easy   Wink

Cheers, Roger Whitcomb - www.milairpix.com
  
Back to top
WWW  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,038
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: CGI Error - HTTP Errors
Reply #69 - Mar 24th, 2010 at 7:40pm
Post Tools
Grrrrrreat (as Tony the Tiger would say)

Smiley
  

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



Posts: 16
Location: Indianapolis, IN
Re: CGI Error - HTTP Errors
Reply #70 - Jul 28th, 2010 at 1:17pm
Post Tools
I just want to summarize this fix for future Windows users who discovered this problem.

Settings_Advanced.pl in the Admin folder is the file that needs to be edited.

Quote:
# Free Disk Space Checking
my @disk_space = qx{df -k .};
map { $_ =~ s/ +/  /g } @disk_space;

my @find = qx(find . -noleaf -type f -printf "%s-");

$hostusername = $hostusername || (split(/ +/, qx{ls -l YaBB.$yyext}))[2];
my @quota = qx{quota -u $hostusername -v};
$quota[0] =~ s/^ +//;
$quota[0] =~ s/ / /g;
$quota[1] =~ s/^ +//;
$quota[1] =~ s/ / /g;
my $quota_select = qq~$quota[0]<br />$quota[1]~;
if ($quota[2]) {
     my $ds = (split(/ +/, $disk_space[1], 2))[0] if !$enable_quota;
     $quota_select .= qq~<br /><select name="enable_quota_value">~;
     for (my $i = 2; $i < @quota; $i++) {
           $quota[$i] =~ s/^ +//;
           $quota[$i] =~ s/ +/&nbsp;&nbsp;/g;
           $quota_select .= qq~<option value="$i" ~ . ${isselected($i == $enable_quota || ($ds && $quota[$i] =~ /^$ds/))} . qq~>$quota[$i]</option>~;
     }

     $quota_select .= '</select>';
}



From the code JonB posted. Simply delete everything in red. Save. Refresh IIS.  Now the Advance Settings are working on my Yabb 2.5 Anniversary forum!

Grin
  

http://www.acewar.com/forums

Built on:
Windows Server 2008 Standard
AMD Athlon 64 3500+
2GB DDR1
IIS 7.0
ActivePerl 5.10.7
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 
Topic Tools