[horde] Call to undefined function: getmethod ?!

Eric Rostetter eric.rostetter at physics.utexas.edu
Wed Feb 19 16:03:44 PST 2003


Quoting hatim <hbekkali at soamai.com>:

> i have this fatal error when i'm trying to log in
> http://localhost/horde/imp/login.php
> 
> Notice: Use of undefined constant SORTARRIVAL - assumed 'SORTARRIVAL' in
> /usr/local/logiciel/php/horde/imp/config/prefs.php on line 228
> Notice: Use of undefined constant SORTARRIVAL - assumed 'SORTARRIVAL' in
> /usr/local/logiciel/php/horde/imp/config/prefs.php on line 232

You don't have the php imap extension loaded.

> ## rpm -qa | grep php
> 
> php-devel-4.2.2-8.0.7
> php-manual-4.2.2-8.0.7
> php-snmp-4.2.2-8.0.7
> php-4.2.2-8.0.7
> php-imap-4.2.2-8.0.7
> php-ldap-4.2.2-8.0.7
> php-mysql-4.2.2-8.0.7
> php-pgsql-4.2.2-8.0.7
> php-odbc-4.2.2-8.0.7
> 
> i have
> ## ls  /usr/lib/php4/
> imap.so  ldap.so  mysql.so  odbc.so  pgsql.so  snmp.so

Good, so imap is installed, just not enabled.
 
> PHP Module Capabilities
> Ctype Support: Yes
> DOM XML Support: Yes
> FTP Support: Yes
> Gettext Support: Yes
> Iconv Support: Yes
> IMAP Support: No

See, not loaded/enabled.

Edit your /etc/php.ini file and add something like:

extension=imap.so

to it.  Should be a section for "Dynamic Extensions" where you would add
this line.  Add another for any other apps that aren't loaded.

> thank you a lot
> 
> Hatim

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the horde mailing list