Dirk Theisen wrote:
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 am quite confused where to start. Because I cannot edit a shared "pear" folder (I couldn't even find one), I copied the pear/Midgard folder to my cms folder. Same for blobs (I think they to not belong into the reach of the web server, but I can change that later) and the "applications" like admin.
The "applications" are in the database. If you've setup the db you already have installed the applications (except images). You don't need access to pear. That's just a recommendation.
I am a bit confused why there is no index.php to start with. So I thought the one from "admin" might be good to get something on screen. However, I only get:
-----------------
SQL: SELECT id,style,root,info,Length(prefix) as prefix_l,sitegroup , sitegroup FROM host WHERE name='www.objectpark.org' AND port IN (0,80) AND prefix=Left('/cms/',Length(prefix)) AND IF(5>=Length(prefix),MID('/cms/',1+Length(prefix),1) IN ('','/'),0)=1 AND online=1 ORDER BY prefix DESC, port DESC
Fatal error: Call to undefined function: query() in www.objectpark.org/cms/Midgard/midgard.class on line 78
--------------------
Looks like there are still some libraries missing? What do I need to do?
I'm confused too. I don't quite understand what you have done. There is an index.php! You don't call it directly, but there is one. Let us go step by step: Do you understand the mod_rewrite trick?
One more note: Midgard Lite is not 100% compatible to midgard. Some functions are missing and some are behaving a little different. After my knowledge there is no admin interface or demo page which works completely and since no one has the time to work on Midgard Lite currently, this want be fixed for the next time... unless you do it :-). My point is this: Don't expect that any site in the datapackage works flawless but it's very doable to serve your own site with Midgard Lite (I do it for some time now and it works fine).
Matthias
ps: If your willing to send your login data to me (in a private encrypted mail), I could look at it by myself. Might be a lot easier for both sides. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
