The lines you were sending me to didn't have the code I expected to see based on the instructions you gave me. I thought I might be using the wrong version of the code, so I removed everything and started over to see if that would make a difference. The instructions I am following are here:
http://code.google.com/p/yubiphpbase/so ... readme.txtcd /var/www
svn checkout
http://yubico-php-lib.googlecode.com/svn/trunk/ yubico-php-lib
svn checkout
http://yubiphpbase.googlecode.com/svn/trunk/ yubiphpbase
svn checkout
http://yms.googlecode.com/svn/trunk/ kms
svn checkout
http://yubikey-val-server-php.googlecode.com/svn/trunk/ wsapi
So I had my four folders of code again. My database was already set up from the previous attempts, so I filled out /yubiphpbase/config.php as I did before, and when I went to run /yubiphpbase/install.php I get the following:
Code:
devact@lazarus:/var/www/yubiphpbase$ php install.php
Fatal error: Cannot redeclare unescape() (previously declared in /var/www/yubiphpbase/appinclude.php:92) in /var/www/wsapi/common.php on line 21
devact@lazarus:/var/www/yubiphpbase$
I had forgotten about this. When I was runniung the install.php last time I ran into this problem, so I went into /var/www/wsapi/common.php and commented out unescape(). Then I ran install.php again, and it came up with another function that was declared multiple times, so I commented out one of the duplicates again. I had to do this several times as many functions are defined multiple times. Eventually install.php ran successfully, the main page would load in my web browser, but I was unable to authenticate with my yubikey, at which point I started this thread.
Now I'm wondering if something got set up incorrectly last time when I finanlly got install.php to run, due to my commenting out the wrong instance of a particular function.
On a side note, in case it's relavant, I'm running Ubuntu server 8.04, and I've ensured the following packages are installed: mysql-server apache2 php5 php-pear
So, with all this in mind, am I maybe using the wrong code version? Should I not be pulling from google code? Am I possibly doing something else wrong?