Hi,
I am working on tutorial (very good to start on)
I have a little error on "permissions"
- i Have created ApplicationDelegate.php, users table and modified conf.ini
- in the file "ApplicationDelegate.php" i have added the code given by your web site.
But i have those messages after loading up the application
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xataface\mysitedataface\conf\ApplicationDelegate.php:2) in C:\xampp\htdocs\xataface\Dataface\AuthenticationTool.php on line 280
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xataface\mysitedataface\conf\ApplicationDelegate.php:2) in C:\xampp\htdocs\xataface\Dataface\AuthenticationTool.php on line 292
I made some tests and the messages disappear when i only have those lines in ApplicationDelegate.php
<class>getLoggedInUser();
echo "user : $user";
//if(!isset($user))return Dataface_PermissionsTool::NO_ACCESS();
}
}
?>
if i delete "//" in front of "f(!isset($user))" the problem appear again
i have searched on the forum but no people have got same issue
regards