Re: [midgard-user] Midcom 2.6 schema and sql files

2006-02-24 Thread Piotras
tarjei [EMAIL PROTECTED] wrote:

 2. Release Midcom for 1.7 with a simple update script as a stopgap measure.
 
 Item (2) raises tow new questions:
 a) Should this release be done with pear?

Absolutely not.

 b) If if should be done with pear, how should we package and run the 
 tableupdates?

The same way as dg handles it now. But pearized MidCOM is not going to be 
included in some 1.7 release.
If we need this , we need to move dg from HEAD to 1-7 branch.
 
 I'm wondering as I'm trying to get the pear installations running on the 
 testbox and I see this and the issues on static dirs as the main 
 problems at the moment.

1. Tables create and update.

a) Use midgard-schema
b) DG automagically handles sql files placed in sql/update subdirectory.

2. I have no idea about static dirs and pear.

3. DG in HEAD supports pear and pearized midcom. This is initial as I still 
do not know what packages should be installed.

Piotras

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



[midgard-user] ANNOUNCEMENT: Midgard 1.7.4 Kick released!

2006-02-21 Thread Piotras

Lodz, February 21st 2006 -- The Midgard Project has released stable  
release version 1.7.4 of the Midgard Open Source Content Management System.  

Midgard's 1.7 branch is a major overhaul of the whole Content  
Management System. Besides the stable and mature Content Management  
features of first generation Midgard, it also ships a preview version  
of second generation Midgard capabilities, allowing developers to  
have a glimpse at the new day of Midgard2.

1.7.4 is maintenance and bugfix release.

Midgard 1.7 for end users

For the end users, Midgard 1.7 brings the mature MidCOM Content  
Management interface version 2.4, and the new Midgard Site Wizard for  
easy website creation.

The new MidCOM has been developed with performance in mind, and has  
been moved from the Midgard database into the file system. MidCOM  
also includes a new output caching system.

In addition to performance, MidCOM's new features include a full- 
fledged metadata management system and integrated content search  
using Apache Lucene.

Midgard Site Wizard is the new default way of building Midgard  
powered websites. System administrator can use the easy web-based  
tool for setting up new organizations, websites and layout templates  
within the Midgard database.

Be in control of your content On the applications front, Midgard  
includes several new tools, including a social bookmarks manager and  
an online order processing and shop system.

Midgard 1.7 for developers

For developers, Midgard 1.7 brings the first preview of the Midgard2  
programming interfaces, including MgdSchema, Java support and the new  
Query Builder. The new programming interfaces ensure greater  
flexibility, and have already been tested in demanding environments.  

MgdSchema is the new object model for Midgard built on top of the  
GObject libraries. Define your own data structure in schema XML  
files, and get the full querying and extension mechanisms of Midgard  
available for them.

Midgard's new Java support provides full Java Content Repository  
support for the Midgard Content Management System. This enables  
integration and content migration between Midgard and other  
enterprise systems.

Midgard Query Builder is the new way to build database queries within  
the Midgard database. It supports grouped OR queries, and making  
queries from all properties of the MgdSchema objects.

The MidCOM component framework bundled with Midgard 1.7 includes also  
several developer-friendly features. The new Component Base Classes  
make component development fast and easy, and the sessioning service  
enables writing of continuous applications.

Changes from 1.6.0 releases:

   Midgard-core
   * MgdSchema (Data structure abstraction layer)
   * New internal types builded with GObjects and GType system
   * XML based types definition

   Midgard-apache modules
   * New MidgardSchema directive for pointing correct MgdSchema path.
   * Page and style elements are handled by midgard internals data  instead of  
Apache tables.

   Midgard-php4
   * Classes are defined in XML file
   * New API methods for new MgdSchema objects
   * Ability to run midgard-php from command line
   * API changes:
 - mgd_auth_midgard does not send cookie anymore
   
http://www.midgard-project.org/documentation/reference/other/mgd_auth_midgard.html
   * MidgardQueryBuilder class creates and executes SQL queries

   Midgard-data
   * New file system based MidCOM 2.4 architecture
 - Integrated full-text search using Apache Lucene
 - Metadata management system
 - Several new components including bookmarks management and online store
   * New midcom-template package
   * Site Creation Wizard for easy Midgard site building
   * New style templates ready to use with the Site Wizard
   * Datagard's 'update database' option is changed to make updates from 
previous Midgard installations
   * PEAR packages installation supported by Datagard

Changes from 1.7.3 release:

   Midgard-core
   * Fixed random abort errors in object's quota size function.
   * Rewritten resource handler for multilang records 
   * Fixed memory management in midgard tree functions   
  
   Midgard-php
   * Empty Query Builder's result doesn't produce warning message
   * Fixed duplicated repligard records 
   * Objects properties correctly set from resource handler
   
   Midgard-data 
   * Cache directory permission fixed
   * Missing repligard's author column fixed

Planned for next releases

   * Next scheduled 1.8alpha2 release: March 2006
   * Automated testing releases
   * Automated database MgdSchema management and table initialization
   * Deprecation of the classic functional Midgard API in favor of
 MgdSchema and Query Builder

Download page for latest release:
http://www.midgard-project.org/download/1.7.html

List of changes made in MidCoM 2.4.6:
http://www.midgard-project.org/midcom-permalink-4eceeb29a3b3bbdae31b2b7557d8d0e8

Features and screenshots:

RE: [midgard-user] How to use flash notes with n.s.photos?

2006-02-16 Thread Piotras
 This could possibly be a Flash version issue.

 Do you see this properly?

 http://www.midgard-project.org/community/gallery/
 mgdschema_workshop_pickala_2005/mgdschema-workshop-participants


 Looks like God damned hellraider from Redmond makes fun from me. FF works 
 like a
 charm, IE doesn't. The picture from m-p.org doesn;t load at all :(. Need to 
 check it
 at home too.

It works nowhere in my case.
I tested with FF 1.0, 1.3 and 1.5.

Only small boxes without fonts.

Piotras


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



Re: [midgard-user] problem with migard 1.8alpha1

2006-01-24 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Turn out I make symbolic link when I compile that. I only have  
 libglib-2.0.so.0.800.1  
 My glib2 dan glib2-dev is 2.8.1-3  
 Do I have correct glib2 version or I have to change glib to get what the  
 compiler ask  

GLib version is correct. We expect = 2.4.
Can you run:

1. `midgard-config --report` 
2. ldconfig -v | grep libglib

and send the output?

Piotras

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



Re: [midgard-user] New Blog and and 1 question

2006-01-24 Thread Piotras
med [EMAIL PROTECTED] wrote:

 Now for the question:
 I'd like to set up a multi-language site without midcom using old-aegir style
 (well actually it's about adding english translation-articles to a german 
 site)
 , but midgard-api-reference about the language section is a bit behind of 
 normal completeness... 
 Has anyone done something like that and can give some usefull tips/tutorials 
 to that?

All you have to do is to call mgd_set_lang($int lang).
When article is created set lang to de and call update method.
This will create german translation of Your article.

?php
$art = new midgard_article();
$art-get_by_id($id);

mgd_set_lang($de_lang_id);

$art-content = german content;
$art-update();

mgd_set_lang(0);
?

Of course you must set and define lang somehow. It may be passed
in url , set from browser, etc.

Set lang again to get article with correct translation.

?php

/* some code which gets current lang */

mgd_set_lang($lang_id);

$art = new midgard_article();
$art-get_by_id($id);

?
(art.content);


Piotras

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



Re: [midgard-user] multi database cache

2006-01-16 Thread Piotras
Wojciech Chmielewski [EMAIL PROTECTED] wrote:

 Hi 
 We have quite same problem... but we have only one db.
 
 We have  Midgard 1.6.3 with Mulitlang/Midcom, about 60 hosts in several
 companies..  MidgardPageCacheDir /var/cache/midgard/
 Some styles are shared and used by several hosts in different companies.

By default we set /var/cache/midgard/. You can change this location to any 
directory which suits you and is apache user and group writeable.
 
 Problem:  the different files are the same auto-generate filename and they
 are permanently rewrite.
 
 What means: 84-639-153-0.php (I see page_id, element_id ??).

page id , style  id , host id , sitegroup id ( in no particular order ) 

 It is possible to change this auto-generate filename? 

Yep, you should patch apache module.
But it looks like you serve companies or hosts withing SG0.
1.6.x  branch serves cache files even when the same style and the same root 
page is used by different 
sitegroups ( companies ).

Piotras



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



Re: [midgard-user] multi database cache

2006-01-05 Thread Piotras
Ingo Herz [EMAIL PROTECTED] wrote:

 Hello,
 
 we have a Midgard/MidCOM setup with some vhosts, grouped into multiple 
 Midgard 
 databases (one for each customer). It runs on Debian sarge with Midgard 1.7.3 
 from debs, MidCOM site template (2005.11.10) and Apache 1.3. Databases and 
 vhosts were created with datagard.
 
 Now the problem: cache-files seem to be created unique per database, but can 
 be the same for different pages in different databases. So I was very 
 confused as one site got the layout of another etc...
 
 Do I have to set different MidgardPageCacheDirs for the vhosts or what else 
 can I do to avoid this?

MidgardPageCacheDir /var/cache/midgard/$dbname

chown -R www-data.www-data /var/cache/midgard/$dbname
chmod -R 771 /var/cache/midgard/$dbname

Piotras

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



Re: [midgard-user] multi database cache

2006-01-05 Thread Piotras
Eero af Heurlin [EMAIL PROTECTED] wrote:

 
 DataGard should do this automatically btw (I mentioned this on IRC
 yesterday)
 
  chown -R www-data.www-data /var/cache/midgard/$dbname
  chmod -R 771 /var/cache/midgard/$dbname
  
 
 Same here.

Yep , will be included in 1.7.4.
Already in stable branch.

Piotras

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



Re: [midgard-user] Charset question

2005-12-19 Thread Piotras
med [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Maybe this is not really a midgard-question, but it is a bit annoying:
 I have just installed midgard 1.7.3 to a new system on SuSE 9.3
 It compiled just fine and is running smoothly.
 Character encoding is set to utf-8 in midgard-VHOST.conf but aegir doesn't 
 display german special signs correctly.
 I have set the default language for aegir to de since we have only german 
 customers here...
 Any ideas ???

Probably Aegir doesn't support UTF-8. 
Page or frame may use iso-8859-1 in Your case.

Piotras

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



[midgard-user] [Announcement] Midgard 1.8alpha1 Stylish released

2005-12-19 Thread Piotras
Midgard 1.8alpha1 Stylish released.

Lodz, December 19th 2005 -- The Midgard Project has released the first
alpha release version for the upcoming 1.8 stable branch of the 
Midgard Open Source Content Management System.  

Midgard's 1.8 branch focus on improved stability for Midgard2 technology 
preview features introduced in 1.7 branch.  

New branch provides metadata for all objects registered from schemas. 
Improved MgdSchema types managament includes features like automatic
guid accessibility and ISO datetimes.

Midgard-schema, new command line tool creates database's storage tables
and performs tests on registered types before implementing application 
in production environment.

PHP is no more the only one scripting language supported by Midgard.
Due to MgdSchema technology Midgard provides better connectivity for 
Java developers.

1.8 branch is the last one Midgard branch with repligard.
A new Java tool, Exorcist is available as a preview for general database 
replication, including Midgard and other CMS's databases. 

Due to metadata changes in core, classic midgard-php API shouldn't be used
to create or update records which should be represented with MgdSchema objects.
Datagard introduces new database update functionality for systems where full
database integrity between old and new API is required.

Changes from 1.7 branch:

   Midgard-core
   * Metadata for all MgdSchema objects
   * Support for ISO metadata datetimes 
   * New Quota for MgdSchema objects
   * Rewritten database SELECTs with performance in mind
   * Metadata and joined objects supported by MidgardQueryBuilder
   * Guids support for objects and metadata 
   * New midgard-schema command line tool for testing schemas and creating 
database tables  

   Midgard-data
   * repligard as part of midgard-data package
   * exorcist , a new tool for database replication 
   
Planned for next releases

   * Next scheduled 1.8beta1 release: December 28th 2005
   * Automated testing releases
   * Automated database MgdSchema management and table initialization
   * Deprecation of the classic functional Midgard API in favor of
 MgdSchema and Query Builder

Download page for latest release:
http://www.midgard-project.org/download/1.8.html

Getting started with Midgard:
http://www.midgard-project.org/documentation/

Bugs reporting:
http://midgard.tigris.org/issues/reports.cgi

User and developers support:
Mailing list: user@midgard-project.org
IRC: #midgard on irc.midgard-project.org

About Midgard

The Midgard Content Management Framework was initially released in May
1999, and has since gathered a sizable user and developer community.
Midgard powers thousands of web sites ranging from simple organizational
websites to major portals like New Zealand eGovernment site and
Playbill.

Midgard is being developed by an international team of professionals.
Midgard's development team includes new media designers, system
integrators and content management consultants. Midgard development is
being supported by several commercial and governmental entities
including the European Union.

Piotr Pokora, Midgard release manager
[EMAIL PROTECTED]

Henri Bergius, Midgard spokesman
[EMAIL PROTECTED]

The Midgard Project
http://www.midgard-project.org/

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



Re: AW: [midgard-user] Charset question

2005-12-19 Thread Piotras
med [EMAIL PROTECTED] wrote:

  Probably Aegir doesn't support UTF-8. 
  Page or frame may use iso-8859-1 in Your case.
 
 On a standard midgard 1.7.3 install?

Yes. 
Apache sets default charset to utf-8 , but Aegir probably uses
meta http-equiv=content-type content=application/xhtml+xml; 
charset=iso-8859-1 /
Which overwrites utf settings.

Piotras

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



Re: AW: AW: [midgard-user] Charset question

2005-12-19 Thread Piotras
 Hmm, not as far as I can see, cant find any such meta-directive when looking 
 at the
 HTML-source...
 You may take a look for yourself:
 http://www.demo.galf-it.de/aegir

 Any other ideas that come to mind?

Yep , the only one is that localization was done with non utf interface.

Piotras


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



Re: [midgard-user] Midcom - Newbie question

2005-12-18 Thread Piotras
 I am trying to include some external php in midcom, but somehow don't get 
 it...
 It used to be quite easy with aegir, but since i'm kind of new to midcom i 
 din't
 know where to put the include-statement.
 Here is what i did:
 - - Create a new topic
 - - chose de.linkm.taviewer as Component for that ( all other components 
 didnt seem
 to fit)
 - - tried to add ? include('/path/to/external/file.php'); ? somewhere but 
 didnt
 find the right place..

Include this is code-compat page element.
This one is only one user defined for anything which should be done before ROOT
element is parsed.
Or include it in style element.

Piotras


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



Re: [midgard-user] Strange segfaults in apache

2005-12-12 Thread Piotras
Brandl, Gernot [EMAIL PROTECTED] wrote:

 Hi,
 I am running midgard on CentOS 4.2 (httpd-2.0.52, php-4.3.9). I built
 the rpm packages from the SRPMS and installed them.

Midgard version?

 Midgard runs fine but if I call something which is NOT served through
 midgard (i.e. phpMyAdmin) something goes wrong. It seems like the
 apache-process (on some requests) is being killed and the requested file
 isn't served. 

Some special Apache directives in configuration?
phpMyAdmin is subdirectory ( or even linked one ) under Midgard DocumentRoot?
Or do you set some alias or something similiar in apache configuration?
 
 In the apache-log I then can find the following entry:
 [Mon Dec 12 10:31:37 2005] [notice] child pid 32744 exit signal
 Segmentation fault (11)

Segfaults are never good thing. Fortunatelly this happens at request end :/

Piotras

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



Re: [midgard-user] Strange segfaults in apache

2005-12-12 Thread Piotras
Brandl, Gernot [EMAIL PROTECTED] wrote:

  Midgard version?
 1.7.3
 
  Some special Apache directives in configuration?
  phpMyAdmin is subdirectory ( or even linked one ) under Midgard
 DocumentRoot?
 Or do you set some alias or something similiar in apache configuration?
 
 /etc/httpd/conf.d/phpmyadmin.conf:
 Alias /phpmyadmin /var/www/html/phpmyadmin

OK, I think it's general midgard-apache module problem.
ln -s /var/www/html/phpmyadmin /midgard/documentroot/phpmyadmin 
This should do the trick. Not best , but not resolvable other way today.

Piotras

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



Re: [midgard-user] Error writing BLOB: cannot open file

2005-11-25 Thread Piotras
Gabriel Perez S. [EMAIL PROTECTED] wrote:

   (process:16965): repligard-CRITICAL **: Error writing BLOB:
   cannot open
   file /var/www/blobs/6/2/b0af61f2563f9dcb5b0a644d1aff9cdd for
   writing
  
  Looks like you are out of disk space or try to use repligard as non root.
 
 Ok, but if I use repligard as non root user, the files in /etc/midgard
 they have read permissions only by root (in default Debian instalation).
 this mistaken? change the permissions?

Sorry , I do not understant.
All config files are created with umask 0177.
And this shouldn't be changed.
 
   NOTE: To install as non root user I try www-data user (apache user), is
 ok? 

no , install as root.

Piotras

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



Re: [midgard-user] Error writing BLOB: cannot open file

2005-11-24 Thread Piotras
Gabriel Perez S. [EMAIL PROTECTED] wrote:

 (process:16965): repligard-CRITICAL **: Error writing BLOB:
 cannot open
 file /var/www/blobs/6/2/b0af61f2563f9dcb5b0a644d1aff9cdd for
 writing

Looks like you are out of disk space or try to use repligard as non root.
 
 I try create blobs/6/2 and others directorys then it try write but de
 final error is this:
 
 (process:17021): REPLIGARD/READ-CRITICAL **: Failed to allocate
 delayed resource 3ddef2cb2be8608616c4cf332f184ff3 as a link pid
 for blobs ().
 
 Now I lost... need somthink support, what is blobs in midgard?

Blobs is a directory where all attachments are kept.

Piotras

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



[midgard-user] [Announcement] Midgard 1.7.3 Quoted released!

2005-11-22 Thread Piotras

Midgard 1.7.3 Quoted released.

Lodz, November 22nd 2005 -- The Midgard Project has released stable  
release version 1.7.3 of the Midgard Open Source Content Management System.  

Midgard's 1.7 branch is a major overhaul of the whole Content  
Management System. Besides the stable and mature Content Management  
features of first generation Midgard, it also ships a preview version  
of second generation Midgard capabilities, allowing developers to  
have a glimpse at the new day of Midgard2.

1.7.3 provides improved Midgard Quota support , new MidCOM release
and fixes in midgard-core.

Midgard 1.7 for end users

For the end users, Midgard 1.7 brings the mature MidCOM Content  
Management interface version 2.4, and the new Midgard Site Wizard for  
easy website creation.

The new MidCOM has been developed with performance in mind, and has  
been moved from the Midgard database into the file system. MidCOM  
also includes a new output caching system.

In addition to performance, MidCOM's new features include a full- 
fledged metadata management system and integrated content search  
using Apache Lucene.

Midgard Site Wizard is the new default way of building Midgard  
powered websites. System administrator can use the easy web-based  
tool for setting up new organizations, websites and layout templates  
within the Midgard database.

Be in control of your content On the applications front, Midgard  
includes several new tools, including a social bookmarks manager and  
an online order processing and shop system.

Midgard 1.7 for developers

For developers, Midgard 1.7 brings the first preview of the Midgard2  
programming interfaces, including MgdSchema, Java support and the new  
Query Builder. The new programming interfaces ensure greater  
flexibility, and have already been tested in demanding environments.  

MgdSchema is the new object model for Midgard built on top of the  
GObject libraries. Define your own data structure in schema XML  
files, and get the full querying and extension mechanisms of Midgard  
available for them.

Midgard's new Java support provides full Java Content Repository  
support for the Midgard Content Management System. This enables  
integration and content migration between Midgard and other  
enterprise systems.

Midgard Query Builder is the new way to build database queries within  
the Midgard database. It supports grouped OR queries, and making  
queries from all properties of the MgdSchema objects.

The MidCOM component framework bundled with Midgard 1.7 includes also  
several developer-friendly features. The new Component Base Classes  
make component development fast and easy, and the sessioning service  
enables writing of continuous applications.

Changes from 1.6.0 releases:

   Midgard-core
   * MgdSchema (Data structure abstraction layer)
   * New internal types builded with GObjects and GType system
   * XML based types definition

   Midgard-apache modules
   * New MidgardSchema directive for pointing correct MgdSchema path.
   * Page and style elements are handled by midgard internals data  instead of  
Apache tables.

   Midgard-php4
   * Classes are defined in XML file
   * New API methods for new MgdSchema objects
   * Ability to run midgard-php from command line
   * API changes:
 - mgd_auth_midgard does not send cookie anymore
   
http://www.midgard-project.org/documentation/reference/other/mgd_auth_midgard.html
   * MidgardQueryBuilder class creates and executes SQL queries

   Midgard-data
   * New file system based MidCOM 2.4 architecture
 - Integrated full-text search using Apache Lucene
 - Metadata management system
 - Several new components including bookmarks management and online store
   * New midcom-template package
   * Site Creation Wizard for easy Midgard site building
   * New style templates ready to use with the Site Wizard
   * Datagard's 'update database' option is changed to make updates from 
previous Midgard installations
   * PEAR packages installation supported by Datagard

Changes from 1.7.2 release:

   Midgard-core
   * Fixed memory leak Query Builder use with referenced objects.
   * Sitegroup is not being set when MgdSchema object is updated 
   * Sitegroup 0 can be used in Midgard Query Builder 
   * Improved midgard quota
   * New quota feature for MgdSchema objects
   * Empty passwords not allowed for persons
   
   Midgard-php
   * new API functions
mgd_check_quota();
mgd_get_sitegroup_size();
   * Arrays and booleans usable with Midgard Query Builder 
   * MySQL 4.1 supported

   Midgard-apache 2
   * PAM support added

   Midgard-data 
   * New MidCOM 2.4.6 included

Planned for next releases

   * Next scheduled 1.8alpha1 release: December 2005
   * Automated testing releases
   * Automated database MgdSchema management and table initialization
   * Deprecation of the classic functional Midgard API in favor of
 MgdSchema and Query Builder

Download page for latest 

Re: [midgard-user] updated debian packages for phpmole

2005-11-17 Thread Piotras
Luke McKee [EMAIL PROTECTED] wrote:

 Hello Guys and Girls,
 
 I've created updated packages for php-gtk for debian (ubuntu breezy). It
 might also work with debian sid.
 The files are available at:
 
 http://lukemckee.mrphp.com.au/midgard/php-gtk/

What about UTF-8 and gtk1 and phpmole?

 I think phpmole is more efficient way of accessing data stored in the
 midgard database. Jukka and piotras are working on making a webdav 2 /
 java content repository that will work with php-eclipse. I'm eagerly
 awaiting this!

Jukka is , Jukka :)

Piotras

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



Re: [midgard-user] Midgard 1.7.2 installation error

2005-10-21 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 Thanks for the tip, now I got Midgard up and running. Unfortunately, it seems 
 to break phpmyadmin again. Is this still the issue where you had to recompile 
 php4-mysql from source? I already tried, but got an error during  make. 
 ayway, here's the backtrace:

 Program received signal SIGABRT, Aborted.
 [Switching to Thread -1214425408 (LWP 24542)]
 0xb7af29e7 in raise () from /lib/tls/libc.so.6
 (gdb) backtrace
 #0  0xb7af29e7 in raise () from /lib/tls/libc.so.6
 #1  0xb7af431b in abort () from /lib/tls/libc.so.6
 #2  0xb7b29365 in __fsetlocking () from /lib/tls/libc.so.6
 #3  0xb7b30697 in free () from /lib/tls/libc.so.6
 #4  0xb7b31c4c in malloc () from /lib/tls/libc.so.6
 #5  0xb729f6b9 in my_malloc () from /usr/lib/libmysqlclient.so.14

It's php4-mysql issue. Not midgard. 
You probably use libmysqlclient14 while php4-mysql is compiled against 12.

Piotras

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



Re: [midgard-user] how to copy a sitegroup in midgard 1.7.2

2005-10-20 Thread Piotras
Eero af Heurlin [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: RIPEMD160
 
 Ingo Herz wrote:
  I'm trying to copy a sitegroup now. Could someone please point me to a doc 
  or 
  explain how I have to do that?
  
 
 A whole sitegroup ? I'd guess the best way would be to export it (with
 exorcist, repligard has issues in 1.7.x when exporting) and then import
 to new SG, though the guids would have to be randomized somehow...

repligard exports SGs. It is confirmed to work with 1.7.1.
The only issue is datagard.

Piotras

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



Re: [midgard-user] how to copy a sitegroup in midgard 1.7.2

2005-10-20 Thread Piotras
Ingo Herz [EMAIL PROTECTED] wrote:

 In former days I exported the source with repligard (scheme withsg), imported 
 as admin (without SG), got a new unnamed SG, renamed it and all was fine. 
 This doesn't work anymore. Tried to export and import with schem i18n_po, but 
 the result is somewhat mixed up.

I think You imported then with repligard.xml. (without sg).
i18n_po schema has sg information , thus some records may be broken.

Piotras

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



Re: [midgard-user] Midgard 1.7.2 installation error

2005-10-20 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 Hi!
 
 I'm trying to install Midgard on Debain Testing. In downloaded, compiled and 
 install midgard-core without problems, but when I try to 
 
 ./configure--with-apxs2=/usr/bin/apxs2  --with-apr-config=/usr/bin/apr-config 

--with-midgard-config=PATH   Full path to midgard-config (including the 
filename).

Piotras

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



Re: [midgard-user] how to copy a sitegroup in midgard 1.7.2

2005-10-20 Thread Piotras
Ingo Herz [EMAIL PROTECTED] wrote:

 Am Donnerstag, 20. Oktober 2005 15:31 schrieb Piotras:
  Ingo Herz [EMAIL PROTECTED] wrote:
   In former days I exported the source with repligard (scheme withsg),
   imported as admin (without SG), got a new unnamed SG, renamed it and all
   was fine. This doesn't work anymore. Tried to export and import with
   schem i18n_po, but the result is somewhat mixed up.
 
  I think You imported then with repligard.xml. (without sg).
  i18n_po schema has sg information , thus some records may be broken.
 
 No, the first time I tried export and import with i18n_po and saw the 
 sitegroup information in the xml.

I meant versions before 1.6.

 How do I have to set the username/password 
 for doing this? Are there differences in exporting with admin*SG and 
 SGadmin+SG? And the same question for the import...

Set sitegroup guid in repligard conf and export as SG0 admin using i18n_po 
schema.
In new db create new sitegroup with trhe same name and new admin with the same 
login.
Edit i18n_po to remove sg data and import as new created SGx admin.
That should work IIRC.

I do not remember login delimeters :/ ( admin+sg ) should be fine.

Piotras

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



Re: [midgard-user] Compile error on both Fedora 4 and OpenBSD

2005-10-14 Thread Piotras
 Hi list

Hi,

 I get a compile error with midgard-core-1.7.2 on both Fedora 4 and OpenBSD
 3.7, but it configures fine on both. This is the make output from Fedora:

 src/midgard.c:2566: warning: implicit declaration of function
 'g_string_append_printf'

You need to install glib 2.4 and its development files.

Piotras


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



Re: [midgard-user] Repligard problems (staging/live)

2005-10-12 Thread Piotras
Thomas E. Ruth [EMAIL PROTECTED] wrote:

 Anybody out there know whats wrong?

Yes. Repligard replicates database.
Staging/live scripts breaks this.

Piotras

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



[midgard-user] [Announcement] Midgard 1.7.2 Plugged released.

2005-10-10 Thread Piotras

Lodz, October 10th 2005 -- The Midgard Project has released stable  
release version 1.7.2 of the Midgard Open Source Content Management System.  

Midgard's 1.7 branch is a major overhaul of the whole Content  
Management System. Besides the stable and mature Content Management  
features of first generation Midgard, it also ships a preview version  
of second generation Midgard capabilities, allowing developers to  
have a glimpse at the new day of Midgard2.

1.7.2 is a bugfix release.

Midgard 1.7 for end users

For the end users, Midgard 1.7 brings the mature MidCOM Content  
Management interface version 2.4, and the new Midgard Site Wizard for  
easy website creation.

The new MidCOM has been developed with performance in mind, and has  
been moved from the Midgard database into the file system. MidCOM  
also includes a new output caching system.

In addition to performance, MidCOM's new features include a full- 
fledged metadata management system and integrated content search  
using Apache Lucene.

Midgard Site Wizard is the new default way of building Midgard  
powered websites. System administrator can use the easy web-based  
tool for setting up new organizations, websites and layout templates  
within the Midgard database.

Be in control of your content On the applications front, Midgard  
includes several new tools, including a social bookmarks manager and  
an online order processing and shop system.

Midgard 1.7 for developers

For developers, Midgard 1.7 brings the first preview of the Midgard2  
programming interfaces, including MgdSchema, Java support and the new  
Query Builder. The new programming interfaces ensure greater  
flexibility, and have already been tested in demanding environments.  

MgdSchema is the new object model for Midgard built on top of the  
GObject libraries. Define your own data structure in schema XML  
files, and get the full querying and extension mechanisms of Midgard  
available for them.

Midgard's new Java support provides full Java Content Repository  
support for the Midgard Content Management System. This enables  
integration and content migration between Midgard and other  
enterprise systems.

Midgard Query Builder is the new way to build database queries within  
the Midgard database. It supports grouped OR queries, and making  
queries from all properties of the MgdSchema objects.

The MidCOM component framework bundled with Midgard 1.7 includes also  
several developer-friendly features. The new Component Base Classes  
make component development fast and easy, and the sessioning service  
enables writing of continuous applications.

Changes from 1.6.0 releases:

   Midgard-core
   * MgdSchema (Data structure abstraction layer)
   * New internal types builded with GObjects and GType system
   * XML based types definition

   Midgard-apache modules
   * New MidgardSchema directive for pointing correct MgdSchema path.
   * Page and style elements are handled by midgard internals data  instead of  
Apache tables.

   Midgard-php4
   * Classes are defined in XML file
   * New API methods for new MgdSchema objects
   * Ability to run midgard-php from command line
   * API changes:
 - mgd_auth_midgard does not send cookie anymore
   
http://www.midgard-project.org/documentation/reference/other/mgd_auth_midgard.html
   * MidgardQueryBuilder class creates and executes SQL queries

   Midgard-data
   * New file system based MidCOM 2.4 architecture
 - Integrated full-text search using Apache Lucene
 - Metadata management system
 - Several new components including bookmarks management and online store
   * New midcom-template package
   * Site Creation Wizard for easy Midgard site building
   * New style templates ready to use with the Site Wizard
   * Datagard's 'update database' option is changed to make updates from 
previous Midgard installations
   * PEAR packages installation supported by Datagard

Changes from 1.7.1 release:

   Midgard-core
   * Fixed memory leak in style and page elements engine.
   * Fixed version string in midgard-config

   Midgard-php
   * Fixed memory leak in mgd_include_snippet   

   Midgard-apache ( both modules ) 
   * Style and page elements initialized only when midgard-root is served.

Planned for next releases

   * Next scheduled 1.8alpha1 release: October 2005
   * Automated testing releases
   * Automated database MgdSchema management and table initialization
   * Deprecation of the classic functional Midgard API in favor of
 MgdSchema and Query Builder

Download page for latest release:
http://www.midgard-project.org/download/1.7.html

Features and screenshots:
http://www.midgard-project.org/midgard/1.7/

Getting started with Midgard:
http://www.midgard-project.org/documentation/

Bugs reporting:
http://midgard.tigris.org/issues/reports.cgi

User and developers support:
Mailing list: user@midgard-project.org
IRC: #midgard on irc.midgard-project.org

About Midgard

The Midgard Content 

Re: [midgard-user] Using midgard-php from the command line

2005-10-08 Thread Piotras
 Hello

Hi!

 Not connected to the Midgard database

 I am using Midgard from CVS with php 4.3.10.

mgd_get_midgard
It uses CHECK_MGD macro with rcfg check.

Follow $_MIDGARD.

Piotras


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



Re: [midgard-user] Midgard request failed

2005-10-06 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Hi,
 
 Already reinstall midgard and the problem still remain.
 Even if i try to open spider-admin. It then ask username and and password,
 but after giving correct SG0 username and password (admin/password) apache
 still give me page not found error instead of spider admin interface.
 PLease anyone give me a clue to solve this

Add this directive to vhost :
MidgardLog debug+ /var/log/midgard.log
( remove later, when all is fine )

Set Apache log level to debug.

Request page and upload somewhere ( if possible ) apache, php and midgard logs.

Piotras

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



Re: [midgard-user] Midgard request failed

2005-10-06 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 I don't know what I just did, now the error in apache log become
 Permission denied: Midgard: Couldn't create cache file

chmod -R 771 /var/local/cache
chown -R www-data:www-data /var/local/cache

it is described in troubleshooting section on midgard project website

Piotras

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



Re: [midgard-user] non-multilang ?

2005-10-03 Thread Piotras
Pascal Mayer [EMAIL PROTECTED] wrote:

 
 Hi
 
 I tried to import an SG0 package (from a 1.4.4 Midgard installation)
 with datagard but I get an error.
 
 After the first try I changed the password to the default one and
 exported it again but I didn't work either.

Look at /etc/midgard/.midgard-data.config. Maybe some typo with password?

Piotras

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



Re: [midgard-user] non-multilang ?

2005-09-30 Thread Piotras
Pascal Mayer [EMAIL PROTECTED] wrote:

 thank you for your help. Does the multilang upgrade work for all
 versions? The website currently runs on Midgard 1.4.4.

Yep, there should be no problem with 1.4 to 1.7 update.
 
 Is Midgard 1.7.1 fully backward compatible or may we encounter any
 compatibility problems (deprecated functions, other function
 parameters)?

mgd_auth_midgard , third cookie parameter is ignored
preferences are deprecated ( not sure if supported ) 
pagelinks not supported
 
Piotras

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



Re: [midgard-user] midgard-php4-1.5.0 compile problem

2005-09-29 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Hi,
 
 I try to run mkall script for compiling midgard-php4-1.5.0 and got error
 
 Configuring for:
 PHP Api Version: 20020918
 Zend Module Api No:  20020429
 Zend Extension Api No:   20050606
 Cannot find autoconf. Please check your autoconf installation and the
 $PHP_AUTOCONF
 environment variable is set correctly and then rerun this script.
 
 I use php 4.4.0 and compile it from the source. Help please

OS?

Piotras

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



Re: [midgard-user] midgard-php4-1.5.0 compile problem

2005-09-29 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 
 I'm using Debian Sarge

dpkg -s autoconf

Piotras

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



Re: [midgard-user] midgard-php4-1.5.0 compile problem

2005-09-29 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Solve
 but now give me another error
 
 /home/oeng/debmid/midgard-php4-1.5.0/mgd_internal.h:436: error: syntax error
 before '*' token

Please upload somewhere full output.

Piotras

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



Re: [midgard-user] midgard-php4-1.5.0 compile problem

2005-09-29 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Hi Piotras
 
 I put the full output in the attachment and on walhi.or.id/output.txt

Please , do not attache such output if upload anywhere is possible.
We are not alone reading this list.

And do not send the same mail twice ;)


In file included from /home/oeng/debmid/midgard-php4-1.5.0/php_midgard.h:37,
 from /home/oeng/debmid/midgard-php4-1.5.0/midgard.c:25:
/usr/include/midgard/midgard.h:35:18: glib.h: No such file or directory

apt-get install libglib1.2-dev

Piotras

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



Re: [midgard-user] midgard-php4-1.5.0 compile problem

2005-09-29 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Sorry... accidently press reply all :D
 Thanks Piotras... problem solved

No problem.
I just wonder how did you manage compile midgard-lib without glib-dev

Piotras


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



Re: [midgard-user] problem compiling midgard on SLES 9

2005-09-27 Thread Piotras
Zachary Denison [EMAIL PROTECTED] wrote:

 Hello,
 
 I am trying to install midgard from source, on Suse Linux Enterprise
 Server 9.  I meticulously went through all the requirements, and I
 belive that I satisfy all of them.
 
 I am running Apache2.0.54, and I get the same error with both php4.4.0
 and php5.0.5
[...] 
 midgard-php4-1.7.1
 
 I get the following error.  This how I try to compile it:
 
 ./configure --with-php-config=/usr/local/bin/php-config
 --with-midgard=/usr/local/bin/midgard-config
 --with-apxs=/usr/local/apache/bin/apxs
 --with-apr-config=/usr/local/apache/bin/apr-config

Apache and PHP self compiled??
 
 ...
 configure seems to work fine, I didnt include the log here, the error
 occurs when I actually try to make, interestingly, I get the same
 exact error when I use php5 or php4. I actually tried php5 first, then
 downgraded to php4, but first I uninstalled php5.  I would greatly
 appreciate any insight anyone could give me.  Thank you. Zach.

Make sure you use correct php-config.
--with-php-config=/usr/local/bin/php-config

Probably you use PHP5 php-config still while trying to compile against PHP4.

Piotras

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



Re: [midgard-user] problem compiling midgard on SLES 9

2005-09-27 Thread Piotras
 /usr/local/lib/php/extensions/no-debug-zts-20020429

Does it mean you compiled PHP4 with ZTS?
Shouldn't be extension defined as extension/20050606 ?

Piotras



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



Re: [midgard-user] problem compiling midgard on SLES 9

2005-09-27 Thread Piotras

 It is correct that midgard does not work under apache2 with worker-mpm ?

Yes, only prefork is supported.

Piotras


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



Re: [midgard-user] problem with mgd_list_topics

2005-09-21 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 But for topic sahabat :
 
 $sahabat_topic = mgd_list_topics(160);
 echo $sahabat_topic; /* strangely give me error Fatal error: Call to a
 member function on a non-object in ROOT on line 992 */
 
 
 Does anyone can give me a hint why is sahabat topic give me such error?
 (I'm using midgard 1.5)

More code please.
echo $sahabat_topic; is this line 992 ?

Piotras




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



Re: [midgard-user] problem with mgd_list_topics

2005-09-21 Thread Piotras
Uung H.R Bhuwono [EMAIL PROTECTED] wrote:

 Hi Piotras,
 
 I don't know where the line 992 is because there is a lot of pageelement
 included on the page.
 the echo $sahabat_topic; give empty result and I'm hoping it will give me
 Object output like what I do with echo $ttgkami_topic;

So there are no subtopics yet.

 The fatal error thing happen on these following code :
 
 ?
 while ($sahabat_topic-fetch()) { 

Try to control it.

while ( $sahabat_topic  $sahabat_topic-fetch() {
/* do more */
}

or 

if($sahabat_topic = mgd_list_topics(160)) {

while ($sahabat_topic-fetch()) { 
/* do more */
}
}


Piotras

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



Re: [midgard-user] user management

2005-09-20 Thread Piotras
Andreas Alvarez [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to implement a website with a restricted member area. 
 How can I separate this group from accessing the midcom/aegir 
 interface? 

I am not midcom expert , but looks like you need select particular group
while editing topics in ais. This will force login box to be displayed and only 
a member of defined group will be able to log in.

Piotras

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



Re: [midgard-user] segfault on schema registration

2005-09-16 Thread Piotras
David Schmitter [EMAIL PROTECTED] wrote:

  
 0x020b0bf8 in zend_register_functions () from /etc/httpd/modules/libphp5.so
 (gdb) bt full
 #0  0x020b0bf8 in zend_register_functions () from
 /etc/httpd/modules/libphp5.so
 No symbol table info available.
 #1  0x020b143f in zend_disable_function () from
 /etc/httpd/modules/libphp5.so
 No symbol table info available.
 #2  0x05c9594a in _register_midgard_php_classes (key=0x85579e0,
 value=0x85579b8, user_data=0x0)
  at /usr/src/debug/midgard-php4-1.7.1/midgard.c:1739

It is now fixed in branch-1-7.
Not confirmed with CVS HEAD.

Tarballs will be available tomorrow
http://www.midgard-project.org/nightly/branch/

Or now with cvs update.
cvs update -r branch-1-7 midgard

Piotras



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



Re: [midgard-user] Re: Install Midgard 1.7.1-1 on Suse 9.3

2005-09-14 Thread Piotras
Clifford [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
   I am using midgard on SuSE9.3 for a few month now - running smooth, no
  trouble with mysql at all..
 
 Wish I could say the same - I've deleted the whole lot and reinstalled but 
 now its just going around in circles with datagard stating it can't connect 
 to the database - stange how it manages to create all the tables but not 
 import the data to them.

Database is created by MySQL admin , while packages are imported using midgard 
user data.
Are you sure you didn't make any typo with username and password?

Some output with error could be helpfull.
 
 So now I've given up - if the product is going to put up such a fight to be 
 installed then I really do have better and other things to be getting on with.

Well, I doubt you can find any similiar tool. I think there is no such 
framework like midgard.
 
 Leaves me with the impression that a better installation process should be 
 used.

It's not perfect , but it is very good.
From what you wrote till now I think you made mistake with username or 
password.
 
 Many thanks guys for your help - I'll keep an eye on freshmeat for future 
 announcments and hope to see some progress and improvments in the future.

I think there are plenty users who want to help , but please describe your 
errors more detailed.

Piotras

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



Re: [midgard-user] Install Midgard 1.7.1-1 on Suse 9.3

2005-09-12 Thread Piotras
 Ive managed to get Synaptic / Apt to download the 1.7.1 versions of
 Midgard and install them.  Got a bit stuck now as when I goto the root
 folder of specified domain created in datagard, it throws out a 403
 error (access forbidden) and when trying some of the addons 404 error
 (file not found)

 Errorlog shows
   20:38:30 2005] [error] [client] File does not exist:
 /var/lib/midgard/vhosts/yourgite.dyndns.org/80/spider-admin
 [Mon Sep 12 20:43:37 2005] [error] [client] File does not exist:
 /var/lib/midgard/vhosts/yourgite.dyndns.org/80/spider-admin
 [Mon Sep 12 20:43:37 2005] [error] [client] File does not exist:
 /var/lib/midgard/vhosts/yourgite.dyndns.org/80/favicon.ico
 [Mon Sep 12 21:06:31 2005] [error] [client] Directory index forbidden by
 rule: /var/lib/midgard/vhosts/yourgite.dyndns.org/80/

Either Apache usergroup  is not allowed to enter
this directory ( x bit should be enough in 99% of *nix systems ) or some
particular Apache directive disallow reading from this dir.

 I can not see how AEGIR. and spider-admin are supposed to associate
 themselfs within apache.

 How can I trace down where the problem is?

As David mentioned in reply set log level to debug.

 If I remove aegir or spider admin and reinstall them when I run
 Install/Update packages in datagard it just throws up:
 Can't make sub-window at (4,17), size (20,44).
 Done (exit status ok).

Your terminal window is just too small for dialog window.

Piotras


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



Re: [midgard-user] midcom-admin problems

2005-09-08 Thread Piotras
Marcelo N. Halpern [EMAIL PROTECTED] wrote:

 Hi folks,

Hi,
 
 midgard-lib:25874:debug:query=SELECT page FROM cache WHERE host=5 and 
 page=53 AND style=9 AND lang=0 LIMIT 1
 midgard-lib:25874:debug:query failed: Unknown column 'host' in 'where 
 clause'
 [snip]

run datagard
select update from menu

Piotras

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



Re: [midgard-user] Compile Error midgard-core 1.71

2005-09-08 Thread Piotras
 Hi all,

 I just tried to compile midgard-core 1.7.1 on a SuSE 9.3. The following error 
 occurs
 when issuing make:

 src/mgdschema.c:23:27: libxml/parser.h: No such file or directory
 src/mgdschema.c:24:25: libxml/tree.h: No such file or directory

You need libxml2 development packages.
Something like libxml2-dev or similiar.

Piotras


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



Re: [midgard-user] Compile Error midgard-core 1.71

2005-09-08 Thread Piotras
  src/mgdschema.c:23:27: libxml/parser.h: No such file or directory
  src/mgdschema.c:24:25: libxml/tree.h: No such file or directory

 You need libxml2 development packages.
 Something like libxml2-dev or similiar.

 Thanks for even answering the blind! ;-)

Many detils:
http://www.midgard-project.org/midcom-permalink-1aa939c02eef43be93260f20c2d26bb6

 /usr/lib/libexpat.so -lpam -lcrypt /usr/lib/libxml2.so -ldl -lz -lpthread -lm
 /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libglib-2.0.so
 src_repligard_repligard-rpconfig.o(.text+0xe48): In function
 `rpd_readconfig_elt_start':
 src/repligard/rpconfig.c:98: undefined reference to `mgd_table_name'

I am a bit confused.
It comes from tablenames.h and is generated by glib-mkenums.
I doubt you missed glib devel package as you wouldn't compile any file.

Do you have tablenames.h in midgard dir?
Did you have any other errors, which could be ignored?

Piotras







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



[midgard-user] announcement: Midgard 1.7.1 Plug and Pray released

2005-09-07 Thread Piotras
Midgard 1.7.1 Plug and Pray released.

Lodz, September 7th 2005 -- The Midgard Project has released stable
release version 1.7.1 of the Midgard Open Source Content Management System.
Midgard's 1.7 branch is a major overhaul of the whole Content
Management System. Besides the stable and mature Content Management
features of first generation Midgard, it also ships a preview version
of second generation Midgard capabilities, allowing developers to
have a glimpse at the new day of Midgard2.

1.7.1 is a maintenance release and includes bug fixes and some new features.

Midgard 1.7 for end users

For the end users, Midgard 1.7 brings the mature MidCOM Content
Management interface version 2.4, and the new Midgard Site Wizard for
easy website creation.

The new MidCOM has been developed with performance in mind, and has
been moved from the Midgard database into the file system. MidCOM
also includes a new output caching system.

In addition to performance, MidCOM's new features include a full-
fledged metadata management system and integrated content search
using Apache Lucene.

Midgard Site Wizard is the new default way of building Midgard
powered websites. System administrator can use the easy web-based
tool for setting up new organizations, websites and layout templates
within the Midgard database.

Be in control of your content On the applications front, Midgard
includes several new tools, including a social bookmarks manager and
an online order processing and shop system.

Midgard 1.7 for developers

For developers, Midgard 1.7 brings the first preview of the Midgard2
programming interfaces, including MgdSchema, Java support and the new
Query Builder. The new programming interfaces ensure greater
flexibility, and have already been tested in demanding environments.

MgdSchema is the new object model for Midgard built on top of the
GObject libraries. Define your own data structure in schema XML
files, and get the full querying and extension mechanisms of Midgard
available for them.

Midgard's new Java support provides full Java Content Repository
support for the Midgard Content Management System. This enables
integration and content migration between Midgard and other
enterprise systems.

Midgard Query Builder is the new way to build database queries within
the Midgard database. It supports grouped OR queries, and making
queries from all properties of the MgdSchema objects.

The MidCOM component framework bundled with Midgard 1.7 includes also
several developer-friendly features. The new Component Base Classes
make component development fast and easy, and the sessioning service
enables writing of continuous applications.

Changes from 1.6.0 releases:

   Midgard-core
   * MgdSchema (Data structure abstraction layer)
   * New internal types builded with GObjects and GType system
   * XML based types definition

   Midgard-apache modules
   * New MidgardSchema directive for pointing correct MgdSchema path.
   * Page and style elements are handled by midgard internals data  instead of 
Apache tables.

   Midgard-php4
   * Classes are defined in XML file
   * New API methods for new MgdSchema objects
   * Ability to run midgard-php from command line
   * API changes:
 - mgd_auth_midgard does not send cookie anymore
   
http://www.midgard-project.org/documentation/reference/other/mgd_auth_midgard.html
   * MidgardQueryBuilder class creates and executes SQL queries

   Midgard-data
   * New file system based MidCOM 2.4 architecture
 - Integrated full-text search using Apache Lucene
 - Metadata management system
 - Several new components including bookmarks management and online store
   * New midcom-template package
   * Site Creation Wizard for easy Midgard site building
   * New style templates ready to use with the Site Wizard
   * Datagard's 'update database' option is changed to make updates from 
previous
Midgard installations
   * PEAR packages installation supported by Datagard

Changes from 1.7.0 release:

   Midgard-core
   * New type names changed
 midgard_classname convention is used instead of CamelCaps class names
   * New methods for MidgardQueryBuilder type
- setlang
- count
   * Referenced types usable with MidgardQueryBuilder constraints
   * Fixes for types which use multilang content
   * Repligard tool improvements for BSD systems.
   * Fixed segfaults in repligard configured for remote host

   Midgard-php4
   * PHP class registration redesigned
Classes are registered when module is initialized, and no longer
registered with every request which fixes memory leak bug
   * Fixes in request shutdown function which caused random segfaults with
non midgard requests
   * Mac OSX fixes in configuration scripts
   * Fixes for attachments shared between new and old Midgard types

   Midgard-php5
   * This module is no longer developed in favour of PHP5 support
 in midgard-php4 module

   Midgard-data
   * Many fixes for Virtual Hosts 

Re: [midgard-user] virtual host problems

2005-09-07 Thread Piotras


 Hello,

 I have set up Midgard on my web server and it is working fine. Now what I want
 to do is set up another virtual host that servers normal php files, not from
 within Midgard. The problem is, Midgard is answering requests to this seperate
 virtual host and I can't figure out how to prevent Midgard from doing this.
 I've tried inserting MidgardEngine Off in the VirtualHost tag without
 success. I'm using apache2 and have placed my virtual host definition in
 /etc/apache2/vhosts.d.

 Does anyone have a pointer for me?

Stupid question. Do these two vhosts have different names?

Piotras


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



Re: [midgard-user] midgard packages for sarge

2005-09-02 Thread Piotras
 Hi,

 just wanted to test the recent midgard version with debian sarge and apache
 1.3. Added

  deb http://midgard.anykey.se/debian/ stable midgard

 Why does it try to install apache2?

Because Apache2 is default one.

Try this:
apt-get install midgard-data php4-midgard

This should force to install only Apache1 modules.

Piotras


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



Re: [midgard-user] midgard packages for sarge

2005-09-02 Thread Piotras
 Am Freitag, 2. September 2005 10:45 schrieb Piotras:

 OK, but then
 http://www.midgard-project.org/documentation/installation/distros/debian.html
 needs an update :)

ps
I just updated this page

Piotras



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



Re: [midgard-user] Midgard 1.6.3 visiblity problem with firefox

2005-09-02 Thread Piotras
 Hi ,
  I installed midgard 1.6.3 successfully on fedora
 (core 3) . I opened the admin page as ( System Admin)m

/aegir ?
/midgard ?
/spider-admin ?

 but it has visibility problems on firefox. Did anybody
 faced the same thing ?

what means visibility problems ?

Piotras


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



Re: [midgard-user] HELP : different behaviour between midgard 1.5 and 1.7

2005-08-31 Thread Piotras
Rialhon, Jean Yves [EMAIL PROTECTED] wrote:

   if ($resultat = mysql_query($requete)) return $resultat;
   else erreur(Erreur dans la demande : $requeteBR.mysql_error());
 }  common_function contains display func : 

You should use connection handler in mysql_query.

http://php.net/manual/en/function.mysql-query.php

   Warning: mysql_query(): A link to the server could not be established in 
 /usr/lib/apache2/modules/midgard-root-nommp.php(41) : eval()'d code on line 
 159
 
 
 this error occurs since i moved from midgard 1.5 to 1.7. 
 never met such issue on 1.5.

Did you update php4 and MySQL too?

Piotras

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



Re: [midgard-user] RE: **SPAM**::Re: [midgard-user] HELP : different behaviour between midgard 1.5 and 1.7

2005-08-31 Thread Piotras
Rialhon, Jean Yves [EMAIL PROTECTED] wrote:

 Hi, 
 
 I'm migrating from midgard 1.5 + php4 + mysql 3.23 to midgard 1.7 + php4
 + mysql 4.0.
 
 When specify explicitely the database handler it works perfect. I was
 hopping to find another solution preventing me to do such a major change
 in all pages. 

First of all I would suggest to install PEAR DB package.
If you do not want to use it , change a bit your pages connection usage.

1. You may set root's code-global as inherited and delete other pages 
code-global elements.
2. You may move your code to snippet and include it in code-global elements.

Both solutions let you maintain the code *in one place*.

Piotras

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



Re: [midgard-user] Help with Install

2005-08-19 Thread Piotras
Douglas Eadline [EMAIL PROTECTED] wrote:

 I still have a problem. I made sure user apache could read/write in
 /var/cache/midgard and could read in /var/lib/midgard

grep 'midgard-root.php' /etc/midgard/apache/vhosts/$yourhost

You should have line like:
MidgardRootFile /usr/lib/apache2/modules/midgard-root.php

Check if root file exists and if path is correct.

Piotras

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



Re: [midgard-user] Help with Install

2005-08-19 Thread Piotras
Douglas Eadline [EMAIL PROTECTED] wrote:


grep ^'User ' `grep 'APACHE_CONF=' /usr/share/midgard/datagard/datagard.conf| 
sed 's/APACHE_CONF=//g' | sed 's///g'`

ls -l  /var/cache | grep midgard

Make sure , /var directory is at least executable.

Piotras

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



Re: [midgard-user] Help with Install

2005-08-17 Thread Piotras
 I did, but still nothing:

 ls -l /var/lib/midgard
 total 16
 drwxr-xr-x  4 apache apache 4096 Aug 17 15:25 blobs
 drwxr-xr-x  3 apache apache 4096 Aug 16 11:21 vhosts

chmod 111 , not -R ! ( with Apache owner ) would be the best for this dir
not for directories of course

 ls -l /var/cache/
 total 64
 drwx--x--x   2 apache apache 4096 Aug 15 21:58 midgard

chmod 775 , apache group needs some write and read permissions too

Piotras



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



Re: AW: [midgard-user] Installation instructions

2005-08-15 Thread Piotras
 2) The installation process is finished when all the
 necessary rights are given. This should be mentioned more
 explicit in your installating intructions. Many problems are
 caused by this (at least for beginners like me).

 +1 from me, directory rights are a pain in the back with every setup.
 I just keep forgetting to set them for every vhost i set up :)
 Is there a way to implement this in datagard?
 (if this is already done, it fails on SuSE AFAIK)

cache/midgard and lib/midgard permissions are buggy with every release.
Both should be fixed once and for all with Midgard 1.7.1.

Piotras


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



Re: [midgard-user] Help for compiling Midgard on an AMD 64bit SuSE 9.3

2005-08-08 Thread Piotras
Harry Knitter [EMAIL PROTECTED] wrote:

 Hello,
 
 I am trying to install midgard (1.7.0) from source on a SuSE 0.3 64-bit box.
 midgard-core and modgard-apache2 I was able to install after some initial
 problems which I could solve.
 Now I´m trying midgard-php4 an I get a vast list of error messages during 
 make.


20 first errors please

Piotras

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



Re: Re[2]: [midgard-user] midgard-core1.7.0 doesn't compile

2005-08-07 Thread Piotras
 So there's another question: how to compile midgard-apache1 1.6.3
 without NTLM authentication?

 P Does NTLM break anything?

 It breaks ./configure script in midgard-apache1

 checking for midgard/midgard.h... yes
 checking for EAPI/NTLMSSP support... configure: error: EAPI was not found but
 NTLMSSP support was requested. Recompile Apache with EAPI first!

Do you have ssl support disabled too?

Piotras


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



Re: [midgard-user] midgard-core1.7.0 doesn't compile

2005-08-06 Thread Piotras
 Hello,
 I am trying to install Midgard on two systems. One is RedHat 9 and
 another is CentOS 3.5 . On both servers the compilation fails on
 'src/types.c' . Can somebody help me to solve that problem?

You need to have glib 2.4 and its development files installed.

Piotras


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



Re: [midgard-user] midgard-core1.7.0 doesn't compile

2005-08-06 Thread Piotras
 So there's another question: how to compile midgard-apache1 1.6.3
 without NTLM authentication?

Does NTLM break anything?

Piotras


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



Re: [midgard-user] Re: Installing midgard 1.7 on Debian Sarge

2005-07-30 Thread Piotras
 I did as you said, and the error was gone. But Midgard still does not work.
 Now what I get is the listing of directory
 /var/lib/midgard/vhosts/localhost/8001/ :

 Index of /

 NameLast modified  Size  Description
 midcom-static/  28-Jul-2005 21:05-

 Maybe I'm missing something. In fact I have no .htaccess file in
 /var/lib/midgard/

Apache log could be very helpfull.
Also run this command:
apache -S

Piotras



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



Re: [midgard-user] Midgard 1.7.0 Installation

2005-07-26 Thread Piotras
Michael Ross \(NW PCT\) [EMAIL PROTECTED] wrote:

 Any change that in the next release of the installation program you
 could include an option to configure a proxy server for us lot stuck
 behind a firewall?  It just that I noticed during install it tries to
 connect to pear.php.net on port 80 which I assume means its trying to
 grab a package?

Yes, exactly. All we do at this point is calling pear script.
I doubt if we could provide proxy settings :/
But you can change proxy for pear:

pear config-set http_proxy http://my.proxy.com:port

Piotras

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



Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-25 Thread Piotras
Nico Kaiser [EMAIL PROTECTED] wrote:

 However the Midgard packages are compiled agains libmysqlclient14. Which
 is the cause of the segfault problems.

Ok, look at this:

For any debian version ( sarge, etch, sid ) we need mysql-client.
mysql-client depends on libdbd-mysql-perl in every case.

And libdbd-mysql-perl depends:

sarge ( stable ):
libmysqlclient12

etch ( testing ):
libmysqlclient14

sid ( unstable ):
libmysqlclient12 and libmysqlclient14

however dpkg on sid box ( just updated ) shows:

dpkg -s libdbd-mysql-perl

Depends: libc6 (= 2.3.2.ds1-4), libmysqlclient10,

Now tell me what should be done :)

Piotras




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



Re: [midgard-user] Midgard Mac OS X Installation

2005-07-25 Thread Piotras
Robert Guerra [EMAIL PROTECTED] wrote:


Few notes about your blog 
http://www.privaterra.org/blog-rg/second-attempt-to-install-midgard-on-os-x.html


midgard-data

$ sudo mkdir /usr/local/midgard/blobs

not needed

$ sudo chown www:www /usr/local/midgard/blobs

not needed

$ ./configure --with-apache-user=www \
--with-apache-group=www \
--with-blobdir=/usr/local/midgard/blobs \

no such configure switch ( at least I do not know it :)

--with-apxs=/usr/local/apache2/bin/apxs
--with-midgard-config=/usr/local/midgard/bin/midgard-config
$ sudo make install
$ sudo cp midgard-data.conf /usr/local/apache2/conf

no need to copy this file

If something is broken , let me know :)

Piotras




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



[midgard-user] [announcement] Midgard 1.7.0 Vali released

2005-07-25 Thread Piotras
Midgard 1.7.0 Vali released.

Lodz, July 25th 2005 -- The Midgard Project has released the stable  
version of the Midgard Open Source Content Management System.  
Midgard's 1.7 release is a major overhaul of the whole Content  
Management System. Besides the stable and mature Content Management  
features of first generation Midgard, it also ships a preview version  
of second generation Midgard capabilities, allowing developers to  
have a glimpse at the new day of Midgard2.

Midgard 1.7 for end users

For the end users, Midgard 1.7 brings the mature MidCOM Content  
Management interface version 2.4, and the new Midgard Site Wizard for  
easy website creation.

The new MidCOM has been developed with performance in mind, and has  
been moved from the Midgard database into the file system. MidCOM  
also includes a new output caching system.

In addition to performance, MidCOM's new features include a full- 
fledged metadata management system and integrated content search  
using Apache Lucene.

Midgard Site Wizard is the new default way of building Midgard  
powered websites. System administrator can use the easy web-based  
tool for setting up new organizations, websites and layout templates  
within the Midgard database.

Be in control of your content On the applications front, Midgard  
includes several new tools, including a social bookmarks manager and  
an online order processing and shop system.

Midgard 1.7 for developers

For developers, Midgard 1.7 brings the first preview of the Midgard2  
programming interfaces, including MgdSchema, Java support and the new  
Query Builder. The new programming interfaces ensure greater  
flexibility, and have already been tested in demanding environments.  

MgdSchema is the new object model for Midgard built on top of the  
GObject libraries. Define your own data structure in schema XML  
files, and get the full querying and extension mechanisms of Midgard  
available for them.

Midgard's new Java support provides full Java Content Repository  
support for the Midgard Content Management System. This enables  
integration and content migration between Midgard and other  
enterprise systems.

Midgard Query Builder is the new way to build database queries within  
the Midgard database. It supports grouped OR queries, and making  
queries from all properties of the MgdSchema objects.

The MidCOM component framework bundled with Midgard 1.7 includes also  
several developer-friendly features. The new Component Base Classes  
make component development fast and easy, and the sessioning service  
enables writing of continuous applications.

Changes from 1.6 releases:

   Midgard-core
   * MgdSchema (Data structure abstraction layer)
   * New internal types builded with GObjects and GType system
   * XML based types definition

   Midgard-apache modules
   * New MidgardSchema directive for pointing correct MgdSchema path.
   * Page and style elements are handled by midgard internals data  instead of  
Apache tables.

   Midgard-php4
   * Classes are defined in XML file
   * New API methods for new MgdSchema objects
   * Ability to run midgard-php from command line
   * API changes:
 - mgd_auth_midgard does not send cookie anymore
   
http://www.midgard-project.org/documentation/reference/other/mgd_auth_midgard.html
   * MidgardQueryBuilder class creates and executes SQL queries

   Midgard-data
   * New file system based MidCOM 2.4 architecture
 - Integrated full-text search using Apache Lucene
 - Metadata management system
 - Several new components including bookmarks management and online store
   * New midcom-template package
   * Site Creation Wizard for easy Midgard site building
   * New style templates ready to use with the Site Wizard
   * Datagard's 'update database' option is changed to make updates from 
previous Midgard installations
   * PEAR packages installation supported by Datagard

Changes from 1.7rc2 release:

   Midgard-core
   * New metadata methods for MgdSchema objects

   Midgard-php4
   * Metadata functions and object's method implemented
   * Fixed mgd_list_topic_calendar_all function

Planned for next releases

   * Next scheduled release: September 2005
   * Automated testing releases
   * Automated database MgdSchema management and table initialization
   * Deprecation of the classic functional Midgard API in favor of
 MgdSchema and Query Builder

FreeBSD users note

This release is not compatible with FreeBSD.
All Midgard componenets may be compiled and installed on FreeBSD, 
however midgard packages can not be imported to database due to repligard's bug.
This isssue will be resolved in next 1.7.1 release.

Binary packages

Packages for all popular distributions like Fedora Core, Debian , Suse
should be available one day after release, July 26th.

Download page for latest release:
http://www.midgard-project.org/download/1.7.html

Features and screenshots:
http://www.midgard-project.org/midgard/1.7/

Getting 

Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-24 Thread Piotras
 Am Donnerstag, den 21.07.2005, 00:10 +0300 schrieb Aki Immonen:

 Ok, I successfully built and installed the midgard packages, updated the
 database using datagard, converted everything to UTF-8 etc and now the new
 website is up and running.

 But, I have a strange problem with Apache2, it segfaults quite often:

 I have the same problem after a dist-upgrade on Debian Sarge. Again.
 (see http://siriux.net/news/2005/03/02/midgard-vs-debian-sarge/ )

Hmmm... this one should be ice age history now.
Read php4-mysql changelog. Adam Conrad compiles php4 packages against
libmysqlclient12.

 Come on, guys, this is slowly getting really pathetic, there are no
 Midgard packages for Debian Sarge. Which is stable for some weeks
 now...

There is a guy which makes debs. Not guys.
I need help too.

 Installing the testing packages (1.7rc2) works (after fixing some
 dependency hell),

details? I think I created dependencies when sarge was testing.

 however they segfault every n-th request for no
 apparent reason.

backtrace, backtrace.

 Maybe the reason is depending on the wrong libmysqlclient.

which one?

Piotras


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



Re: [midgard-user] Midgard Mac OS X Installation

2005-07-24 Thread Piotras
 midgard-php4
 

 $ sudo ./mkall --with-apxs2=/usr/local/apache2/bin/apxs \
 --with-apr-config=/sw/bin/ \

Full path including apr-config binary.

 --with-midgard=/usr/local/midgard/bin/midgard-config \
 --with-php-config=/usr/local/php/bin/php-config


 Added these to my php.ini:
 extension=midgard.so
 register_globals=on

We register globals in vhost config IIRC.

What is the gcc version?
You should have 3.x.

Piotras



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



Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-24 Thread Piotras

 However the Midgard packages are compiled agains libmysqlclient14. Which
 is the cause of the segfault problems.

etch ones?

 I fixed the problem with the following:
 - Get all sources for all Midgard packages (1.6.3)
 - Fix the dependencies in several debian/* files. There should only be
 libmysqlclient12, *neither* libmysqlclient10 *nor* libmysqlclient12|
 libmysqlclient14.

There should be
libmysqlclient12|libmysqlclient14

Just in case when someone wants to compile packages for MySQL 4.1.
libmysqlclient12 is default then.

 - Recompile, install
 - Disable Midgard line in sources.list
 - Works

 One of the packages, I guess it was libapache-mod-midgard (which is
 obsolete for me because of Apache 2), has a broken prerm script, and it
 was quite hard to fix the versioning mix (old 1.6.2, broken 1.7rc, new
 1.6.3...) but now it seems to work...

Wait. What we are talking about?
New apache modules has no such scripts in debian dir.
I removed them before rc2 was out.

Piotras


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



Re: [midgard-user] a question on site management.

2005-07-22 Thread Piotras
Henri Bergius [EMAIL PROTECTED] wrote:

 Greetings!
 
 On Jul 21, 2005, at 23:54, Marcelo N. Halpern wrote:
  This is what I've done to SSL the authentication and admin pages. I
  think that's what you are trying to do, right?
 
 Excellent quick tutorial, thanks!
 
 Added to http://www.midgard-project.org/documentation/using-ssl-with- 
 midcom-template/

I added those rules ( commented by default ) to vhost configuration template.
So it will be ready to use since next release. Host name is updated 
automagically 
during install.

Piotras

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



Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-21 Thread Piotras
Aki Immonen [EMAIL PROTECTED] wrote:

 Here's the backtrace:
 
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1214041984 (LWP 7135)]
 0xb76263fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
 (gdb) bt
 #0  0xb76263fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
 #1  0xb7633628 in zend_hash_destroy () from 

OK, great thanks!
I thought I resolved this problem , but it looks like not.

1. Does it happen with midgard's request or with non midgard's one?
2. If you call ?php print_r($_MIDGARD['schema']); ? somewhere , do you have 
more than 20 types in printed array?

Piotras

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



Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-21 Thread Piotras
Aki Immonen [EMAIL PROTECTED] wrote:

 
 
  2. If you call ?php print_r($_MIDGARD['schema']); ? somewhere , do 
  you have more than 20 types in printed array?
 
 
 I counted 17.

In non midgard request?
 
Piotras

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



Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-21 Thread Piotras
Aki Immonen [EMAIL PROTECTED] wrote:

  1. Does it happen with midgard's request or with non midgard's one?
 
 Non-midgard request.

Check:

1. if midgard library is not located in more than one directory 
( /usr/lib and /usr/local/lib for example )

2. if midgard directives like 
MidgardEngine 
MidgardDatabase
are not defined outside VirtualHost directive

Piotras

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



Re: [midgard-user] a question on site management.

2005-07-21 Thread Piotras
Robert Guerra [EMAIL PROTECTED] wrote:

 a question on site management. i have an existing domain being served  
 by midgard.
 
 what would i need to do to have add a new one, and have it point to  
 the existing content.  Specifically i want the secure.privaterra.org: 
 443 to point to content @ www.privaterra.net:80. thus, authentication/ 
 login would only take place on port 443
 
 any help appreciated.

Add new host which uses 443 port and use the same style and root page as you 
use for www.privaterra.net:80.
However I do not know how to change login redirection to ssl'ed host in midcom.

Piotras

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



Re: [midgard-user] Upgrading from 1.4.3

2005-07-20 Thread Piotras
Aki Immonen [EMAIL PROTECTED] wrote:

 Hello Everybody,
 
 I'm in the process of movingg and upgrading and old Midgard installation 
 (1.4.3
 on RedHat 8.0 / apache 1.3) to a new server (Debian Sarge, apache 2.0).
 
 Which version should I install? 1.6.3 or 1.7rc2 or wait for the 1.7 final?

I suggest 1.7rc2. There should be no changes ( for old API ) before 1.7 stable 
release.
Besides 1.7rc2 provides much faster file system based MidCOM . which is slower 
in 1.6.3.
 
 What about the database? Is the old database compatible with new Midgard?

Use datagard's update option. It will update database and make all needed 
changes.
If you want to use debian packages, you must compile them yourself for sarge.
'dpkg-buildpackage -rfakeroot ' should be enough for all packages.
You will be prompted for datagard's usage when midgard-data is installed for 
the first time ( debian only ).

Piotras 

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



Re: [midgard-user] Error when Installing TownPortal-0.5

2005-07-20 Thread Piotras
 Hello,

 I tried to install the TownPortal-0.5 and when I ran the repligard -a -i
 TownPortal-Dependencies.xml.gz command I received the message
 repligard-CRITICAL **: Error in DB connection. Does anybody know what this
 message is cause by and how I can fix this?

midgard version installed?

Piotras


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




RE: [midgard-user] Error when Installing TownPortal-0.5

2005-07-20 Thread Piotras
 Now I just need to know where to download the multilanguage version of
 TownPortal from?

Follow
http://midgard-project.org/documentation/installation/additional-packages.html
and import townportal using datagard.

Piotras


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



RE: [midgard-user] Error when Installing TownPortal-0.5

2005-07-20 Thread Piotras
 If you had read the first message that I had posted I said in that message
 that I had already tried doing this and was unable to see the package for
 townportal.

 Is there some setting that I have to change in datagard to see this package?

data directory is used according to such rule:
`midgard-config --prefix`/share/midgard/data

so , if you compiled midgard-core with --prefix=/usr/local , then you should 
place
townportal package in /usr/local/share/midgard/data directory.
Make sure this file has xml extension , as other ones are ignored.

Piotras


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



Re: [midgard-user] Re: Upgrading from 1.4.3

2005-07-20 Thread Piotras
 Ok, I successfully built and installed the midgard packages, updated the
 database using datagard, converted everything to UTF-8 etc and now the new
 website is up and running.

 But, I have a strange problem with Apache2, it segfaults quite often:

 [Thu Jul 21 00:00:26 2005] [notice] child pid 26726 exit signal Segmentation
 fault (11)
 [Thu Jul 21 00:00:31 2005] [notice] child pid 26727 exit signal Segmentation
 fault (11)
 [Thu Jul 21 00:04:31 2005] [notice] child pid 26732 exit signal Segmentation
 fault (11)

Are there any warnings when Apache2 is starting up?
Please send backtrace for these segfaults:
http://midgard-project.org/community/development/debugging.html

in debian you should do:
/etc/init.d/apache2 stop
gdb apache2
run -X

type `backtrace` or `bt` in gdb when segfault appear.

Piotras



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



Re: [midgard-user] Midgard 1.6.3 - Data Database Import / Segfault

2005-07-20 Thread Piotras
 [debug] midgard-apache1.c(977): [client ip-here] Midgard: Refreshing NTLM auth
 request for sitegroup 0. NTLM sitegroup: -1
 [notice] child pid 12983 exit signal Segmentation fault (11)

Backtrace please,
http://midgard-project.org/community/development/debugging.html

Piotras


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



[midgard-user] [announcement] Midgard 1.7rc2 Patent Free released

2005-07-18 Thread Piotras
Midgard 1.7rc2 Patent Free released.

Lodz, July 18th 2005 -- The Midgard Project has released the second release
candidate version of the 1.7 Midgard Open Source Content Management Framework.

Midgard provides a reliable,  carrier-grade CMS framework build for the the LAMP
platform.
Midgard's core features include internationalization, accessibility, 
scalability and
PHP connectivity.

This development release includes a Midgard2 technology preview.

Major features included:

  * New Midgard Site Wizard for easily setting up websites
  * Multilang support
  * PAM and NTLM support
  * New midgard-data
  * Improved Datagard Midgard database installer
  * MgdSchema , GObjects and XML defined PHP objects
  * MidgardQueryBuilder class , SQL queries creator and executor
  * PHP5 extension without old classic Midgard API

  Multilang feature makes Midgard more flexible as it separates metadata
from the current language of objects. Now is easy to use with the new
midgard-data package which allows to create or update databases very easily
even for Midgard beginners.

  PAM (Pluggable Authentication Modules) lets applications authenticate with
external password repositories. NTLM, single sign-on solution used in Windows
(NT4 and Active Directory) networks. Both solutions allows to use typical 
Midgard
applications with transparent  person's authentication.

  Midgard-data provides latest file system Midgard Component Framework - 
MidCOM ,
and its over twenty ready to use components. User-friendly Aegir and admin
interface Spider are also included in midgard-data. All Midgard applications
may be easy imported to database with new tool datagard which is also 
responsible
now to make updates from previous installations.

  MidgardQueryBuilder is a special Midgard class responsible for creating and
executing SQL queries. It is intended to boost performance of all aplications 
which
use new objects registered in Midgard Framework with MgdSchema technology.

  PHP5 extension do not use old classic Midgard API. It is experimental package
and should not be considered for any production usage. This extension is able 
to use
only new MgdSchema objects and classes. This extension is also usable with PHP5
language
used as command line interpreter.

Changes from 1.6 releases:

  Midgard-core
  * MgdSchema ( global types information storage )
  * New internal types builded with GObjects and GType system
  * XML based types definition

  Midgard-apache modules
  * New MidgardSchema directive for pointing correct MgdSchema path.
  * Page and style elements are handled by midgard internals data instead of
 Apache tables.

  Midgard-php4
  * Classes are defined in XML file
  * New API methods for new MgdSchema objects
  * Ability to run midgard-php from command line
  * API changes:

- mgd_auth_midgard does not send cookie anymore

http://www.midgard-project.org/documentation/reference/other/mgd_auth_midgard.html

- mgd_set_style works with mgd_preparse

http://www.midgard-project.org/documentation/reference/style/functions/mgd_set_style.html

  * MidgadQueryBuilder class creates and executes SQL queries

  Midgard-data
  * New file system based MidCOM
  * MidCOM 2.x component system located in file system for better  performance
  * New midcom-template package
  * Site creation Wizard
  * Datagard's 'update database' option is changed to make updates from previous
midgard installations
  * PEAR packages installation supported Datagard


Changes from 1.7rc1 release:

  Midgard-core
  * New methods for MgdSchema objects (get, get_parent, parent, get_by_path, 
list,
list_childs)

   Midgard-php4
  * New core's methods implemented
  * Anonymous mode is forced for Mgdschema objects' methods
- createattachment
- deleteattachment
- updateattachment
  * Fixes in module shutdown function

  Midgard-data
  * New MidCOM 2.4.3
  * Quota table update is fixed

Planned for next releases

  * Final 1.7 release in July 2005
  * Next Sheduled release - September 2005
  * Automated testing releases
  * Automated database MgdSchema management

Download page for latest release:
http://www.midgard-project.org/download/1.7.html

Getting started with Midgard:
http://www.midgard-project.org/documentation

Bugs reporting:
http://midgard.tigris.org/issues/reports.cgi

Users and developers support:
Mailing list user@midgard-project.org


About Midgard

The Midgard Content Management Framework was initially released in May
1999, and has since gathered a sizable user and developer community.
Midgard powers thousands of web sites ranging from simple organizational
websites to major portals like New Zealand eGovernment site and
Playbill.

Midgard is being developed by an international team of professionals.
Midgard's development team includes new media designers, system
integrators and content management consultants. Midgard development is
being supported by several commercial and governmental entities

Re: [midgard-user] error with calendar

2005-07-18 Thread Piotras
 we use apache 2.0.54
 php4.3.11
 expat1.95.8
 mysql4.1.12

I suggest MySQL 4.0.x. Midgard is not stable when used with MySQL 4.1.x.

 midgard-lib:27433:debug:query failed: Column 'author' in where clause is
 ambiguous

Thanks for reporting this!
I think you compiled midgard from sources.
Open calendar.c file in midgard-php4, change line 113.

  AND author=person.id
to
  AND article.author=person.id

And recompile midgard-php.

Piotras


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



Re: [midgard-user] Help with Getting Midgard up and running

2005-07-14 Thread Piotras
Eric Lommatsch [EMAIL PROTECTED] wrote:

 Now that I think that I have midgard installed, what is my next step so that
 I can get into Midgard and begin actually setting up sites and begin working
 with them? How do I go about getting the files that I need to setup a site
 into the vhost directory for my site? Have I missed something?

http://www.midgard-project.org/documentation/installation/troubleshooting.html

Piotras

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



Re: [midgard-user] Midagard 1.6.3 - Datagard Errors

2005-07-14 Thread Piotras
Adam Douglas [EMAIL PROTECTED] wrote:

   Updating database: fixing cache
   35.
   ERROR 1 at line 2: Can't create/write to file
 './tmpxmlupdate/#sql-5aa7_236.MYD' (Errcode: 9)
   36.


It doesn't matter if you have midgard 1.6.3 or 1.7rc1 installed.
Looks like this problem of mysql's openfiles.

Follow this link:
http://dev.mysql.com/doc/mysql/en/openbsd-2-8.html

and this thread:
http://www.monkey.org/openbsd/archive/misc/0502/msg01000.html

Piotras

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



RE: [midgard-user] Midagard 1.6.3 - Datagard Errors

2005-07-14 Thread Piotras
 REPLIGARD/READ-CRITICAL **: Failed to allocate delayed resource
 f6b665f1984503790ed91f39b11b5392 as a link uid for member (Table
 'tmpxmlupdate.quota' doesn't exist).


tmpxmlupdate database is not removed with 1.6.x so you can try to import 
quota.sql
manually.
mysql -D tmpxmlupdate  $prefix/share/midgard/quota.sql

Piotras


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



Re: [midgard-user] MidgardBlobDir permission - how to set it right..

2005-07-11 Thread Piotras
Robert Guerra [EMAIL PROTECTED] wrote:

 MidgardBlobDir /var/lib/midgard/blobs/midgard
 

It is set by such rule:

`midgard-config --prefix`/lib/midgard/blobs/$_database_name

I wonder if this permissions are better:

chmod 110 /var/lib/midgard/blobs/midgard/
( let's you write  read if you know full path , and listing is denied )
chmod -R +rw /var/lib/midgard/blobs/midgard/$_database_name
( let's you read  write ) 

Piotras

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



Re: [midgard-user] Midgard, MidCOM problems

2005-07-09 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 I was quite busy the last few days so I couldn't continue experimenting with 
 the server anymore. Today, I tried again. As a reminder, the goal was to 
 update from Midcom 1.4 to 2.4. I tried this because staging/live has been 
 broken for me since approx. 1.6.2 (repligard does not replicate article_i 
 elements, just article elements), so I can edit content on my server again.

Staging/live was designed with lack of repligard knowledge :/
 
 there was one warning in midgard-core:
 
 ./configure --prefix=/usr
 
 checking for check - version = 0.8.2... no
 *** Could not run check test program, checking why...
 *** The test program failed to compile or link. See the file config.log for
 *** the exact error that occured.
 configure: WARNING: Check not found; cannot run unit tests!

You should have 'check' package installed. But this is only warning.
 
 repligard-Message: Making missing GUIDs...
 Updating database: version control
 ERROR 1146 at line 1: Table 'tmpxmlupdate.quota' doesn't exist
 Updating database: quota support

OK, I'll do my best to fix this before 1.7 stable.
 
 This happens every time I import any package with datagard. I don't know if 
 it 
 has any significance

It has not.
 
 For new pages, MidCOM 2.4.2 is working, but seems to have layout problems 
 although I set the style to midcom-template in Aegir (see attached 
 screenshot). I also tried importing layout-table.xml, but template_Simple 
 Table Layout doesn't show up in Aegir, so I can't try it. 
 
 My old web sites still use 1.4.0 and the wrong midcom_template, but I don't 
 really know where or how to change that.

OK, can you run simple query in mysql midgard database?
'SELECT id FROM page WHERE name LIKE '%template%';

 
 I tried to recompile the php mysql extension, but there are still segfaults 
 in 
 phpMyAdmin, but I have the impression that they are fewer than before, and 
 they seem to be connected to miidcom-admin now, not to standard cms pages. I 
 can investigate further if anyone is interested.

I would be very glad if you could reproduce it and send backtrace.
 
 as alwys, any help is greatly appreciated. And needed. I don't know why, but 
 the gods of Midgard really seem to hate me :-)

Gods of Midgard love you very much :)
Midgard 1.7 is the first release with so many huge changes since 1.2.x I think.

Piotras

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



Re: [midgard-user] Aegir, Repligard problem

2005-07-07 Thread Piotras
Steve Sobol [EMAIL PROTECTED] wrote:

  REPLIGARD/READ-CRITICAL **: Object field 'lang' in line 5 is unknown to 
  Repligard!
 
 mmmkay, I used Datagard to import a modified xml file for one of the apps in 
 question... where I'd removed all the lang tags.

What means modified xml file?
 
 Now Repligard is complaining about the sitegroup tag.
 
 What am I doing wrong?

Just copy original xml file to $prefix/share/midgard/data, and use datagard.

Piotras

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



Re: [midgard-user] Steps to follow after a Midgard upgrade

2005-07-07 Thread Piotras
Hi!

 http://www.privaterra.org/blog-rg/steps-to-follow-after-a-midgard-
 upgrade.html

Cool! Maybe we could add such notes to troubleshooting section on m-p.org?
I add few comments if you mind.

 Update mysql libraries to prevent Apache Segmentation Fault

I do not know how it looks on ubuntu but debian php4-mysql packages are
already compiled against libmysqlclient12, so there is no need to recompile it.

 Upgrade Midgard CSS layout lable

layout table style should be included in 1.7.
I will check if this one is missed.

And about your previous mail and openpsa problem.
Datagard has now ability to downlad and install packages from m-p.org.
So openpsa could be easy updated using datagard.
However I know nothing about such updates, and I need to wait for jval to
get more information :)

Piotras



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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-07-04 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 There is some progress, though: I imported the midcom-template file a couple 
 of times and new sites are now created with Midcom 2.4.1, but existing ones 
 are still on 1.4.0. the downside is that the phpmyAdmin segfault is still 
 there...

Did you check if both sites uses the same template-midcom root page?
 
 If someone can show me a way to migrate my web sites to the new version and 
 get rid of the segfault,

Get latest CVS to test midgard-php4 or wait for tomorrow's snaphots if you do 
not want to use CVS.
http://www.midgard-project.org/nightly/

 I'll promise not to post again this month :-)

Please, post as much as you need :)
 
Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 Am Donnerstag, 30. Juni 2005 00:13 schrieb Piotras:
   Ok, I updated to 1.7rc1 and Midgard works just fine, but midcom-admin
   still shows the version number 1.4.0.
 
  Anything in php log?
  Looks like you do not use midcom-template as root page.
 
 
 phperr.log showed up nothing. How can I tell if I use midcom-template as my 
 root page? (I think I am, in Aegir I can see elements like edit-this-page or 
 midcom-settings)

Root page or main page should be set to template_midcom.
 
 After restarting Apache, I could open phpMyAdmin again, so I disabled gdb 
 again. Of course, it segfaulted right after that (I had tried to rename 
 midcom snippetdir to midcom_old), so I restartetd gdb and performed the 
 operation again, this time it didn't crash right away, but when I renamed 
 midcom_old to midcom again, I got the following message:
 
 ** (process:13883): DEBUG: Midgard: switching to midgardlive
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1079516064 (LWP 13883)]
 0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so

type backtrace if you can reproduce it again 

Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 Am Donnerstag, 30. Juni 2005 00:13 schrieb Piotras:
   Ok, I updated to 1.7rc1 and Midgard works just fine, but midcom-admin
   still shows the version number 1.4.0.
 
  Anything in php log?
  Looks like you do not use midcom-template as root page.
 

Do ?php  print_r($_MIDGARD); ? on some page and send output.
`midgard-config -report` command output  would be helpfull too.

Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

  Do ?php  print_r($_MIDGARD); ? on some page and send output.
 
 [prefix] = /usr/local

  `midgard-config -report` command output  would be helpfull too.
 
 prefix   : /usr


You have midgard installed once with /usr/local as prefix and second time as 
/usr.
Make clean in your system , recompile midgard and try again.

Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
Johan Bernhardsson [EMAIL PROTECTED] wrote:

 Have you tried to upgrade the template with datagard ?
 

Yep. New datagard has magical update functionality.
Just run it and select this option from menu.

Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 OK, I removed everything and installed again. midgard-config and the Array 
 now 
 both point to /usr/local (I tried with --prefix=/usr, but the website still 
 would say /usr/local). 
 midcom-admin still is at 1.4.0, on the start page it says This site is 
 running Midgard CMS (1.7.0) with MidCOM site template (2004.03.14)., so it 
 seems to utilize an old template, but I have no idea how to change that. The 
 phpMyAdmin segfault is still there, too:
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 1079516064 (LWP 15152)]
 0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
 (gdb) backtrace
 #0  0x4082e3fa in _zval_ptr_dtor () from /usr/lib/apache2/modules/libphp4.so
 #1  0x4083b628 in zend_hash_destroy () 
 from /usr/lib/apache2/modules/libphp4.so
 #2  0x40f8de47 in _unregister_midgard_php_class_members (key=0x8506760,
 value=0x833b8e0, user_data=0x0)
 at /root/Midgard_AllinOne-1.7rc1/midgard-php4-1.7rc1/midgard.c:1194
 #3  0x40c54ef6 in g_hash_table_foreach () from /usr/lib/libglib-2.0.so.0
 #4  0x40f8e270 in zm_deactivate_midgard (type=1, module_number=35)

How phpMyAdmin is configured?
I just installed it from debian packages and everything is working fine.

I wonder cause you have segfault from function which is called when midgard 
request is closed, so I hardly find any solution why Zend calls midgard request 
shutdown function for non midgard request.

Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
Sonic [EMAIL PROTECTED] wrote:

 OK, I removed everything and installed again. midgard-config and the Array 
 now 
 both point to /usr/local (I tried with --prefix=/usr, but the website still 
 would say /usr/local). 

/usr/local/include/midgard removed?


Piotras

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



Re: [midgard-user] Upgrading from midcom-db to midcom-fs

2005-06-30 Thread Piotras
 I executed the update function and I imported the midcom-template package,
 both produced no errors but made no difference either...

midgard-data follows midgard-config data, so let's clean installation first.

Piotras


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



  1   2   3   4   5   6   >