On Fri, Aug 03, 2001 at 06:09:43PM +0200, Ferenc Engard wrote:
> Hello,
>
> I am getting crazy... I have installed the brand new midgard/nadmin.
> Here are the files I have installed, all of them downloaded today:
>
> fimages.tgz
> midgard-data-1.4_CVS200108030202.tar.bz2
> midgard-lib-1.4_CVS200108030202.tar.bz2
> midgard-php4-1.4_CVS200108030202.tar.bz2
> mod_midgard-1.4_CVS200108030202.tar.bz2
> nadmin2001080_core.xmlgz
> nadmin_templates.xmlgz
>
> The stuff has installed smoothly (except that I have had to install the
> apache module by hand as the script didn't found debian's
> /etc/apache/httpd.conf).
>
> The asgard site runs perfectly. But the nadmin's login window puts the
> username text input, and an empty company select box. Here is the end of
> the page's source:
>
> -----------------------------
> <select name="mgd_login[sitegroup]">
>
> <br>
> <b>Fatal error</b>: Call to undefined function: mgd_list_sitegroups()
> in <b>login</b> on line <b>67</b><br>
> -----------------------------
>
> The point in <login> style element's source:
>
> -----------------------
> : if (!$adminhost->sitegroup) {
> 64:
> 65: echo "<select
> name=\"".$mgd_login[sitegroup]."\">";
> 66:
> 67:
> 68: $company = mgd_list_sitegroups(); <------- Here it is
> 69: if ($company) {
> 70: echo "<option selected>Please
> select</option>";
> 71:
> 72: while ($company->fetch()) {
> -------------------------
>
> As I recognized, I think this is the first function call into php4's
> midgard extension. What should I do?
Nadmin relies on site groups support in Midgard. You have to recompile all
Midgard components (lib, mod_midgard, midgard-php) with sitegroups
enabled. To do so, compile Midgard-lib first with --with-sitegroups
option to configure, and then (after installing it) recompile and install
mod_midgard and midgard-php.
--
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
`Senior software developer and analyst for SaM-Solutions Ltd.`
---
Put no trust in cryptic comments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]