( ! ) Warning: session_start(): open(/var/lib/php/session/sess_3i56lojd8vqonnpis8uqska155, 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.0000232176{main}( ).../page_history.php:0
20.0001234232require_once( '/var/www/bitweaver/live/kernel/includes/setup_inc.php' ).../page_history.php:16
30.02191908296BitSystem->scanPackages( ).../setup_inc.php:141
40.02372176576BitSystem->loadPackage( ).../BitSystem.php:1183
50.02382179608include_once( '/var/www/bitweaver/live/users/includes/bit_setup_inc.php' ).../BitSystem.php:1109
60.02412583856session_start ( ).../bit_setup_inc.php:82

( ! ) Warning: session_write_close(): open(/var/lib/php/session/sess_3i56lojd8vqonnpis8uqska155, 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.0000232176{main}( ).../page_history.php:0
20.05394927672BitSystem->display( ).../page_history.php:57
30.05414929664BitSystem->preDisplay( ).../BitSystem.php:505
40.05564944504session_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.0000232176{main}( ).../page_history.php:0
20.05394927672BitSystem->display( ).../page_history.php:57
30.05414929664BitSystem->preDisplay( ).../BitSystem.php:505
40.05564944504session_write_close ( ).../BitSystem.php:580
- bitweaver

Version 2

Anatomy of a Package

Created by: Daniel Sutcliffe, Last modification: 06 May 2009 (17:11 UTC) by Daniel Sutcliffe
The following files make up a bitweaver package. Your packages is free to do and act however it pleases. However, the following files are standardized and the core packages may look for these files in your packages.
Anatomy of a bitweaver Package
File Description
pkg/bit_setup_inc.php This is the only file required for a package. It registers information about the package during initial setup.
pkg/admin/schema_inc.php pkg/admin/bit_schema_inc.phpIf your package has any database information, the information is defined in this file. It will be scanned during install, and a few administration pages
pkg/admin/admin_pkg_inc.php pkg/admin/bit_admin_inc.php Administration page for the package, picked up by kernel/admin/index.php?page=pkg.
pkg/admin/upgrades/ This directory contains files named with the form version.php that describe package versions and any code needed to upgrade data and tables when that version upgrade occurs.
pkg/modules/ This directory contains the interfaces blocks that can be arranged in various layouts
pkg/templates/ This directory contains the Smarty templates for the package pages
pkg/templates/admin_pkg.tpl pkg/templates/bit_admin.tpl Administration template for the package, picked up by kernel/admin/index.php?page=pkg.
pkg/templates/menu_pkg_admin.tpl pkg/templates/bit_admin_menu.tpl template for the package administration menu.
pkg/templates/menu_pkg.tpl pkg/templates/menu.tpl template for the package menu. Usually specified in pkg/bit_setup_inc.php.


The filenames specified in grey are my thoughts are what the file names could be migrated to with the aim of improving consistency and ease of understanding. The ideas being; that there is no point in package name repetition/redundancy in the file names and it is already discouraged in the CodingGuidelines, and that introducing a prefix of 'bit_' to files that are loaded just because of their names and location in a package would help indicate them as such files.
Page History
Date/CommentUserIPVersion
06 May 2009 (19:07 UTC)
Daniel Sutcliffe71.161.102.63
Current • Source
Daniel Sutcliffe71.161.102.62
View • Compare • Difference • Source
spiderr66.194.217.2211
View • Compare • Difference • Source