LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Horde-IMP : missing Options links. Preferences not saved (https://www.linuxquestions.org/questions/linux-networking-3/horde-imp-missing-options-links-preferences-not-saved-322351/)

hamish 05-11-2005 08:26 AM

Horde-IMP : missing Options links. Preferences not saved
 
Hello

I might be being really dumb, but my install (using emerge (Gentoo)) of Horde does not have an "Options" link at the top of the page. I assume that I need to enable users to change their preferences, however, I cannot find how to do this. No doubt something in the config file.

Could someone please point me in the right direction.

Also, I can go to http://domain.com/horde/imp/prefs.php and the Options page is there. I can add edit the default entry. However, when I submit the changes, it says they are submitted, but in fact they don't ever change. I suspect these two problems are related and that once I allow preferences to be edited, the menu link will be there.

Could someone lpease help.

thanks
hamish

hamish 05-11-2005 03:27 PM

SOLVED. I found what I was looking for. Here's some details in case someone else needs this:

Code:


to get horde preferences working:

# vim /usr/www/horde/config/horde.php

        and, in the Preference System Settings section, set this line (it will originally be written as = 'none':
                $conf['prefs']['driver'] = 'sql';

        Just underneath, uncomment the example of the sql database and set it as follows:

        $conf['prefs']['params']['phptype'] = 'mysql';
        $conf['prefs']['params']['hostspec'] = 'localhost';
        $conf['prefs']['params']['username'] = 'horder';
        $conf['prefs']['params']['password'] = 'password';
        $conf['prefs']['params']['database'] = 'horde_imp';
        $conf['prefs']['params']['table'] = 'horde_prefs';

# vim /usr/www/horde/scripts/db/prefs.sql

        add the following lines at the top:

                DROP DATABASE IF EXISTS horde_imp;
                create database horde_imp;
                use horde_imp;

        and change the last line to add the password for the user:

                grant select, insert, update, delete on horde_prefs to horde identified by 'password';

update the database:
#  mysql -u root -p < /usr/www/horde/scripts/db/prefs.sql


You should now have the Options link and be allowed to change the identies.

hamish


All times are GMT -5. The time now is 01:07 PM.