Loading...
 
Skip to main content

Architecture / Installation


phpCAS installation error

I've installed TikiWiki successfully, but I'm having trouble getting phpCAS to work. When I log in as admin the first time I go to the Admin Mods page and click on phpcas. I get the following error:

Image
Copy to clipboard
Warning: mkdir(mods/features/phpcas/source/CAS/PGTStorage): File exists in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 68 Warning: fopen(mods/features/phpcas/source/CAS/PGTStorage/pgt-db.php): failed to open stream: Not a directory in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 84 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 85 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 86 Warning: mkdir(mods/features/phpcas/source/CAS/PGTStorage): File exists in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 68 Warning: fopen(mods/features/phpcas/source/CAS/PGTStorage/pgt-file.php): failed to open stream: Not a directory in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 84 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 85 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 86 Warning: mkdir(mods/features/phpcas/source/CAS/PGTStorage): File exists in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 68 Warning: fopen(mods/features/phpcas/source/CAS/PGTStorage/pgt-main.php): failed to open stream: Not a directory in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 84 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 85 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 86


There are no files in my download called "pgt-db.php", and the "PGTStorage" directory it's trying to create is a binary file.

Any help you could give would be appreciated.

Thanks,

Jamison


Well, I tried what you said and copied the new source. However, now when I click the "Install" link I get the following error:

Image
Copy to clipboard
Warning: copy(lib/phpcas/source/CAS/PGTStorage): failed to open stream: Is a directory in /usr/local/www/docs_intranet/wiki/lib/mods/modslib.php on line 375 features/phpcas/source/CAS/PGTStorage to lib/phpcas/source/CAS/PGTStorage impossible to copy

I'm still having this same issue. Can someone provide additional assistance? We'd like to experiment with TikiWiki in our enterprise, but we need to have a plug-n-play CAS solution.

Thanks,

Jamison Stepan