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
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
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]
