Hi Chris,

I have just installed Midgard Lite on my win98, and now it's running.It has also taken me some time (approx. two days), since it's the first time I have tried installing and setting Apache and PHP up.

One reason why I think it is this tough to install Midgard-lite is that it pressumes you have apache, php and mysql up and running before you install midgard. And that you know something about them...

I also got the error
"Warning: main(DB.php): failed to open stream: No such file or directory
in c:\program files\apache group\apache\htdocs\midgardlite\midgard_xml.class
on line 58
Fatal error: main(): Failed opening required 'DB.php' (include_path='.;c:\php4\pear')
in c:\program files\apache group\apache\htdocs\midgardlite\midgard_xml.class
on line 58"


When I downloaded php, and installed it, there was a Pear folder and a php file called go-pear.php, and a go-pear.bat file in the php directory. When I executed it, it installed pear AND it created a c:\php4\ folder with a file called pear.ini. After a search on the net I found out that this is an error in the installation (http://bugs.php.net/bug.php?id=17516). I fixed it by renaming my c:\php\ folder to c:\php4\, and changing the httpd.conf so the path to the php4access module is right

LoadModule php4_module c:/php4/sapi/php4apache.dll

This fixed the problem not finding the DB.php.

Regarding your 2), as it says in Apache's httpd.conf, DocumentRoot is:

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.

I have set it to c:\public_html, and therefore I installed the midgard-lite folder there.

In reply to:
/snip


2)Next the "Creating the directory structure" section tells us to just unpack
the Midgard Lite package into your DocumentRoot. What does this mean? Does
it mean unzip/extract it into the htdoc folder that was created when in
installed Apache? Well I'm guessing yes so I did that.


/snip


I type in http://localhost and I get the apache index page. I then type
in http://localhost/midgardlite/midgard.php and get a bunch of errors:
Notice: Use of undefined constant p - assumed 'p' in c:\program files\apache
group\apache\htdocs\midgardlite\midgard.inc on line 45
Warning: main(DB.php): failed to open stream: No such file or directory
in c:\program files\apache group\apache\htdocs\midgardlite\midgard_xml.class
on line 58
Fatal error: main(): Failed opening required 'DB.php' (include_path='.;c:\php4\pear')
in c:\program files\apache group\apache\htdocs\midgardlite\midgard_xml.class
on line 58

/snip

Regards,
Chris

--
Med venlig hilsen/Best regards,

Ian Semey
Center for Industrial Production
Aalborg University
Fibigerstraede 16
DK-9220 Aalborg DENMARK




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



Reply via email to