Hi, I can't log in either.
I have the line (as suggested earlier) in my
schema.mysql.sql:
INSERT INTO users (userid, userpassword, status,
lastaccess)
VALUES ('webo-adm', MD5('webo-adm'), 'enabled', NULL);
Doesn't work. I get the vollowing error-message from
apache:
---
[client MYIPADDRESS] PHP Warning: Call-time
pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it by reference, modify
the declaration of db_loadhash(). If you would like to
enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file.
However, future versions may not support this any longer.
in /var/www/html/webo/lib/webo/User.php on line 110,
referer: http://MYHOST/webo/signin.php
---
The CAPITALIZED part have been replaced on purpose :)
Logged In: YES
user_id=1070311
FYI: I tried to login on LOCALHOST, using lynx
(http://localhost/webo/)
It generates a slightly different error message:
[client 127.0.0.1] PHP Warning: Call-time pass-by-reference
has been deprecated - argument passed by value; If you
would like to pass it by reference, modify the declaration
of db_loadhash(). If you would like to enable call-time
pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file.
However, future versions may not support this any longer.
in /var/www/html/webo/lib/webo/Todo.php on line 33, referer:
http://localhost/webo/signin.php
Logged In: YES
user_id=161436
The problem is that WEBO assumes register_globals = On. All
the current versions of PHP that I am aware of now default to
register_globals = Off (which is a good idea).
You have a couple of choices to solve this.
1. Change the WEBO code to not require register_globals be
On, That is what I plan to do if I decide to continue using
WEBO. No really a trivial thing to do, but not too hard either.
2. Add register_globals = On to an .htaccess file within the
webo directory structure. That is what I have currently in
place. That allows my other apps that do not require it to
function correctly. You just need to create a .htaccess file
with this line in it.
php_value register_globals Off
3. Change the register_globals value in your php.ini file. On
most Linux distributions this is at /etc/php.ini
There are a few other ways to do it such as importing all the
globals for $_POST and $_GET, but if you are going to do that
you might as well just fix WEBO.