Good morning,
For those of you who do not know, AWOL is a nice simple php script that can build a company phone list and an in-out system. It's a great way to keep track of people in an office where they frequently travel.
The problem is SME 7.x does not provide the same PHP environment that 6.x did. Namely register_globals = Off. Global variables are set to 'Off' for input data (POST, GET, cookies, ; environment and other server variables). Instead of using $foo, you must use ; you can use $_REQUEST["foo"] (includes any variable that arrives through the ; request, namely, POST, GET and cookie variables), or use one of the specific ; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending ; on where the input originates.
So switch register_globals to On.
Also... I have reworked three files that you will need to replace:
- login.php
- includes/awol-common.inc.php
- includes/awol-session_check.inc.php
I think Darrell May wrote the original rpm for this, sadly, I don't have the time at the moment to rewrite this rpm with the changed code.... also I'm not really sure anyone uses this. Anyone who needs help, let me know and I'll send you the code changes. If there are enough people, I'll try to find the time to rebuild the rpm.