Commit [442ca5]  Maximize  Restore  History

added error-check preventing access on an uninitialized object regarding user-related tables

- added new error-code 'user_init_error' on all pages preventing access on an uninitialized object
of ConfigPages/ConfigTableColumns, which expects consistent user-data in the database
Players-entry <-> ConfigPages-entry

- used default ConfigBoard on pages, if user-data in db is inconsistent (normal is Players-entry <-> ConfigBoard-entry).
But only use default if particular page does not allow to change the state of ConfigBoard.

- added check for uninitialized objects like loading forum, user, game, tournament, tournament-round

- cleanup: used (int)-cast instead of '+0' for URL-arg safety-checks

- cleanup: minor layout changes

Jens-Uwe Gaspar Jens-Uwe Gaspar 2013-06-24

1 2 > >> (Page 1 of 2)
changed edit_folders.php
changed edit_profile.php
changed edit_shape.php
changed features/list_features.php
changed forum/index.php
changed forum/list.php
changed forum/post.php
changed forum/read.php
changed game.php
changed game_comments.php
changed game_editor.php
changed goban_editor.php
changed include/classlib_userconfig.php
changed include/error_codes.php
changed include/quick/quick_folder.php
changed list_bulletins.php
changed list_contacts.php
changed message.php
changed message_thread.php
changed old_goban_editor.php
changed opponents.php
changed scripts/ChangeLog
changed scripts/README.developers
changed show_games.php
changed status.php
edit_folders.php Diff Switch to side-by-side view
Loading...
edit_profile.php Diff Switch to side-by-side view
Loading...
edit_shape.php Diff Switch to side-by-side view
Loading...
features/list_features.php Diff Switch to side-by-side view
Loading...
forum/index.php Diff Switch to side-by-side view
Loading...
forum/list.php Diff Switch to side-by-side view
Loading...
forum/post.php Diff Switch to side-by-side view
Loading...
forum/read.php Diff Switch to side-by-side view
Loading...
game.php Diff Switch to side-by-side view
Loading...
game_comments.php Diff Switch to side-by-side view
Loading...
game_editor.php Diff Switch to side-by-side view
Loading...
goban_editor.php Diff Switch to side-by-side view
Loading...
include/classlib_userconfig.php Diff Switch to side-by-side view
Loading...
include/error_codes.php Diff Switch to side-by-side view
Loading...
include/quick/quick_folder.php Diff Switch to side-by-side view
Loading...
list_bulletins.php Diff Switch to side-by-side view
Loading...
list_contacts.php Diff Switch to side-by-side view
Loading...
message.php Diff Switch to side-by-side view
Loading...
message_thread.php Diff Switch to side-by-side view
Loading...
old_goban_editor.php Diff Switch to side-by-side view
Loading...
opponents.php Diff Switch to side-by-side view
Loading...
scripts/ChangeLog Diff Switch to side-by-side view
Loading...
scripts/README.developers Diff Switch to side-by-side view
Loading...
show_games.php Diff Switch to side-by-side view
Loading...
status.php Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)