Forwarded to the midgard mailing list - hopefully somebody can help you out. Regards Alan
[EMAIL PROTECTED] wrote:
Hello,
"The main goal of this release is to provide an easily installable package so everybody has the chance to look into the world of midgard."
I would like to say that installing Midgard-lite is anything but easy. It is 5:30 in the morning and I still can't get the damn thing installed! Installing ZOPE was a lot easier but I didn't really like it so that's why I'm trying to use MIDGARD LITE!
The install.txt on the midgard lite site is terrible. I'm using windows 2000 and just want to install Midgard-lite on my local machine to test it out.
1)The "Database installation" section that explains how to import the
midgard-lite-data.sql only provides instructions if you're using Linux.
I'M USING WINDOWS!!! But I was able to figure it out. Then I followed the
rest of the instructions:
$ mysql midgard mysql> UPDATE host SET name="www.my-domain.com",port=80;
mysql> exit
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.
3)Next in the "Configuration" you tell us to edit the file midgard_config.class
and add my local information:
mgd_dbname = "name of your database"
mgd_username = "MySQL username"
mgd_password = "MySQL password"
What "name of your database"??!! Oh maybe the database from the "Database installation" section. Ok I did this.
What "MySQL username"? What "MySQL password"? When did we set these up? Well I went to the MySQL site and figured it out. Hmm maybe. I selected the "MySQL" database and typed in the following: mysql> UPDATE user SET Password=PASSWORD('newpassword') WHERE user='root'; mysql> flush
Therefore I should have modified my midgard_config.class file to read: mgd_dbname = "midgard" mgd_username = "root" mgd_password = "newpassword"
4)Then you tell us "Now Midgard Lite should be running. You can verify this by pointing your browser to http://www.my-domain.com/"
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
HOW DO YOU INSTALL MIDGARD-LITE? Could you please give me a better, more complete installation guide for installing Midgard lite on a windows computer. I have installed MySQL, PHP, and Apache 1.3. I just want to install it on my local computer to check out it's usablility verses ZOPE.
Regards, Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
