Martin Gottlieb writes:
> 
> Hi,

Hi!

> The problem is that none of my hosts are functional and the problems all
> seem to be various mgd_xxx functions
> that are not defined.  For example, when I try to access Aegir or
> Spider-admin, the following error is logged:
> 
> PHP Fatal error:  Call to undefined function mgd_get_host() ...

All legacy functions are deprecated since 1.8 at least IIRC.
But do not worry, you can still enable them.

Download midgard-php package from http://www.midgard-project.org/download/.
Build it manually:

    phpize
    configure --with-legacy-api=yes
    make
    sudo make install

Restart apache and all sites should be functional again.

Keep in mind, no one supports legacy API (neither Spider nor Aegir) any
longer.

Piotras

_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to