[horde] Call to undefined function: getmethod ?!

Hatim hbekkali at soamai.com
Wed Feb 19 15:29:11 PST 2003


i added into /etc/php.ini 

extension=mysql.so
extension=imap.so
extension=ldap.so

and i have now only the Fatal error 

Fatal error: Call to undefined function: getmethod() 
in /usr/local/logiciel/php/horde/imp-3.1-intra/lib/base.php on line 75

and the result of horde/test.php is


PHP Module Capabilities
Ctype Support: Yes 
DOM XML Support: Yes 
FTP Support: Yes 
Gettext Support: Yes 
Iconv Support: Yes 
IMAP Support: Yes 
LDAP Support: Yes 
Mbstring Support: No 
MCAL Support: No 
Mcrypt Support: No 
MIME Magic Support: N/A 
MySQL Support: Yes 
OpenSSL Support: Yes 
PostgreSQL Support: No 
XML Support: Yes 
Miscellaneous PHP

thanks for the help ....

Surlignage hatim <hbekkali at soamai.com>:

> Hello All
> 
> Im trying to install horde-2003-02-18.tar.gz and imp-3.2-RC3.tar.gz or
> imp-3.1.tar.gz
> in my redhat 8.0  with apache and php 
> 
> 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
> Notice: Use of undefined constant SORTDATE - assumed 'SORTDATE' in
> /usr/local/logiciel/php/horde/imp/config/prefs.php on line 233
> Notice: Use of undefined constant SORTFROM - assumed 'SORTFROM' in
> /usr/local/logiciel/php/horde/imp/config/prefs.php on line 234
> Notice: Use of undefined constant SORTSUBJECT - assumed 'SORTSUBJECT' in
> /usr/local/logiciel/php/horde/imp/config/prefs.php on line 235
> Notice: Use of undefined constant SORTSIZE - assumed 'SORTSIZE' in
> /usr/local/logiciel/php/horde/imp/config/prefs.php on line 236
> 
> Fatal error: Call to undefined function: getmethod() in
> /usr/local/logiciel/php/horde/imp/lib/base.php on line 75
> 
> 
> Some additional infos about my system :
> 
> ## rpm -qa | grep httpd
> 
> httpd-manual-2.0.40-11
> httpd-devel-2.0.40-11
> redhat-config-httpd-1.0.1-13
> httpd-2.0.40-11
> 
> ## 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
> 
> 
> but when i use  http://localhost/horde/test.php
> 
> i have all ok : but just 
> 
> PHP Module Capabilities
> Ctype Support: Yes 
> DOM XML Support: Yes 
> FTP Support: Yes 
> Gettext Support: Yes 
> Iconv Support: Yes 
> IMAP Support: No 
> LDAP Support: No 
> Mbstring Support: No 
> MCAL Support: No 
> Mcrypt Support: No 
> MIME Magic Support: N/A 
> MySQL Support: Yes 
> OpenSSL Support: Yes 
> PostgreSQL Support: No 
> XML Support: Yes 
> 
> php was compiling with
> 
>  './configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
> '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
> '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
> '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
> '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
> '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
> '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
> '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
> '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3'
> '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
> '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
> '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext'
> '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
> '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system'
> '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU'
> '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes'
> '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
> '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid'
> '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear'
> '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos'
> '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared'
> '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack'
> '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath'
> '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx'
> '--enable-dio' '--enable-mcal' '--with-apxs2=/usr/sbin/apxs' 
> 
> thank you a lot 
> 
> Hatim
> 
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 





More information about the horde mailing list