when i first installed the script, i had the same problems
as another user where "all pages stalled." I tried adding
the password into the database manually, but that didnt
work either. So i reinstalled the scripts and this time
when i loged in for the first time with admin and no
password i get these errors:
Warning: Supplied argument is not a valid MySQL result
resource
in /home/sniboco/public_html/sch/auth.inc.php3 on line
24
Warning: Cannot add header information - headers
already sent by (output started
at /home/sniboco/public_html/sch/auth.inc.php3:24)
in /home/sniboco/public_html/sch/auth.inc.php3 on line
6
Warning: Cannot add header information - headers
already sent by (output started
at /home/sniboco/public_html/sch/auth.inc.php3:24)
in /home/sniboco/public_html/sch/auth.inc.php3 on line
7
Warning: Cannot add header information - headers
already sent by (output started
at /home/sniboco/public_html/sch/auth.inc.php3:24)
in /home/sniboco/public_html/sch/auth.inc.php3 on line
8
Wrong username/password
i wish i knew what was wrong, because this seems like
a great app. Thanks.
Logged In: NO
Try this:
cd /var/www/html/phpSched
Make sure you have a valid .htaccess file, which can simply
look like this:
AuthUserFile /var/www/html/phpSched/.htpasswd
AuthGroupFile /dev/null
AuthName "Access to phpSched"
AuthType Basic
Then execute this:
htpasswd -c admin
When it asks you for a password, just hit enter twice. Now
you will have a .htpasswd file that has the user admin but a
blank password that matches the blank password in the
database. Login and change the admin password and it will
be set in both the .htpasswd and the database.
At least it worked for me, YMMV.
One thing I noticed is that after you login as admin, you can
add a new user and their password will be added to the
database, but not the .htpasswd file. Still it works and that
user can login, so it doesn't look as though you have to add
each user to both the db and the .htpasswd.
-=dwh=-
Logged In: NO
Try this:
cd /var/www/html/phpSched
Make sure you have a valid .htaccess file, which can simply
look like this:
AuthUserFile /var/www/html/phpSched/.htpasswd
AuthGroupFile /dev/null
AuthName "Access to phpSched"
AuthType Basic
Then execute this:
htpasswd -c admin
When it asks you for a password, just hit enter twice. Now
you will have a .htpasswd file that has the user admin but a
blank password that matches the blank password in the
database. Login and change the admin password and it will
be set in both the .htpasswd and the database.
At least it worked for me, YMMV.
One thing I noticed is that after you login as admin, you can
add a new user and their password will be added to the
database, but not the .htpasswd file. Still it works and that
user can login, so it doesn't look as though you have to add
each user to both the db and the .htpasswd.
-=dwh=-