RedHat 6.1 for x86
PHP 3.0.16 configured with:
--with-mysql --with-pgsql --with-apxs
Warning: GLOBAL variable declaration meaningless in main() scope in /home/thatware/public_html/admin.php3 on line 1378
Warning: Cannot add more header information - the header was already sent (header information may be added only before any output is generated from the script - check for text or whitespace outside PHP tags, or calls to functions that output text) in /home/thatware/public_html/admin.php3 on line 1395
Steps to reproduce:
Visit the admin.php3 page
Log in as root.
Choose "Edit Users"
Add a user (handle=test; firstname.lastname@example.org;password=test)
Click Add User
Note: It appears that the users get created correctly. However, I have ended up with duplicate users because I hit reload too many times. If I try to make a duplicate user an admin, then the mysql_num_rows test on line 1349 of admin.php3 returns a value > 1, which causes the block to fail, producing the error "username does not exist".
Please feel free to contact me if you need any further information.
Log in to post a comment.