-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Ross,

[EMAIL PROTECTED] wrote:

| Henri,
| thank you very much for your reply.
| I have removed the midgard-root.php file from the apache document root
| directory.
| You were right, I needed to update the host table:
| mysql> UPDATE host SET name='midgard.platform.net.au',prefix='/asgard'
| WHERE id=1

Great!

| Once I had done that, the asgard admin site was visible!
| However, there now seems to be a lot of errors similar to:
|
| Notice: Undefined variable: MidgardRelogin in code-global on line 10
| Notice: Undefined variable: create in code-init on line 3
| Notice: Undefined variable: author in ROOT on line 45

This is due to PHP Error reporting. Turn it down to
error_reporting = E_ALL & ~E_NOTICE
in your php.ini.

Cheers!

~ //Henri

| I suspect the problem lies with the midgard-root.php file.
| I notice that there are differences between  midgard-root.php3 and
| midgard-root.php
| Since I am using PHP4, I have copied  midgard-root.php to
| /usr/local/apache/libexec
|
|
| regards,
| Ross.
|
| On Tuesday, December 23, 2003, at 12:23  AM, Henri Kaukola wrote:
|
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Hello Ross,
|>
|> Ross George wrote:
|>
|> | when installing the midgard framework, I have installed midgard-data
|> using
|> | the "--with-asgard" option, and then copied the image directories to
|> the
|> | apache root web location.
|> |
|> | However, when I click on the url: http://localhost/asgard, I see
|> only the
|> | images, nothing else.  I copied the file midgard-root.php to the web
|> | directory, but if I access it, I get the following error:
|>
|> Do you have "localhost" in the name fields in your host table?
|>
|> Also, you don't need to copy midgard-root.php to your directory.
|> BUT your Apache must be able to locate and use it. I have it at:
|> /usr/lib/apache/midgard-root.php
|>
|> This path must be correct in midgard-data.conf too.
|>
|> | Fatal error: Not a midgard request. in
|> /www/htdocs/test/midgard-root.php on
|> | line 40
|> |
|> | thanks,
|> | Ross.
|> |
|>
|> Hope that does it.
|> Cheers!
|>
|> ~  //Henri
|
|
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|

- --
Henri Kaukola                   [EMAIL PROTECTED]
Consultant                      Tel: +358-20-198 6037
Nemein Oy                       http://www.nemein.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/5wmB3xWc2AolrKgRAiLAAJ97E3QR0A3KLwqieLr+k8jpINxiCQCgzvVs
4eEiQDnx6POQDI82I5u1dKc=
=dzv+
-----END PGP SIGNATURE-----


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to