Re: [midgard] simple ? with an addition....
Ken Pooley wrote: I am not all that worried about one or two cases like this...but got knows once I start building conditionals I start finding more and more "what ifs" so I tend to be a little gun shy. I always want to build everything into one block with a lot of contingenciesthe problem now is that I am going to the opposite extreme...I have twenty three departments each with the same layout needs but completely separate datasets, so I have built one set of pages/page elements to serve a one department and now I just have to copy those pages/element to the other departments and change the topic numbers...( I have 23 datasets, I don't see a way around this) If the switch is for entire datasets you could of course make two active pages for this stuff each with a different page element (or simply duplicating the entire page logic) that does the 'right' content inclusion. Eliminates the run-time decision. ...there should be an easier way to do this. I know it is the least elegent way to do it but it is relatively fast. Before anyone calls me a wimp...yes the programmer in me wants to have done all of this with one wicked efficient script but speed of implementation was an issue and at least this way I can have an intern do the copy and pasting..then I can go back later and boil everything down to a perfect shining example of perfect context aware code...when I have the time. I have seen some mention of pre-compiled PHP code in the past, but I totally can't remember when or where. ( Emile, that will be the day after I jump out of a flying airplane...not likely, at least until I come to the Midgard meeting, and beers) Wimp :) If you have enough beers you'll be forbidden to jump out of the airplane (unless it's on fire), so for many people this is the ultimate win-win situation: you get to get wickedly drunk *and* you don't have to bail out of an airplane :) In the mean time it would be so much easier if there were a mechanism to copy and/or share code objects from one section to another... 1.2.6 is your friend. A copying mechanism is present as is a replication system. or at least something cooler than student slave labourwhich works but they take up space and smell funny Isn't that what the crawling space beneath houses is for? OK, so you have to do some cabling work but well worth the trouble. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Question
Derek Beattie wrote: ? if ($article-url) { ? pCheck out:bra href="(article.url:u);"(article.url);/a/p !-- :u means in URL form -- ? } ? p align="right" a href="/news/" class="navi"More news/a/p it works except the url tries to send me to: http://server.com/news/http://other.site.com when the desired resule would be: http://other.site.com It's the :u modifier. It escapes the :, /, and . to their %code equivalents so the link will probably show up as a href="http%3A%2F%2Fother%2Esite%2Ecom"http://other.site.com/a. Best only to use URL escaping for parameter lists. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] MidGard
phil grainger wrote: cardilia fom what i can tell midgard is developed on RH linux so the libraries are all wrong and the way it calls libraries is linux way ... Phil -- I had absolutely no problems building midgard on Solaris, while I found it impossible to do the same for python/zope -- had to snarf the prebuilt binaries (and I hate doing that). I had planned to implement midgard on FreeBSD anyway -- send me a private email ([EMAIL PROTECTED]) and I will let you know when/if ready. The reason I selected midgard over zope is that midgard because midgard becomes an intrinsic part of apache; is compiled in as opposed to pure interpreter, and will support multiple hosts easily. But -- have fun with zope if you so choose. cat i suppose once midgard is stable it will end up in the freebsd ports collection, i suggested the midgard ppl contact the ports ppl ... that was the last i heard. i ended up using zope which is in the freebsd ports and is as functional as midgard. i'm just waiting ... phil Quoting Carilda Thomas [EMAIL PROTECTED]: Does anyone know any reason why not? Apache and php work on FreeBSD. I don't know of any of the plug-ins for php that specifically don't work on FreeBSD. Why not just go ahead and try building it? the cat phil grainger wrote: not as far as i know ... Quoting ? [EMAIL PROTECTED]: Hello! Does MidGard work on FreeBSD? It's very important for me... .Denis phil grainger ozxpress.com.au user support services - This mail sent through IMP: http://web.horde.org/imp/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] phil grainger ozxpress.com.au user support services - This mail sent through IMP: http://web.horde.org/imp/ -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Help, please.....Getting Installation Errors
Have ran make and make install and all went well. Now when I am trying to modify my httpd.conf, enable the midgard entries as documented but I get an error on restart saying that mod_midgard.so cannot be loaded. Any clues? -Original Message- From: Emiliano [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: 25 January 2000 08:06 Subject: Re: [midgard] Help, please.Getting Installation Errors "[EMAIL PROTECTED]" wrote: There are two instances of the -WL command, should I replace them both as when I do, I get a "Makefile:63: *** missing seperator. Stop." error. It should only be necesary to change the line with APXS. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Question
Hi, Derek Beattie wrote: It works in the sense that it displays the correct url but when I pass the mouse over the link, the url that shows up in the browsers status bar doesn't work becuase it has the http://server.com in front of the url. So lets say the url I put in the content is http://www.yahoo.com and I use the code we are talking about. ? if ($article-url) { ? pCheck out:bra href="(article.url);"(article.url);/a/p ? } ? p align="right" a href="/news/" class="navi"More news/a/p When I click on the link it tries to send me to http://server.com/news/http://www.yahoo.com - Maybe I need to use substr or something. Did you try to put a litteral url instead of (article.url); and see what you get ? What do you get in the page source ? Maybe it is not a Midgard bug, but a browser bug... Regards, [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Question
Derek Beattie schreef: It works in the sense that it displays the correct url but when I pass the OK the display would work. mouse over the link, the url that shows up in the browsers status bar doesn't work becuase it has the http://server.com in front of the url. So lets say the url I put in the content is http://www.yahoo.com and I use the code we are talking about. When I click on the link it tries to send me to http://server.com/news/http://www.yahoo.com - Maybe I need to use substr or something. In the admin interface, what is the exact value of the URL field, and when you view source on the resultin page, what exactly does the code look like that displays the link? emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Question
Derek Beattie schreef: Actually to fix the problem temp. I just hard coded the url in and that works fine. I basically took the code for news from the midgard example site. Go add an article to the sample page and put a url in it and see how it works for you. You're right but the VMUC site has the same problem I described earlier: it uses a href="(article.url:u);"(article.url);/a. If you remove the :u the VMUC news page works normally too. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] MidGard
phil grainger schreef: if you need a hand i am at your service. Much obliged if you would try the FreeBSD install. I'm having some difficulty getting the FreeBSD box installed and I can't really dedicate much time to it right now. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Question
ok, I think I found the problem. What a bone head. In the content admin I had www.yahoo.com instead of http://www.yahoo.com in the article url. If I don't put the http:// it must do something else? --- Emile Heyns [EMAIL PROTECTED] wrote: Derek Beattie schreef: I've tried several things but I'm still not sure how to get the desired result. Doesn't ? if ($article-url) { ? pCheck out:bra href="(article.url);"(article.url);/a/p ? } ? p align="right" a href="/news/" class="navi"More news/a/p work? emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] = . \\|// (O-O) *--oOO--(_)--OOo-* * Sender: Derek Beattie* * Personal: [EMAIL PROTECTED]* * Business: [EMAIL PROTECTED]* ** __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] What about Images...
Karsten Kraus schreef: On the midgard-list it says there's no such image-support built in midgard right now... How are images managed then? Manually ATM. They are simple served from the documentroot since Midgard hands any request it cannot serve back to apache, which will serve said document or image or whatever from the DocRoot. One of 2.0s' targets will be blobserving so images and other binary data will have the option to move into the DB too. Will it be difficult, to just add an "imgdata" field to the midgard-database, and write some routine in php which lets me upload the image, store it in the db and access it via something like a special topic-tree? Could even I (midgard php newbie) do that with some time? The attachment routines implement something like that, see http://www.progressive-comp.com/Lists/?l=midgardm=94774926219199w=2 When will image/file support be implemented in midgard and how? (something like Imperia's "Media-Database" (www.imperia.de) would be real nice) It's one of my 2.0 projects, but ACLs and DAV go first. I'm not greedy on these issues, so if anyone else wants a crack at this... emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] SuSE 6.3 RPMs?
When will the RPM's for Suse 6.3 be available? Bye, Anatol -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] simple ? with an addition....
The stuff I've read on php4/Zend tell of a php compiler that speeds up the execution of a script by quite a bit. Let me see if I can find the page...here it is! http://hotwired.lycos.com/webmonkey/99/51/index3a_page2.html?tw=programming Zend includes an optimizing compiler, with some benchmark numbers referenced in the above article. I don't know the exact nature of zend's relationship to php4, so I wonder if the compiler and the other nifty things that Zend promises to offer are going to be available in Midgard 2.0? h.. Darren Petersen Emiliano Heyns wrote: Ken Pooley wrote: I am not all that worried about one or two cases like this...but got knows once I start building conditionals I start finding more and more "what ifs" so I tend to be a little gun shy. I always want to build everything into one block with a lot of contingenciesthe problem now is that I am going to the opposite extreme...I have twenty three departments each with the same layout needs but completely separate datasets, so I have built one set of pages/page elements to serve a one department and now I just have to copy those pages/element to the other departments and change the topic numbers...( I have 23 datasets, I don't see a way around this) If the switch is for entire datasets you could of course make two active pages for this stuff each with a different page element (or simply duplicating the entire page logic) that does the 'right' content inclusion. Eliminates the run-time decision. ...there should be an easier way to do this. I know it is the least elegent way to do it but it is relatively fast. Before anyone calls me a wimp...yes the programmer in me wants to have done all of this with one wicked efficient script but speed of implementation was an issue and at least this way I can have an intern do the copy and pasting..then I can go back later and boil everything down to a perfect shining example of perfect context aware code...when I have the time. I have seen some mention of pre-compiled PHP code in the past, but I totally can't remember when or where. ( Emile, that will be the day after I jump out of a flying airplane...not likely, at least until I come to the Midgard meeting, and beers) Wimp :) If you have enough beers you'll be forbidden to jump out of the airplane (unless it's on fire), so for many people this is the ultimate win-win situation: you get to get wickedly drunk *and* you don't have to bail out of an airplane :) In the mean time it would be so much easier if there were a mechanism to copy and/or share code objects from one section to another... 1.2.6 is your friend. A copying mechanism is present as is a replication system. or at least something cooler than student slave labourwhich works but they take up space and smell funny Isn't that what the crawling space beneath houses is for? OK, so you have to do some cabling work but well worth the trouble. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Storing pictures in the database?
Anatol Mayr / HEXAGON wrote: Hi! We've been playing around with midgard and have seen that the pictures in the example sites are stored locally. Is there an easy way to store pictures in the MYSQL-Database, so that we can keep the whole site in the database? From a pure systems point of view, I fail to see why anyone would want to. If the picture is accessed from the file system, it is served as an http request, but we are all using keep-alive, aren't we, so there should be minimal overhead here. If the file is stored in the database as a large object, then the entire file must be packaged into some shared memory location and transferred to whatever process is looking for it. Now, getting it out of the database is still a filesystem access, with the additional overhead that the data base puts on it. I don't know the internals of mySQL, but I have not seen a data base that does both a clean and a fast job of serving large objects. (Maybe Oracle, never tried.) It has always been my contention that this is why these things are called BLOBs instead of just plain BLO (Binary Large Object), since who wants to deal with a bad BLO job? SGI created a specialized file system to do video service precisely because of these types of problems, and note that their solution is NOT a database, but a filesystem. cat Bye, Anatol -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] What about Images...
-snips- Put that code in the code snippet library! Ben Garney LHS Webmaster http://www.lincolnhs.pps.k12.or.us/ IMPORTANT NOTICE: If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages. Get your FREE, totally secure email address at http://www.hushmail.com. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] problem with fetch in 1.2.4
On Thu, 27 Jan 2000, Paul Newby wrote: Anyone know of a problem with article fetch() in 1.2.4? For some reason I'm not getting $article-content back. So, for example, the output of which is missing $a-content. Seems kinda hard to imagine that this is an undiscovered bug, but I can't see what else could be wrong here. content is indeed not returned. Alexander, I think this deserves to be amended in 1.2.6, no? By the way, there's a little typo in the manual at http://www.midgard-project.org/manual/function.list-topic-articles.html There's an extra "$" in the example in the line ? ($article.name); br ?php Fixed, thank you. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Storing pictures in the database?
On Thu, 27 Jan 2000, Carilda Thomas wrote: From a pure systems point of view, I fail to see why anyone would want to. If the picture is accessed from the file system, it is served as an http request, but we are all using keep-alive, aren't we, so there should be minimal overhead here. If the file is stored in the database as a large object, then the entire file must be packaged into some shared memory location and transferred to whatever process is looking for it. Now, getting it out of the database is still a filesystem access, with the additional overhead that the data base puts on it. Not necesarily. MySQL can't but most large database seem to offer BLOB streaming so you can stream straight to the client. FS access is fine but deeply nested directories can be a strain on the server too. Anyway, the issue is not whether the BLOBs get stored in the FS or he DB, but whether Midgard will offer a clean, integrated approach to management of BLOBs. If you want over the web management you don't want to have people need to do FTP just for the images, and I generally don't want to grant my content managers any sort of system account (telnet, ftp or otherwise) on my systems. And replication must not involve two totally unrelated steps. And security must be managed by one means (and I hate apache's security 'management'). emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Storing pictures in the database?
I have found an article about storing images in an mysql-database. http://www.phpbuilder.com/columns/florian19991014.php3 Maybe we will try this way. Bye, Anatol -Ursprüngliche Nachricht- Von: Emiliano [EMAIL PROTECTED] An: [EMAIL PROTECTED] Gesendet: Donnerstag, 27. Jänner 2000 20:15 Betreff: Re: [midgard] Storing pictures in the database? On Thu, 27 Jan 2000, Carilda Thomas wrote: From a pure systems point of view, I fail to see why anyone would want to. If the picture is accessed from the file system, it is served as an http request, but we are all using keep-alive, aren't we, so there should be minimal overhead here. If the file is stored in the database as a large object, then the entire file must be packaged into some shared memory location and transferred to whatever process is looking for it. Now, getting it out of the database is still a filesystem access, with the additional overhead that the data base puts on it. Not necesarily. MySQL can't but most large database seem to offer BLOB streaming so you can stream straight to the client. FS access is fine but deeply nested directories can be a strain on the server too. Anyway, the issue is not whether the BLOBs get stored in the FS or he DB, but whether Midgard will offer a clean, integrated approach to management of BLOBs. If you want over the web management you don't want to have people need to do FTP just for the images, and I generally don't want to grant my content managers any sort of system account (telnet, ftp or otherwise) on my systems. And replication must not involve two totally unrelated steps. And security must be managed by one means (and I hate apache's security 'management'). emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] simple ? with an addition....
Hi, On Thu, 27 Jan 2000, Ken Pooley wrote: section of a host and call it from elsewhere...which I think I can't do... Not yet but yet another fine idea for 2.0. So many projects, so little time... And if you can't wait, Jean-Pierre and I have made a little function you can put in the code-global, and that allows you to load a library located in the topic tree. It is definitely more efficient than the one I have posted a week ago (or was it two weeks ?), and I didn't have time yet to put it in the Hints Tips, so I post it here. It defines the function mgd_load_library(string $path_to_lib), where $path_to_lib is the topic path to the library you want to load. The code in the library may be put into the $topic-code, and you can define the LIBRARY_ROOT constant to any topic in the DB. It call recursively any sub-topic from the one you want to load, and maintain a cache to speed up subsequent calls. With this function, you can then share bits of code or variables like $my_mail="[EMAIL PROTECTED]" between all of your hosts on the same DB. hope this helps, comment appreciated... emile regards, [EMAIL PROTECTED] below is the code: ? define("LIBRARY_ROOT",54); function mgd_load_library($path="/") { static $libs; $libs[0]["loaded"]=0; $libs[0]["cached"]=0; if($path[0]!="/") $path="/".$path; if(isSet($libs[$path]["loaded"])) return; if(!isSet($libs[$path]["cached"])) { $split_path=explode("/",$path); $topic=mgd_get_topic(LIBRARY_ROOT); for($i=($path[0]=="/"?1:0),$subpath="";$icount($split_path) !empty($split_path[$i]);$i++) { $subpath.="/".$split_path[$i]; if(!isSet($libs[$subpath]["cached"])) { $topic=mgd_get_topic_by_name($topic-id,$split_path[$i]); $libs[$subpath]["cached"]=$topic-id; } else { $topic-id=$libs[$subpath]["cached"]; $topic-name=""; } } $id=$topic-id; } else $id=$libs[$path]["cached"]; if(!isset($topic) || empty($topic-name)) $topic=mgd_get_topic($id); ?(topic.code:p);? $libs[$path]["loaded"]=$id; $topics=mgd_list_topics($id); if(substr($path,-1)!="/") // if($path!="/") $path.="/"; while($topics $topics-fetch()) mgd_load_library($path.$topics-name); } ? -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] 1.3.5 upgrade problem
I've upgraded Midgard to 1.2.5 with RPMs on RedHat 6.0, and on boot the following error is reported in libphp3.so: Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: undefined symbol: ap_regexec Anyone else had any problem with this? Paul N. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] 1.3.5 upgrade problem
On Thu, 27 Jan 2000, Paul Newby wrote: I've upgraded Midgard to 1.2.5 with RPMs on RedHat 6.0, and on boot the following error is reported in libphp3.so: Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/modules/libphp3.so: undefined symbol: ap_regexec What apache do you have installed (version), and how (source or RPM)? Emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] 1.2.5 upgrade problem
What apache do you have installed (version), and how (source or RPM)? Version 1.3.6; installed from RPM. Paul -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] MidGard
Hello ?, you wrote: Does MidGard work on FreeBSD? It's very important for me... Yes. I have success story from some Russian webmaster who installed Midgard 1.2.6-beta1 on two FreeBSD's 3.3 and has no problems at all (so far :-) Best regards, Alexandermailto:[EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] 1.2.5 upgrade problem
On Thu, 27 Jan 2000, Paul Newby wrote: What apache do you have installed (version), and how (source or RPM)? Version 1.3.6; installed from RPM. Drat. OK, I suspected this was going to happen sometime. The new 6.0 RPMs are built agains 1.3.9. Someone reported that the newer apache accepted older modules without problems so I'll go back to building against 1.3.6 (which is what 6.0 comes with). They'll be available tomorrow; sorry for the inconvenience. Emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] Question
Hello Derek, you wrote: Hi all, I've got the following code from the example site... ? if ($article-url) { ? pCheck out:bra href="(article.url:u);"(article.url);/a/p !-- :u means in URL form -- ? } ? p align="right" a href="/news/" class="navi"More news/a/p it works except the url tries to send me to: http://server.com/news/http://other.site.com when the desired resule would be: http://other.site.com This url is not intended to be clickable, it was provided as example of (variable:modifier); syntax. However, to avoid misunderstanding, it is corrected in Midgard 1.2.6. Best regards, Alexandermailto:[EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re[2]: [midgard] problem with fetch in 1.2.4
Hello Emiliano, you wrote: Anyone know of a problem with article fetch() in 1.2.4? For some reason I'm not getting $article-content back. So, for example, the output of which is missing $a-content. Seems kinda hard to imagine that this is an undiscovered bug, but I can't see what else could be wrong here. content is indeed not returned. Alexander, I think this deserves to be amended in 1.2.6, no? I've already fixed this when had been rewriting Midgard-PHP module (taking off many common code pieces to Midgard-lib and wrapping 'change'-functions with repository checking I've found this broken 'content') so Midgard 1.2.6-beta2 will fix this bug. Best regards, Alexandermailto:[EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: Re[2]: [midgard] problem with fetch in 1.2.4
On Fri, 28 Jan 2000, Alexander Bokovoy wrote: I've already fixed this when had been rewriting Midgard-PHP module (taking off many common code pieces to Midgard-lib and wrapping 'change'-functions with repository checking I've found this broken 'content') so Midgard 1.2.6-beta2 will fix this bug. Another good thing would be to add non-_all calendering functions. There was a short discussion a while ago on the parser bit that broke phpMyAdmin -- you spotted the location I think. Did you ever get anywhere with that? emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re: [midgard] problem with fetch in 1.2.4
Seems kinda hard to imagine that this is an undiscovered bug, but I can't see what else could be wrong here. content is indeed not returned. Alexander, I think this deserves to be amended in 1.2.6, no? I've already fixed this when had been rewriting Midgard-PHP module (taking off many common code pieces to Midgard-lib and wrapping 'change'-functions with repository checking I've found this broken 'content') so Midgard 1.2.6-beta2 will fix this bug. Sounds like we'd benefit from release notes with 'known bugs and workarounds' lists for the various versions. Part of the 'Midgard Documentation Project', I suppose. Paul N. -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re[4]: [midgard] problem with fetch in 1.2.4
Hello Emiliano, you wrote: I've already fixed this when had been rewriting Midgard-PHP module (taking off many common code pieces to Midgard-lib and wrapping 'change'-functions with repository checking I've found this broken 'content') so Midgard 1.2.6-beta2 will fix this bug. Another good thing would be to add non-_all calendering functions. It will be added to the todo list for things need to be implemented after releasing 1.2.6beta2 but before stable one. I have about five serious entries on TODO list for beta2 so calendering will be slightly delayed, ok? There was a short discussion a while ago on the parser bit that broke phpMyAdmin -- you spotted the location I think. Did you ever get anywhere with that? No. I asked some people whether LEX-guru could be found but failed to actually find them :-( It seems that your last variant was "correct", probably it will go to beta2 for real testing? Also about other things: 1) all i18n and l10n functionality now (in 1.2.6beta2) driven by mod_midgard's directives in Apache configuration file on per-direcotry basis, so mod_midgard and lib-midgard now could be packaged to RPM and used simultaneously for English and Russian versions. The only package that needed to be packaged differently is Midgard/PHP because support for Russian in it requires compilation with mod_charset module support included which is not available in ordinary Apache (but all i18n and l10n dependencies in Midgard code now only in Midgard-lib, other modules rewritten to be language-neutral and to use libmidgard's localization API). It took a big amount of time to implement it but now you can have, for example, /finnish/ sub-directory where all content goes through HTML Entities' translation, and /russian/ where this translation is switched off. More over, a mail created from script under /finnish/ will automatically use ISO-8859-1 encoding and quoted-printable for message body, and the same beast from /russian/ sub-direcotry will automatically wrapped by KOI8-R encoding without quoted-printable. I think we are really close to true multi-language solution. It is quite simple to add similar behaviour for German, French and other European languages (at first, others require additional reencoding). 2) Midgard-lib API now has generalized support for tree traversing and will have C-implemented copying/moving/deleting for trees. It greatly improves Midgard Admin Site for real production servers. 3) PHP 3.0.14 which works brilliantly with beta2, by default puts X-Powered-By string into all outgoing headers announcing its version. It looks like: X-Powered-By: PHP 3.0.14 + Midgard 1.2.6 which is generally speaking True for Midgard-driven sites :-) Best regards, Alexandermailto:[EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
Re[2]: [midgard] SuSE 6.3 RPMs available
Hello David, you wrote: The strange SuSE httpd.conf IfDef statements make sense if you look at the script in /sbin/init.d/apache. The start up script looks for particular modules, then add a -D PHP or whatever to the start-up. I guess they thought it would be easier to change the start-up script than httpd.conf when you want to run Apache with or without particular modules. It is, but they didn't document it! It is described in Apache documentation along with IfModule statement which is also could be used for tuning up. Best regards, Alexandermailto:[EMAIL PROTECTED] -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] 1.2.6 upgrade
What does it take to upgrade to 1.2.6 from 1.2.5? Is it just a matter of moving the DB? = . \\|// (O-O) *--oOO--(_)--OOo-* * Sender: Derek Beattie* * Personal: [EMAIL PROTECTED]* * Business: [EMAIL PROTECTED]* ** __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] php code
I think I am loosing my mind... i was under the understanding that the source code for your project was written in php, however I wasn't able to find any php in the downloaded files, can you please explain how the system is using php? -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]
[midgard] Re: help
I think i'm going crazy. I was refered to the midgard system because it is written in php, however I can't find any php code anywhere in the downloaded files I have. The midgard-data package has a file midgard.sql. It contains the PHP code for the default Admin site and the demo site. Once loaded into the database (as per instructions in the INSTALL file from the package) and apache is configured you'll be able to view the PHP code from the admin interface. emile -- This is The Midgard Project's mailing list. For more information, please visit the project's web site at http://www.midgard-project.org To unsubscribe the list, send an empty email message to address [EMAIL PROTECTED]