Page Index Toggle Pages: 1 [2] 3 4 
There are no actions to perform.
Very Hot Topic (More than 25 Replies) Admin Control Panel is accessible, but ADVANCE SETTINGS is not (Read 12,840 times)
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,596
Location: UK:Scotland/livingston

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #15 - Dec 31st, 2012 at 10:20pm
There are no actions to perform.
ExhaultedRuler wrote on Dec 31st, 2012 at 9:26pm:
Aiyah!! áAfter installing Perl 5.16.1, the YABB 2.1 & 2.4 boards no longer worked!!

We're back to 5.10.1


YaBB 2.5.2 shud run with Perl 5.16.1 áWink

Edited:
as Dandello wrote on Dec 31st, 2012 at 10:17pm:
Yeah - there's code in the older versions of YaBB that are deprecated in Perl 5.16, ActiveState 5.12 works okay with the older YaBB versions.
« Last Edit: Dec 31st, 2012 at 10:22pm by xnoddyx »  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,765
Location: Earth

YaBB 2.6.1
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #16 - Dec 31st, 2012 at 10:56pm
There are no actions to perform.
xnoddyx wrote on Dec 31st, 2012 at 10:20pm:
YaBB 2.5.2 shud run with Perl 5.16.1   Wink


Ah, but I believe the current issue with Advanced Settings is with 2.5.2 and IIS.  Sad
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,596
Location: UK:Scotland/livingston

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #17 - Jan 1st, 2013 at 12:25am
There are no actions to perform.
Dandello wrote on Dec 31st, 2012 at 10:56pm:
xnoddyx wrote on Dec 31st, 2012 at 10:20pm:
YaBB 2.5.2 shud run with Perl 5.16.1 á Wink


Ah, but I believe the current issue with Advanced Settings is with 2.5.2 and IIS. áSad

i was going by the info here
ExhaultedRuler wrote on Dec 31st, 2012 at 9:26pm:
the YABB 2.1 & 2.4 boards no longer worked!!We're back to 5.10.1

and happy new year to you  Smiley
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
ExhaultedRuler
Full Member
***
Offline



Posts: 164
Location: Honolulu, HI

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #18 - Jan 1st, 2013 at 11:46am
There are no actions to perform.
Thanks so far...

The 2.1 board is heavily modded and migrating that to 2.4 or beyond will lose most of the whizbangery that's on it.

I'll probably upgrade to Perl 5.12.....and yes, 5.16 does work with 2.5.2...but the other boards are on the same server.

Anyway, the main issue is the advance settings. áI'm holding out for a solution if possible. áElse, I could install an earlier version. áThe features in 2.5.2 are nice...<crossing fingers>
« Last Edit: Jan 1st, 2013 at 11:47am by ExhaultedRuler »  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
IP Logged
 
ExhaultedRuler
Full Member
***
Offline



Posts: 164
Location: Honolulu, HI

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #19 - Jan 1st, 2013 at 11:46am
There are no actions to perform.
Oh...and Happy New Year to all of you!!
  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
IP Logged
 
xnoddyx
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline



Posts: 1,596
Location: UK:Scotland/livingston

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #20 - Jan 1st, 2013 at 2:34pm
There are no actions to perform.
Dandello wrote on Dec 31st, 2012 at 10:56pm:
xnoddyx wrote on Dec 31st, 2012 at 10:20pm:
YaBB 2.5.2 shud run with Perl 5.16.1 á Wink


Ah, but I believe the current issue with Advanced Settings is with 2.5.2 and IIS. áSad

ok i have had a look here and the dc posts ok with the Settings_Advanced.pl and IIS prob can this one be down to this http://www.yabbforum.com/community/YaBB.pl?num=1348259619/16#9
Quote:
In Subs there's some freespace checking to determine if low-space maintenance mode should be turned on
just a thort or even AdminSubList.pl or even NewSettings.pl at a long shot i may even see if i can get a copy of a IIS and see if i can do some testing i did have a copy of a ms Web server, FTP server and basic email server that was for small business but i dono what i did with the discsas that was ages ago so if i can i will test.
  

YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,765
Location: Earth

YaBB 2.6.1
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #21 - Jan 1st, 2013 at 4:33pm
There are no actions to perform.
As JonB mentioned, he and I are of differing opinions as to the proximate cause of the issue for ExaltedRuler - I suspect we're looking at an issue with the new - supposedly 'Win/IIS safe' - code in Settings_Advanced.pl that replaced the code we know caused problems for IIS and Windows users.

One of the complicating factors - Advanced Settings on this particular server is throwing javascript errors which I don't think we saw with the old bad code. The other possibility: if the server is IIS7, some server/OS function calls that YaBB uses may be gone and workarounds may be needed for more than just the one Gomez Addams gave us in http://www.yabbforum.com/community/YaBB.pl?num=1355324004
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
ExhaultedRuler
Full Member
***
Offline



Posts: 164
Location: Honolulu, HI

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #22 - Jan 1st, 2013 at 6:02pm
There are no actions to perform.
When I get back home later today (after an all nighter of partying), I'll go apply Gomez Adams tweak, and explore the following code:

Code (Perl)
Select All
if ($^O ne 'MSWin32') {
	# Free Disk Space Checking for Linux/Unix OS
	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/ /&nbsp;/g;
	$quota[1] =~ s/^ +//;
	$quota[1] =~ s/ /&nbsp;/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>';
	}
}
 

  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,765
Location: Earth

YaBB 2.6.1
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #23 - Jan 1st, 2013 at 8:17pm
There are no actions to perform.
My personal bet is that code. Although (as far as I know) the documentation says that no matter what version of Windows is running, it should identify itself as 'MSWin32', if it isn't identifying itself as that, then YaBB is going to call a function that doesn't exist in Windows. (And we already know that's a bad thing.)

You can also try replacing the
Code
Select All
if ($^O ne 'MSWin32') 


with
Code
Select All
if ($^O !~ /Win/) 



The second code simply looks for 'Win' anywhere in the OS identifier.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



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

YaBB 2.6.1
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #24 - Jan 1st, 2013 at 9:15pm
There are no actions to perform.
OK that was how I wanted to spend New Years Day (finishing a network upgrade)  Smiley

@ Dandello - What's the source of that MSWin32 info? Does not sound right to me.

@ ExhaultedRuler - I may have to upgrade the test server (perl version issue).

Big questions -

are you running ActiveStates or Strawberry Perl?

If its ActiveStates, are you running it as a Web Service Extension? Should I presume Perl CGI extension is 'allowed' and PerlISAPI and PerlISAPIex are prohibited?   

What version is now installed?

Freakin full server backups are a pain even on fast networks  Angry

Good Luck & Happy New Year
Cool

  

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



Posts: 2,765
Location: Earth

YaBB 2.6.1
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #25 - Jan 1st, 2013 at 10:01pm
There are no actions to perform.
My info came from a couple different sites on 'how to identify your OS for Perl' - I was looking to ID Win64 OS's for a different project as XP and Win7/64 handle random numbers differently.

But I agree - matching to 'MSWin32' sound's iffy and I did notice the other OS catchers in YaBB went with '=~ /Win/' instead - which is why I suggested changing that line to the '=~ /Win/' version.

Now, on my Win32 machine and on my Win7/64 machine, the MSWin32 match does appear to work BUT, I'm not running IIS and that may well throw a wrench into the works.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
ExhaultedRuler
Full Member
***
Offline



Posts: 164
Location: Honolulu, HI

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #26 - Jan 2nd, 2013 at 2:34am
There are no actions to perform.
SUCCESS!!! With this code

Code (Perl)
Select All
if ($^O !~ /Win/)  {
	# Free Disk Space Checking for Linux/Unix OS
	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/ /&nbsp;/g;
	$quota[1] =~ s/^ +//;
	$quota[1] =~ s/ /&nbsp;/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>';
	}
}
 

  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
IP Logged
 
ExhaultedRuler
Full Member
***
Offline



Posts: 164
Location: Honolulu, HI

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #27 - Jan 2nd, 2013 at 2:38am
There are no actions to perform.
JonB wrote on Jan 1st, 2013 at 9:15pm:
OK that was how I wanted to spend New Years Day (finishing a network upgrade) áSmiley

@ Dandello - What's the source of that MSWin32 info? Does not sound right to me.

@ ExhaultedRuler - I may have to upgrade the test server (perl version issue).

Big questions -

are you running ActiveStates or Strawberry Perl?

If its ActiveStates, are you running it as a Web Service Extension? Should I presume Perl CGI extension is 'allowed' and PerlISAPI and PerlISAPIex are prohibited? á á

What version is now installed?

Freakin full server backups are a pain even on fast networks áAngry

Good Luck & Happy New Year
Cool



Activestate 5.10
It is a Webserver extension with .pl allowed
  

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
IP Logged
 
ExhaultedRuler
Full Member
***
Offline



Posts: 164
Location: Honolulu, HI

None
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #28 - Jan 2nd, 2013 at 2:42am
There are no actions to perform.
Here's the advance settings screen! (Settings_Advanced.pl)
« Last Edit: Jan 2nd, 2013 at 2:47am by ExhaultedRuler »  

130101_YABB_screenshot.jpg ( 96 KB | 57 Downloads )
130101_YABB_screenshot.jpg

Irwin's Superman Adventures Message Boards - Everything you ever wanted to know about the Hawaiian Superman!
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,765
Location: Earth

YaBB 2.6.1
Re: Admin Control Panel is accessible, but ADVANCE SETTINGS is not
Reply #29 - Jan 2nd, 2013 at 4:06am
There are no actions to perform.
Hopefully the settings are saving.  Wink
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 
There are no actions to perform.