Philipp Rotmann wrote:

> another problem with my Midgard 1.2.5 installation:  I am not
> able to create another host, though with every try, I created at
> least a new root page for the still non-existent host.

A patch for midgard-php that fixes it is attached, and updated
RPMs are available at http://www.midgard-project.org/download/binaries/

The corrected tarball will appear on the site soon.

> My
> Apache's error log does not say much, except the still-missing
> templates "author", "code-compat" and "code-global"...

This is normal behaviour when the loglevel is set to debug.

Bye,
Emile
diff -ur midgard-php-1.2.5.bak/functions/midgard.c 
midgard-php-1.2.5/functions/midgard.c
--- midgard-php-1.2.5.bak/functions/midgard.c   Wed Nov 10 00:43:41 1999
+++ midgard-php-1.2.5/functions/midgard.c       Mon Nov 22 15:12:30 1999
@@ -2317,7 +2317,7 @@
 
     midgard_create(return_value, "host",
                                   "name,port,online,root,style,info,owner,prefix",
-                                  "$q,$d,$d,$d,$d,$d,$d,$s", name->value.str.val,
+                                  "$q,$d,$d,$d,$d,$d,$d,$q", name->value.str.val,
                                   port->value.lval, online->value.lval == 1,
                                   root->value.lval, style->value.lval,
                                   auth->value.lval == 1, owner->value.lval,
diff -ur midgard-php-1.2.5.bak/mod_php3.c midgard-php-1.2.5/mod_php3.c
--- midgard-php-1.2.5.bak/mod_php3.c    Fri Aug  6 18:02:52 1999
+++ midgard-php-1.2.5/mod_php3.c        Mon Nov 22 15:12:09 1999
@@ -530,7 +530,7 @@
 {
        register_cleanup(p, NULL, php3_module_shutdown, php3_module_shutdown_for_exec);
 #if MODULE_MAGIC_NUMBER >= 19980527
-       ap_add_version_component("PHP/" PHP_VERSION);
+       ap_add_version_component("PHP/" PHP_VERSION "+Midgard/1.2.5");
 #endif
 }
 

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to