Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: pmceache on November 23, 2007, 05:18:55 PM

Title: survey software on sme 7.2
Post by: pmceache on November 23, 2007, 05:18:55 PM
Has anyone installed PhpESP or any survey software on sme 7.2 successfully? I have found an old link http://www.tech-geeks.org/geeklog/article.php?story=20031009205056259 that goes through it on an older version.
Title: Re: survey software on sme 7.2
Post by: dmay on November 23, 2007, 10:13:49 PM
I've used AskPeople: http://www.askpeople.co.uk

Darrell
Title: Re: survey software on sme 7.2
Post by: fixit on November 25, 2007, 02:48:52 AM
Here are my notes on how to install phpESP



download phpESP-1.8.2.tar.gz

I use /tmp/downloads

cd /tmp/downloads

use wget or copy to your downloads dir

wget http://downloads.sourceforge.net/phpesp/phpESP-1.8.2.tar.gz?modtime=1148554135&big_mirror=0


tar xzvf phpESP-1.8.2.tar.gz

mv /tmp/downloads/phpESP /opt

chown -R www.www /opt/phpESP

chmod 750 /opt/phpESP

mkdir /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

pico 92phpESP

# phpESP

Alias /phpESP /opt/phpESP

<Directory /opt/phpESP>
    Options -Indexes
    AllowOverride all
    order deny,allow
    deny from all
    allow from all
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_admin_value open_basedir /opt/phpESP/:/tmp
    php_flag magic_quotes_gpc on
    php_flag track_vars on
</Directory>

Save by pressing Ctrl x, press y to save changes and press enter

expand-template /etc/httpd/conf/httpd.conf


/etc/rc.d/init.d/httpd-e-smith restart


cd /opt/phpESP/scripts/db



mysql -uroot mysql < mysql_create.sql

mysql -e "grant all privileges on phpesp.* to phpesp@localhost identified by 'phpesp'"

mysql -e "flush privileges"

mysql -uphpesp -pphpesp phpesp < mysql_populate.sql


http://your-server/phpESP/


The default user name is "root" and has a password of "esp".  You
should login and change this password immediately after you configure
phpESP.  This user name and password are for logging into phpESP, do
not confuse them with the database user name and password below.


Russell


Title: Re: survey software on sme 7.2
Post by: fixit on November 25, 2007, 10:19:01 AM
howto for AskPeople_2_2_2

cd /tmp/downloads


wget http://www.askpeople.co.uk/download/AskPeople_2_2_2.zip

unzip AskPeople_2_2_2.zip

mv /tmp/downloads/AskPeople_2_2_2 /opt/AskPeople


chown -R www.www /opt/AskPeople

chmod 750 /opt/AskPeople

chmod 755 /opt/AskPeople/install.php

mkdir /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

pico 93AskPeople

# AskPeople

Alias /surveys /opt/AskPeople

<Directory /opt/AskPeople>
    Options -Indexes
    AllowOverride all
    order deny,allow
    deny from all
    allow from all
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_admin_value open_basedir /opt/AskPeople/:/tmp
    php_flag magic_quotes_gpc on
    php_flag track_vars on
</Directory>

Save by pressing Ctrl x, press y to save changes and press enter

expand-template /etc/httpd/conf/httpd.conf


/etc/rc.d/init.d/httpd-e-smith restart


http://your_domain/surveys/install.php


Follow the setup instructions, choosing a name for your installation, and setting yourself up as the master user

At the end of the installation process, you will be taken to the login screen for your installation of the AskPeople

application, from where you can login using the master username you have just created.

Title: Re: survey software on sme 7.2
Post by: jonash on December 07, 2007, 07:32:40 AM
Hi,
maybe it's too late... but I used LimeSurvey once. It is a nice one..

http://www.limesurvey.org/index.php?lang=en (http://www.limesurvey.org/index.php?lang=en)

I guess I just created an Ibay, and installed it there following their installation guide...

Their results are nicely presented in graphs, made my the php package jpgraph

Jonas