Talk:Installation guide
From PeopleAggregator
some problems we have had in installing PA:
1/- our directory structure is different to yours. FIXED
We didn't have
- ./config
- ./files
I created and set the permissions, but then when I click on the link to config PA, I (unsurprisingly) get permission denied error.
2/- if clicking on the config is meant to work, then an index rule would be required: FIXED
DirectoryIndex index.php
using the above index directive solved the config problem above.
3/- the config said that the following required packages needed to be installed: FAILED
- pear::db
resolved with "pear install DB"
- zlib
zlib is already installed on the machine. Is this a php zlib thing? Yes, php install doesn't by default use zlib. Must be enabled like this:
./configure --with-zlib --enable-short-tags --with-mysql --with-apache=../apache_1.3.31/
this was then tested with a zlib php program and works. But the error still remains for PA.
checked a program that uses extension_loaded("zlib") which returned success. Tried a reinstall of php/apache. So I removed the check from the config program
4/- broken url detection: FIXED
trys to guess the url, but fails because it is behind a proxy server. Where can we set this manually? I force it at line 300:
$base_url_bare = 'pa.oncampusuk.co.uk';
5/- lots of image errors: FIXED
/usr/local/bin/convert /var/www/pa/web/Themes/Alpha/images/default.png -geometry 35x35 /var/www/pa/web/files/rsz/35x35/Themes/Alpha/images/default.png
requires install of png library and a probably reinstall of image magick. Should be detailed in the requirements doc.
installed libpng and reinstalled image magick
6/ * WARNING: Installation failed (Error updating database or installing default module settings: DB Error: unknown error; query=ALTER TABLE user_profile_data DROP KEY user_id, ADD KEY profile_fields (user_id, field_type, field_name)) - undoing operations
This error also happened on MySQL - 5.0.24a-standard on DreamHost hosting.
