|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 08:31:27 |
i'm getting the exact same problem--
--------original message--------
Laurent Lebreton laurent.lebreton at accelance.fr
Wed Apr 26 09:05:28 CEST 2006
Hi,
Just to be sure, did you execute the install-package.php
script ? (I had
the same error yesterday because I had forgotten this
script).
Laurent
Blessing Chisvo wrote:
> Hi,
>
> I installed horde from cvs using the instructions on
> http://www.kolab.
org/webclient.html and I am getting this error message
when
> I try to connect to horde.
>
> Fatal error: Call to undefined function: get() in
> /kolab/var/kolab/www/horde/config/prefs.php on line 111
>
> I have insalled Kolab 2.0.3 on Fedora Core 4.
--------end original message--------
i've done the 'install-package.php' script three times,
i've restarted
apache, i've restarted EVERYTHING (/kolab/bin/openpkg rc
all restart),
i've disabled various horde modules...
our install is on debian/testing (using the
"debian" 3.1 RPM packages
for kolab -- nice job, there! -- and CVS for horde, per
http://kolab.org/webc
lient.html)
[Mon May 22 02:52:10 2006] [error] PHP Notice: Undefined
index:
charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
line 108
[Mon May 22 02:52:10 2006] [error] PHP Fatal error: Call to
undefined
function: get() in
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
111
[Mon May 22 03:08:12 2006] [error] PHP Notice: Undefined
index:
charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
line 108
[Mon May 22 03:08:12 2006] [error] PHP Fatal error: Call to
undefined
function: get() in
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
111
what's missing here?
--
will trillich
"Their is five errers in this sentance."
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 09:01:25 |
On 5/22/06, will trillich <will serensoft.com> wrote:
> i'm getting the exact same problem--
> --------original message--------
> Blessing Chisvo wrote:
> > I installed horde from cvs using the instructions
on
> > http://www.kolab.
org/webclient.html and I am getting this error message
when
> > I try to connect to horde.
> >
> > Fatal error: Call to undefined function: get() in
> > /kolab/var/kolab/www/horde/config/prefs.php on
line 111
> --------end original message--------
> our install is on debian/testing (using the
"debian" 3.1 RPM packages
> for kolab -- nice job, there! -- and CVS for horde, per
> http://kolab.org/webc
lient.html)
> [Mon May 22 03:08:12 2006] [error] PHP Notice:
Undefined index:
> charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
> line 108
> [Mon May 22 03:08:12 2006] [error] PHP Fatal error:
Call to undefined
> function: get() in
>
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
> 111
i suppose i could include a bit more meat on what we've
done to get here:
when the howto for horde (http://kolab.org/webc
lient.html) said
and for PostgreSQL you'll need:
--with=mod_php_pgsql # for your apache rpm
--with=pgsql # for your php rpm
we took that to mean that we should add those options at the
appropriate places inside obmtool.conf, thus:
install $apache-1.3.33-2.4.5_kolab \
--with=mod_php_pgsql \
--with=mod_auth_ldap \
--with=mod_dav \
--with=mod_php \
--with=mod_php_zlib \
--with=mod_php_gdbm \
--with=mod_php_gettext \
--with=mod_php_imap \
--with=mod_php_openldap \
--with=mod_php_xml \
--with=mod_php_dom \
--with=mod_ssl \
--with=mod_php_mbstring
install $php-4.3.11-2.4.2_kolab \
--with=pgsql \
--with=zlib \
--with=gdbm \
--with=gettext \
--with=imap \
--with=openldap \
--with=pear \
--with=xml \
--with=dom \
--with=ssl \
--with=mbstring
(note "pgsql" additions, as first --with arg for
both commands). we
then issued ./obmtool kolab again, to reset and rebuld
everything from
scratch. is there a better approach?
http://localhost/horde/
comes up completely blank (telnet localhost 80
shows zero-size response after headers) and the logs reflect
the error
on $GLOBALS['registry']->get().
========
http://localhost/hord
e/test.php works like a charm, tho:
Horde Version
* Horde: 3.2-cvs
Horde Applications
* Horde: 3.2-cvs
* Imp: H3 (4.2-cvs) (run Imp tests)
* Ingo: H3 (1.2-cvs) (run Ingo tests)
* Kronolith: H3 (2.2-cvs)
* Mnemo: H3 (2.2-cvs)
* Nag: H3 (2.2-cvs)
* Passwd: H3 (3.1-cvs) (run Passwd tests)
* Turba: H3 (2.2-cvs) (run Turba tests)
</snip>
========
the IMP tests show:
IMP Version
* IMP: H3 (4.2-cvs)
Other Horde Applications
* gollem: No
Gollem provides access to local VFS filesystems to
attach files.
* ingo: Yes (Version: H3 (1.2-cvs))
* nag: Yes (Version: H3 (2.2-cvs))
* turba: Yes (Version: H3 (2.2-cvs))
</snip>
========
INGO shows:
Ingo Version
* Ingo: H3 (1.2-cvs)
Other Horde Applications
* imp: Yes (Version: H3 (4.2-cvs))
</snip>
========
and TURBA shows:
Turba Version
* Turba: H3 (2.2-cvs)
PHP Version
* View phpinfo() screen
* View loaded extensions
* PHP Version: 4.3.11
* PHP Major Version: 4.3
* PHP Minor Version: 11
* PHP Version Classification: release
* You are running a supported version of PHP.
PHP Module Capabilities
* MySQL Support: No
* PostgreSQL Support: No
* Microsoft SQL Support: No
* Oracle Support: No
* Unified ODBC Support: No
* LDAP Support: Yes
</snip>
these may not be related to the 'get()' problem but -- why
no
postgresql support, after the --with updates above? and why
the gripe
about gollem?
--
will trillich
"Their is five errers in this sentance."
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 09:10:19 |
i'm getting the exact same problem--
> --------original message--------
> Blessing Chisvo wrote:
> > I installed horde from cvs using the instructions
on
> > http://www.kolab.
org/webclient.html and I am getting this error message
when
> > I try to connect to horde.
> >
> > Fatal error: Call to undefined function: get() in
> > /kolab/var/kolab/www/horde/config/prefs.php on
line 111
> --------end original message--------
our install is on debian/testing (using the
"debian" 3.1 RPM packages
for kolab -- nice job, there! -- and CVS for horde, per
http://kolab.org/webc
lient.html)
> [Mon May 22 03:08:12 2006] [error] PHP Notice:
Undefined index:
> charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
> line 108
> [Mon May 22 03:08:12 2006] [error] PHP Fatal error:
Call to undefined
> function: get() in
>
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
> 111
i suppose i could include a bit more meat on what we've
done to get here:
when the howto for horde (http://kolab.org/webc
lient.html) said
and for PostgreSQL you'll need:
--with=mod_php_pgsql # for your apache rpm
--with=pgsql # for your php rpm
we took that to mean that we should add those options at the
appropriate places inside obmtool.conf, thus:
install $apache-1.3.33-2.4.5_kolab \
--with=mod_php_pgsql \
--with=mod_auth_ldap \
--with=mod_dav \
--with=mod_php \
--with=mod_php_zlib \
--with=mod_php_gdbm \
--with=mod_php_gettext \
--with=mod_php_imap \
--with=mod_php_openldap \
--with=mod_php_xml \
--with=mod_php_dom \
--with=mod_ssl \
--with=mod_php_mbstring
install $php-4.3.11-2.4.2_kolab \
--with=pgsql \
--with=zlib \
--with=gdbm \
--with=gettext \
--with=imap \
--with=openldap \
--with=pear \
--with=xml \
--with=dom \
--with=ssl \
--with=mbstring
(note the two "pgsql" additions, as first arg
for both commands). we
then issued ./obmtool kolab again, to reset and rebuld
everything from
scratch. is this a wrong approach?
http://localhost/horde/
comes up completely blank (telnet localhost 80
shows zero-size response after headers) and the logs reflect
the error
on $GLOBALS['registry']->get().
========
http://localhost/hord
e/test.php works like a charm, tho:
Horde Version
* Horde: 3.2-cvs
Horde Applications
* Horde: 3.2-cvs
* Imp: H3 (4.2-cvs) (run Imp tests)
* Ingo: H3 (1.2-cvs) (run Ingo tests)
* Kronolith: H3 (2.2-cvs)
* Mnemo: H3 (2.2-cvs)
* Nag: H3 (2.2-cvs)
* Passwd: H3 (3.1-cvs) (run Passwd tests)
* Turba: H3 (2.2-cvs) (run Turba tests)
</snip>
========
the IMP tests show:
IMP Version
* IMP: H3 (4.2-cvs)
Other Horde Applications
* gollem: No
Gollem provides access to local VFS filesystems to
attach files.
* ingo: Yes (Version: H3 (1.2-cvs))
* nag: Yes (Version: H3 (2.2-cvs))
* turba: Yes (Version: H3 (2.2-cvs))
</snip>
========
INGO shows:
Ingo Version
* Ingo: H3 (1.2-cvs)
Other Horde Applications
* imp: Yes (Version: H3 (4.2-cvs))
</snip>
========
and TURBA shows:
Turba Version
* Turba: H3 (2.2-cvs)
PHP Version
* View phpinfo() screen
* View loaded extensions
* PHP Version: 4.3.11
* PHP Major Version: 4.3
* PHP Minor Version: 11
* PHP Version Classification: release
* You are running a supported version of PHP.
PHP Module Capabilities
* MySQL Support: No
* PostgreSQL Support: No
* Microsoft SQL Support: No
* Oracle Support: No
* Unified ODBC Support: No
* LDAP Support: Yes
</snip>
these may not be related to the 'get()' problem but -- why
no
postgresql support, after the --with tweaks, above? and why
the gripe
about gollem? but mainly, why isn't ->get() working?
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 09:26:47 |
On Monday 22 May 2006 03:10, will trillich wrote:
> > [Mon May 22 03:08:12 2006] [error] PHP Notice:
Undefined index:
> > charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
> > line 108
> > [Mon May 22 03:08:12 2006] [error] PHP Fatal
error: Call to undefined
> > function: get() in
> >
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
> > 111
Run a file with phpinfo() in it. What does it teel you for
the include_path?
Andy
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 11:53:30 |
On 5/22/06, Andrew J. Kopciuch <akopciuch bddf.ca> wrote:
> On Monday 22 May 2006 03:10, will trillich wrote:
> > > [Mon May 22 03:08:12 2006] [error] PHP
Notice: Undefined index:
> > > charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
> > > line 108
> > > [Mon May 22 03:08:12 2006] [error] PHP Fatal
error: Call to undefined
> > > function: get() in
> > >
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
> > > 111
>
>
> Run a file with phpinfo() in it. What does it teel you
for the include_path?
sorry, forgot to include that:
include_path .:/php/include:/kolab/lib/php:/kolab/var/kolab/
php:/kolab/var/kolab/php/pear .:/php/include:/kolab/lib/php:
/kolab/var/kolab/php:/kolab/var/kolab/php/pear
apache path:
PATH
/kolab/lib/openpkg/override:/kolab/bin:/kolab/sbin:/bin:/sb
in:/usr/bin:/usr/sbin
server variables:
_SERVER["PATH"] /kolab/lib/openpkg/override:/kol
ab/bin:/kolab/sbin:/bin:/sbin:/usr/bin:/usr/sbin
nothing jumps out at me as being seriously borked there...
--
will trillich
"Their is five errers in this sentance."
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 18:44:27 |
On 5/22/06, will trillich <will serensoft.com> wrote:
> On 5/22/06, Andrew J. Kopciuch <akopciuch bddf.ca> wrote:
> > On Monday 22 May 2006 03:10, will trillich wrote:
> > > > [Mon May 22 03:08:12 2006] [error] PHP
Notice: Undefined index:
> > > > charset in
/home/will/kolab/server/var/kolab/php/pear/Horde/NLS.php on
> > > > line 108
> > > > [Mon May 22 03:08:12 2006] [error] PHP
Fatal error: Call to undefined
> > > > function: get() in
> > > >
/home/will/kolab/server/var/kolab/www/horde/config/prefs.php
on line
> > > > 111
i see at http://wiki.kol
ab.org/index.php/Sarge that there's an issue
getting apache up and running. i'll have a look at that and
(assuming
i figure it out) i'll post my results there as well as
here.
assuming there's nothing ELSE in the way.
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-22 22:18:12 |
> i see at http://wiki.kol
ab.org/index.php/Sarge that there's an issue
> getting apache up and running. i'll have a look at
that and (assuming
> i figure it out) i'll post my results there as well as
here.
>
> assuming there's nothing ELSE in the way.
>
Do a locate Registry.php
It will show you where that file is.
I'll bet that the install-packages.php was run with the
system php.ini (not
forcing the kolab php binary on the command line) and
installed the Horde
PEAR packages outside of the /kolab root.
It's probably in /usr/share/php, or /usr/share/pear or a
similar place, which
is not in your include_path with the kolab PHP installation.
You can :
1. add that directory to your kolab php.ini ... you may
have permission
problems, and will need to chown all of the installed files
to be readable by
kolab.
2. re-install Horde and when running install-packages.php
force the kolab PHP
to run. ie.
/kolab/bin/php ./install-packages.php
3. Install the stable versions of horde and not the CVS
version (you do not
run install-packages.php). You would need to change the
include path to have
the horde/lib directory though.
Andy
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-23 09:31:57 |
Zitat von "Andrew J. Kopciuch" <akopciuch bddf.ca>:
> 3. Install the stable versions of horde and not the
CVS version (you do not
> run install-packages.php). You would need to change
the include path to have
> the horde/lib directory though.
Not necessary in this case, because the release version
already sets
the correct include_path.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consult
ing/
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-23 11:41:54 |
On Tuesday 23 May 2006 03:31, Jan Schneider wrote:
> Zitat von "Andrew J. Kopciuch"
<akopciuch bddf.ca>:
> > 3. Install the stable versions of horde and not
the CVS version (you do
> > not run install-packages.php). You would need to
change the include path
> > to have the horde/lib directory though.
>
> Not necessary in this case, because the release version
already sets
> the correct include_path.
>
> Jan.
yes ...
Now that I think back to installing the stable version, I
remember I had
previously installed the CVS version, and had to alter the
include_path var
so as to use the includes from the stable version, and not
those installed
from install-packages.php.
I seem to remember I had a problem even after I removed the
CVS versions that
I needed to leave that in there. I removed it again just
now, and we'll see
what happens ... It works fine for me, but my mailbox might
get filled up
with complaints in a couple of hours :S
thanks for clarification,
Andy
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|
| Fatal error: Call to undefined function:
get() in
/kolab/var/kolab/www/horde/config/prefs.
php on lin |

|
2006-05-24 03:35:14 |
On 5/22/06, Andrew J. Kopciuch <akopciuch bddf.ca> wrote:
> Do a locate Registry.php
>
> It will show you where that file is.
# locate Registry.php
/home/will/kolab/server/lib/php/PEAR/Command/Registry.php
/home/will/kolab/server/lib/php/PEAR/Registry.php
/home/will/kolab/server/var/kolab/www/fbview/framework/Horde
/Horde/Registry.php
/home/will/kolab/server/var/kolab/www/horde/framework/Horde/
Horde/Registry.php
/home/will/kolab/server/var/kolab/php/pear/PEAR/Command/Regi
stry.php
/home/will/kolab/server/var/kolab/php/pear/PEAR/Registry.php
/home/will/kolab/server/var/kolab/php/pear/Horde/Registry.ph
p
# ls -l /kolab
lrwxrwxrwx 1 root root 24 May 20 10:50 /kolab ->
/home/will/kolab/server/
is that trailing slash causing any trouble?
> I'll bet that the install-packages.php was run with
the system php.ini (not
> forcing the kolab php binary on the command line) and
installed the Horde
> PEAR packages outside of the /kolab root.
# locate php.ini | grep ini$
/home/will/kolab/server/etc/apache/php.ini
/home/will/kolab/server/etc/php/php.ini
/etc/php4/apache/php.ini
/etc/php4/apache2/php.ini
coulda been -- but it wasn't, according to my command-line
history...
> It's probably in /usr/share/php, or /usr/share/pear or
a similar place, which
> is not in your include_path with the kolab PHP
installation.
>
> You can :
>
> 1. add that directory to your kolab php.ini ... you
may have permission
> problems, and will need to chown all of the installed
files to be readable by
> kolab.
>
> 2. re-install Horde and when running
install-packages.php force the kolab PHP
> to run. ie.
>
> /kolab/bin/php ./install-packages.php
pertinent entries from my history list include:
1626 cvs -d :pserver:cvsread anoncvs.horde.org:/repository checkout
framework imp kronolith mnemo nag passwd turba ingo
1627 cd framework/
1628 /kolab/bin/php install-packages.php
1629 alias pear=/kolab/bin/pear
1630 /kolab/bin/php install-packages.php
1634 PATH=/kolab/bin:$PATH
1635 echo $PATH
1636 export PATH
1637 /kolab/bin/php install-packages.php
1639 history >> /home/will/kolab/HORDE.sh
1640 vi /home/will/kolab/HORDE.sh
the contents of that file are:
#!/bin/sh
# HORDE instrux according to kolab.org/webclient.html
if [ -z "`grep 'pgsql'
downloads/obmtool.conf`" ];
echo 'add SQL support to "obmtool.conf"
for PHP and APACHE:'
echo ' --with=mod_php_pgsql # for your
apache rpm'
echo ' --with=pgsql # for your php
rpm'
exit
fi
if [ -z "`grep 'safe_mode' /kolab/etc/php/php.ini |
grep -i off`" ];
echo 'turn "safe_mode" OFF in
/kolab/etc/php/php/ini'
exit
fi
cd downloads
./obmtool kolab
/kolab/bin/pear install -f Net_IMAP Log Mail_Mime File Date
#/kolab/bin/pear install -f Net_IMAP Log Mail_Mime File Date
Net_Socket
#cd /kolab/var/kolab/www
#echo "Use Password 'horde'"
#cvs -d :pserver:cvsread anoncvs.horde.org:/repository login
#cvs -d :pserver:cvsread anoncvs.horde.org:/repository checkout horde
#cd horde/
#cvs -d :pserver:cvsread anoncvs.horde.org:/repository checkout
framework imp kronolith mnemo nag passwd turba ingo
cd /kolab/var/kolab/www/horde
cvs update
cd framework/
export PATH=/kolab/bin:$PATH
/kolab/bin/php install-packages.php
# /kolab/etc/kolab/templates/slapd.conf.template should
contain:
# include
/kolab/var/kolab/www/horde/scripts/ldap/horde.schema
# if you tweak the template, then:
# /kolab/sbin/kolabconf
# to regenerate configs and restart the ldap server
> 3. Install the stable versions of horde and not the
CVS version (you do not
> run install-packages.php). You would need to change
the include path to have
> the horde/lib directory though.
i'm almost to this point. did i miss anything above, tho?
in theory,
assuming i've done as indicated, i *should* have a working
horde,
right?
--
will trillich
"Their is five errers in this sentance."
_______________________________________________
Kolab-users mailing list
Kolab-users kolab.org
https:
//kolab.org/mailman/listinfo/kolab-users
|
|