I'm new to PHP and sql in general but have successfully created a basic mysql database via phpmyadmin and have managed to integrate Xataface thanks to these forums and the good tutorial pages.
I can view, insert, delete, etc. with Xataface and am now trying to perform a little more authentication and haven't been able to make it all the way through. I've been using two resources;
http://xataface.com/wiki/authentication#toc2 and http://xataface.com/documentation/tutorial/getting_started/permissions. Both are quite straightforward but I've been working primarily with the second link WRT tables, etc.
That said, I now see the login page but get that blank white page after I log in. I feel like I've followed the tutorials very closely but clearly I've dropped the ball somewhere.
conf.ini
- Code: Select all
[_database]
host = "localhost"
user = "userview"
password = "secret"
name = "quest_accounts"
[_auth]
users_table = Users
username_column = UserName
password_column = Password
;[password]
;encryption=md5
[_tables]
user_all = "user_all"
allocations = "allocations"
Permissions look good;
- Code: Select all
[root@bandit conf]# cd ..
[root@bandit quest_accounts]# ls -al *
-rwxr--r-- 1 apache apache 617 Jan 20 10:15 conf.ini
-rw-r--r-- 1 apache apache 733 Jan 19 16:30 index.php
conf:
total 12
drwxr-xr-x 2 apache apache 4096 Jan 20 10:16 .
drwxr-xr-x 4 apache apache 4096 Jan 20 10:15 ..
-rw-r--r-- 1 apache apache 1090 Jan 20 10:06 ApplicationDelegate.php
tables:
total 16
drwxr-xr-x 4 apache apache 4096 Jan 19 15:03 .
drwxr-xr-x 4 apache apache 4096 Jan 20 10:15 ..
drwxr-xr-x 2 apache apache 4096 Jan 19 15:03 allocations
drwxr-xr-x 2 apache apache 4096 Jan 19 15:03 user_all
...and conf/ApplicationDelegate.php is a direct cut and paste.
My suspicion is that I'm doing something wring in conf.ini but the white page tells me this is probably not entirely the case.
Can somebody help me up?
