[gollem] Passing credentials problem
Kent Martin
horde at kentsworld.com
Fri Oct 3 05:40:41 PDT 2003
Right,
I have found a really cool use for gollem for some clients of mine which will
save me a heap of work, alas, with yesterdays CVS cut, I am unable to get it
working.
Steps taken: Installed in registry.php and fixed up the relevant config files
(see attached).
Waited for it to break with a message about VFS.php missing.
Wandered over to pear.php.net and downloaded the pear VFS stuff - untarred it in
/usr/share/pear
Ensured I can ftp to the server in question with my horde credentials.
Now I get the following error when trying to access the gollem module:
Fatal error: Call to undefined function: getrequiredcredentials() in
/usr/apps/admin/webapps/horde/gollem/login.php on line 110
I am using the CVS cut from yesterday (2003-10-02 - horde cut from same date and
the only relevent things in my config files are as follows:
backend.php ---
$backends['hordeftp'] = array(
'name' => 'Beat',
'driver' => 'ftp',
'preferred' => '',
'hordeauth' => true,
'params' => array('hostspec' => 'ftp.somevalidftpserver',
'port' => 21),
'attributes' => array('type', 'name', 'download', 'modified', 'size',
'permission', 'owner', 'group')
);
credentials.php ---
$credentials['username'] = array(
'type' => 'text',
'desc' => _("Username")
);
$credentials['password'] = array(
'type' => 'password',
'desc' => _("Password")
);
$credentials['email'] = array(
'type' => 'email',
'desc' => _("Email")
);
Is this CVS cut broken or have I done some idiotic misconfiguration.
Many thanksis,
Kent.
P.S. For the sake of completeness, on a Linux box, this error occured initially
on a linux box with php 4.2.3/apache-1.3.27+ssl (with no ftp support in php :S
) and now same box, fresh compile of php 4.3.3/apache 1.3.28+ssl. Configure
flags for PHP were:
'./configure' '--prefix=/some/install/location'
'--with-apache=../apache_1.3.28/' '--with-mysql' '--with-openssl' '--with-zlib'
'--with-imap' '--with-imap-ssl' '--with-ldap' '--with-gettext'
'--with-kerberos' '--with-dom' '--enable-xml' '--with-ftp'
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the gollem
mailing list