Welcome, Guest. Please Login or Register.
August 29, 2025, 06:41:55 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  changing setting values to null creates crash « previous next »
Pages: [1] Reply Ignore Print
Author Topic: changing setting values to null creates crash  (Read 445 times)
groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
changing setting values to null creates crash
« on: April 05, 2002, 09:02:18 AM »
Reply with quote

If you change some variables to null in the admin CP - settings, it will cause for many errors:

$TopAmmount - creates parse errors among other things
$MembersPerPage - creates a timeout for memberlist.php
$maxdisplay - 2: Division by zero: MessageIndex.php ln 61
$maxmessagedisplay - 2: Division by zero: MessageIndex.php ln 228
$ClickLogTime - creates parse errors and many warnings
$max_log_days_old - "                           "
$fadertime - "                              "
$timeout - "          "

those are the ones that I have tried for now.  I have not tried placing 0's in.
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:changing setting values to null creates crash
« Reply #1 on: April 05, 2002, 01:23:23 PM »
Reply with quote

Ok it MIGHT be called a bug but why are you setting them to null?  They hve default values and when changed through the admin panel they are given proper values not null...
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:changing setting values to null creates crash
« Reply #2 on: April 05, 2002, 03:31:49 PM »
Reply with quote

I went to the admin panel and changed "Number of Top Posters for Members List" to be empty and it wrote the Settings.php file with no value for that variable.  Then it crashed the board.
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:changing setting values to null creates crash
« Reply #3 on: April 05, 2002, 04:26:00 PM »
Reply with quote

Why would you change it to empty?
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:changing setting values to null creates crash
« Reply #4 on: April 05, 2002, 04:28:39 PM »
Reply with quote

Quote from: Jeff Lewis on April 05, 2002, 04:26:00 PMWhy would you change it to empty?
The point isn't to ask why I would do such a thing but rather this is something that needs to be fixed.  The software should be smarter than a dumb user.  In our application, BoardNation, we may have really dumb users who do something like this.
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:changing setting values to null creates crash
« Reply #5 on: April 05, 2002, 06:49:23 PM »
Reply with quote

No, my point is to ask why.  I acknowledge the issue but why did you guys do that in the first place?
Logged

David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:changing setting values to null creates crash
« Reply #6 on: April 05, 2002, 08:50:06 PM »
Reply with quote

I did it because I saw this thread an decided to see what it did.  I can't speak for Josh though.
Logged

seth4chaos
Noobie
*
Posts: 22


YaBB SE Rulez!!!

Re:changing setting values to null creates crash
« Reply #7 on: April 05, 2002, 08:57:10 PM »
Reply with quote

I agree with Jeff. There are a lot of other stuff that has to be fix of whatever and it's not something a user can do so keep your admins informed and let Jeff and the other fix some real problems
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:changing setting values to null creates crash
« Reply #8 on: April 05, 2002, 09:46:17 PM »
Reply with quote

See, that is exactly my thinking.  I mean, you're right that it shouldn't do that but what NORMAL admin inputs blank values? :)
Logged

groundup
Disciple of Joe, Head Cleric
Mod Team
YaBB God
*****
Posts: 2983


Error 309: Please notify the administrator of this

WWW
Re:changing setting values to null creates crash
« Reply #9 on: April 06, 2002, 12:42:12 AM »
Reply with quote

i did it to test what some dumbass users will do on Boardnation.  I think that i will come up with a JS fix though
Logged

http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
http://www.fastfinancialfreedom.org - financial freedom is a myth
fastfinancialfreedom.org
Champ
Noobie
*
Posts: 14


Homer rules!

Re:changing setting values to null creates crash
« Reply #10 on: April 22, 2002, 08:15:37 AM »
Reply with quote

Jeff, if you want a serious answer, I changed the time offset by leaving this field blank because I assumed it would be the same like 0. Fortunately for me the old settings.php was still on the server renamed to settings_bak.php. People should look for it, if its still there, they can fix it by deleting the settings.php and rename the settings_bak.php to settings.php and of course don't make the same mistake again ;)
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:changing setting values to null creates crash
« Reply #11 on: April 22, 2002, 02:59:12 PM »
Reply with quote

Hehe thanks - serious answers I like :)  Naturally it will be fixed.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  changing setting values to null creates crash « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.032 seconds with 17 queries.