[sork] Re: Horde-forwards error

Eric Rostetter eric.rostetter at physics.utexas.edu
Tue Dec 10 13:32:02 PST 2002


Quoting dietrich dettmann <dettmann@uni-greifswald.de>:

> Hello Eric,
> Can you help me ?

Not sure.  Please keep this on the sork mailing list.

> My horde-forwards write the error
> ************************************************************************
> **************************************************
> Fatal error: Call to undefined function: setparams() in
> /srv/www/htdocs/horde/forwards/lib/Driver/forwards.php on line 197
> ************************************************************************
> ***************************************************

Not seeing that error myself.  My guess is a configuration mistake?

> The function setparms is defined in /horde/lib/VFS.php with:

Yes, and that should be included via forwards/lib/base.php 


> The function setparms will be started in
> horde/forwards/lib/Drivers/forward.php

Yes.

>         // Build the ftp array to pass to VFS
>         $_args = array( 'hostspec' => $this->params[$realm]['host'],
>                         'port' => $this->params[$realm]['port'],
>                         'username' => $user,
>                         'password' => $pass );

Check your forwards/config/*.php files and make sure that they are
all set correct, and that the values above (hosts, port, user and password)
are all set and correct.
 
>         // Create the VFS ftp driver
>         $_vfs = &Horde_VFS::singleton('ftp', $_args);
>         $_vfs->setParams($_args);
> //*****************this is line 197

The only reason I can see why the setParams() would fail is if the
Horde_VFS::singleton() failed.  That is why I suspect your configuration.

But I suppose it could also be due to something else like the ftp connection
failing (firewall, ftpd config, etc) as well.  Can you verify that ftp is
working?

> Mit freundlichen Grüßen
> D. Dettmann

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

Why get even? Get odd!


More information about the sork mailing list