( ! ) Warning: session_start(): open(/var/lib/php/session/sess_cmeqfsdnktnr2r79fo3nn16r64, O_RDWR) failed: No such file or directory (2) in /var/www/bitweaver/live/users/includes/bit_setup_inc.php on line 82
Call Stack
#TimeMemoryFunctionLocation
10.0001231488{main}( ).../index.php:0
20.0001233544require_once( '/var/www/bitweaver/live/kernel/includes/setup_inc.php' ).../index.php:16
30.02251907288BitSystem->scanPackages( ).../setup_inc.php:141
40.02432175568BitSystem->loadPackage( ).../BitSystem.php:1183
50.02432178600include_once( '/var/www/bitweaver/live/users/includes/bit_setup_inc.php' ).../BitSystem.php:1109
60.02472582848session_start ( ).../bit_setup_inc.php:82

( ! ) Warning: session_write_close(): open(/var/lib/php/session/sess_cmeqfsdnktnr2r79fo3nn16r64, O_RDWR) failed: No such file or directory (2) in /var/www/bitweaver/live/kernel/includes/classes/BitSystem.php on line 580
Call Stack
#TimeMemoryFunctionLocation
10.0001231488{main}( ).../index.php:0
20.03823436816include( '/var/www/bitweaver/live/liberty/includes/structure_display_inc.php' ).../index.php:22
30.05384888624include( '/var/www/bitweaver/live/wiki/includes/display_bitpage_inc.php' ).../structure_display_inc.php:19
40.06194942264BitSystem->display( ).../display_bitpage_inc.php:163
50.06214944096BitSystem->preDisplay( ).../BitSystem.php:505
60.06364958904session_write_close ( ).../BitSystem.php:580

( ! ) Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in /var/www/bitweaver/live/kernel/includes/classes/BitSystem.php on line 580
Call Stack
#TimeMemoryFunctionLocation
10.0001231488{main}( ).../index.php:0
20.03823436816include( '/var/www/bitweaver/live/liberty/includes/structure_display_inc.php' ).../index.php:22
30.05384888624include( '/var/www/bitweaver/live/wiki/includes/display_bitpage_inc.php' ).../structure_display_inc.php:19
40.06194942264BitSystem->display( ).../display_bitpage_inc.php:163
50.06214944096BitSystem->preDisplay( ).../BitSystem.php:505
60.06364958904session_write_close ( ).../BitSystem.php:580
KernelFlowchart - bitweaver

KernelFlowchart

Created by: system, Last modification: 25 Jun 2005 (23:44 UTC) by Stephan Borg
bitweaver Kernel Flowchat
Below is a documented flow chart of the working of bitweaver Kernel

A php entry file is a file called by the browser as a starting point - for example, index.php, is the default php entry file.
  1. Every php entry file first calls bit_setup_inc.php. This may change at a later stage, but for now we are just documenting what happens.
  2. bit_setup_inc.php defines the constants BIT_ROOT_PATH and BIT_ROOT_URL. These two constants are here as they are the basis for every other constant. Where possible, the defaults for these constants should be automatically defined through functions. Next is kernel/setup_inc.php.
  3. kernel/setup_inc.php is dependant on BIT_ROOT_PATH and BIT_ROOT_URL and defines other base constants like BIT_PKG_PATH, KERNEL_PKG_PATH, KERNEL_PKG_URL, etc. PHP tweaks and global variables are initialised.
  4. kernel/BitLib.php is called. BitLib is built from the following classes:
    -kernel/BitLib.php
    -kernel/BitSystem.php
    -kernel/BitSmarty.php
    -kernel/BitBase.php
    -kernel/BitDB.php

Now, I'll attack this backwards:
  • kernel/BitDB.php is dependant on KERNEL_PKG_PATH, DEBUG_PKG_PATH and adodb.in.php. BitDB requires $db_bit from local.php to initialise.
  • kernel/BitBase.php is dependant on KERNEL_PKG_PATH, BIT_THEME_PATH, BIT_STYLES_PATH, BIT_PKG_PATH
  • kernel/BitSmarty.php is dependant only on KERNEL_PKG_PATH
  • kernel/BitSystem.php is dependant only on KERNEL_PKG_PATH
  • kernel/BitLib.php is dependant only on KERNEL_PKG_PATH and BIT_PKG_PATH