nferris
Forum Replies Created
-
Forum: Plugins
In reply to: WordPress CAS Authenticationmisterbisson: thanks for the plugin! I was halfway to creating my own version when you pointed us to yours.
I installed it in WordPress MU 2.6.1, in the mu-plugins folder and it mostly worked. I had to make two tweaks to wpcas.php in order to get everything I wanted out of it:
diff orginal_wpcas.php my_wpcas.php
40c40
< include( dirname(__FILE__).’wpcas-conf.php’ ); // attempt to fetch the optional config file
—
> include( dirname(__FILE__).’/wpcas-conf.php’ ); // attempt to fetch the optional config file
104c104,105
< wp_redirect(‘/wp-admin/’);
—
> $redirect_url = site_url(‘wp-admin’);
> wp_redirect($redirect_url);Nathan
Forum: Plugins
In reply to: WordPress CAS AuthenticationUpdate: I just installed the xmlrpc module and apache is no longer complaining about not being able to find the DOMDocument class. I am, however, getting the “Incorrect Password” error message now.
Forum: Plugins
In reply to: WordPress CAS AuthenticationI’m also having this problem.
I am running:
CentOS 5.2 with linux kernel 2.6.22
wordpress 2.6.1
phpCAS 1.0.0I tracked it down to an error in my apache log:
[Thu Aug 28 16:48:54 2008] [error] [client 127.0.0.1] PHP Fatal error: Class ‘DOMDocument’ not found in /usr/share/pear/CAS/CAS/domxml-php4-php5.php on line 60I have the php-xml module, so it seems like the code should be able to find DOMDocument.
The files in my php extensions/modules folder are:
dbase.so
dom.so
mysqli.so
mysql.so
pdo_mysql.so
pdo.so
pdo_sqlite.so
phpcups.so
xmlreader.so
xmlwriter.so
xsl.soanyone notice anything about my setup that would cause this?
thanks,
Nathan