Hello everybody!
After learning a lot about php and its installation, more about apache etc., I finally was able to install Midgard lite on Mac OS X (a unix environment) and now feel like I might be able to set it up in our web hosting environment (on linux). I am seeing the example and admin site on "localhost".I was unable to find a distribution tailored for unix and the cvs module misses essential parts of the installation. So I downloaded the Windows archive, fixed the line endings in the pear/Midgard folder, generated the mysql database and are now out of luck.I would recommend to set up a regular midgard setup on you local machine. You could make a mysqldump and import it on the server (and copy the blobdir too, if you need it). Than you can install the cvs module and everything should work nice.
I really like what I have seen so far. Looking forward to (finally!) getting my hands dirty.
The biggest problem might be that I cannot access any global config files e.g. to set the php include path. I should be able to install/link those where index.php resides (since "." is on the path as I checked), right?
But before I do that, I'd like to ask:
* Is it normal that the example site in the lite distribution is missing the images? I got those from the regular distribution and put them into the examples directory where they work fine. Is that where they should be?
* As I said earlier, the midgard_config.class file has Macintosh line endings. Not that me or php care, but it seems odd and other editors might bark.
* The example site displays a lot of errors for "undefined functions". Is that because of the unfinished state of the lite version? If yes, this should be notes somewhere in the docs so people do that think their installation is faulty.
Examples:
example/news/ : Fatal error: Call to undefined function: __condtion_append() in /Library/WebServer/php/Midgard/midgard_functions.php on line 618
example/: Fatal error: Call to undefined function: mgd_list_topic_calendar_all() in /Library/WebServer/midgard- lite/cache/page.16.content on line 12
example/products/11.html: Fatal error: Call to undefined function: mgd_is_in_topic_tree() in /Library/WebServer/php/Midgard/midgard_functions.php on line 610
That's it for now.
Thanks for listening,
Dirk Theisen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
