( ! ) Warning: session_start(): open(/var/lib/php/session/sess_vbo9ef870o4ja54dqsm7hld551, 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.0000236040{main}( ).../index.php:0
20.0001238096require_once( '/var/www/bitweaver/live/kernel/includes/setup_inc.php' ).../index.php:16
30.01241912784BitSystem->scanPackages( ).../setup_inc.php:141
40.01412181064BitSystem->loadPackage( ).../BitSystem.php:1183
50.01422184096include_once( '/var/www/bitweaver/live/users/includes/bit_setup_inc.php' ).../BitSystem.php:1109
60.01452588344session_start ( ).../bit_setup_inc.php:82

( ! ) Warning: session_write_close(): open(/var/lib/php/session/sess_vbo9ef870o4ja54dqsm7hld551, 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.0000236040{main}( ).../index.php:0
20.04864879592include( '/var/www/bitweaver/live/wiki/includes/display_bitpage_inc.php' ).../index.php:50
30.05644932712BitSystem->display( ).../display_bitpage_inc.php:163
40.05654934968BitSystem->preDisplay( ).../BitSystem.php:505
50.05794949832session_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.0000236040{main}( ).../index.php:0
20.04864879592include( '/var/www/bitweaver/live/wiki/includes/display_bitpage_inc.php' ).../index.php:50
30.05644932712BitSystem->display( ).../display_bitpage_inc.php:163
40.05654934968BitSystem->preDisplay( ).../BitSystem.php:505
50.05794949832session_write_close ( ).../BitSystem.php:580
TUTORIAL - Displaying Icons ONLY to AUTHORS of the page - bitweaver

TUTORIAL - Displaying Icons ONLY to AUTHORS of the page

This tutorial shows how to check who is viewing the page, and if it is the author

Created by: fire, Last modification: 13 Mar 2005 (13:54 UTC)
Hi!

I wanted an: "Edit your profile picture" on users homepages to be displayed ONLY if it was the actual USER viewing his/her webpage -

I accomplished this with the following code in the TPL.
{CODE()}
{if $fHomepage == $gTikiUser->mInfo.user_id}
you are the owner!! So put img tags
{/if}
{CODE}

Spiderr.... how can I accomplish this in the PHP code instead of the tpl?