torben | 2 Aug 12:00
Gravatar

PHP5 Module?


Hi Community,

is there anywhere a PHP5 compatible Midgard module in sight, even, if it 
is only an one-to-one port of exactly what we have now (even without 
multilang or any other fancy stuff that came in after 1.4.4)?

I would need something like this for the next-generation MidCOM, that is 
about to be born.

In any case I would even be willing to build on something like Midgard 
Lite...

Live long and prosper!
Torben Nehmer

--

-- 
Torben Nehmer, Guenzburg, Bavaria, Germany
http://www.nathan-syntronics.de, mailto:torben@...
PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
Johan Bernhardsson | 4 Aug 11:02
Picon

Re: Midgard gathering in sweden this fall

Sorry for the delay of this.

Ok i have some dates as a proposal for a meeting in sweden.
And a half detailed plan.
If anyone has something and would like to take the stand for a few
minutes please get in touch with me through email or on irc.

The meeting would be held in Linköping (Wich is about 200 kilometers
south of Stockholm) or right outside of Linköping depending on the
amount of people that show up.

There are two airports nearby one in Norrköping and one in Linköping if
you can find a flight. Or connect by train via Stockholm.
Or if you go by car the E4 will take you there.

I have a couple of different dates:
October  29 - 31
November 5 - 7 (My first choice)
November 12 - 14

Friday evening:
Those of us who can participate makes last minute changes to the agenda.
Some smalltalk.
Something to eat and maybe hit the pub.

Saturday:
Go through the agenda. 
Stuff to talk about during the day would be
	Php5.
	Next generation of Midgard and MidCOM.
(Continue reading)

Johan Bernhardsson | 4 Aug 11:10
Picon

Might Attend Networks telecom in Sweden.

Hello,

I might attend Networks Telecom in Sweden on September 28 - 30
September.

One of the thing i would push for is the Midgard CMS.

Anyone that has any kind of printables ready or a slideshow to run?
Any contribution would be greatly appretiated.

/Johan "SmallOne" Bernhardsson

--

-- 
Linux/Security Consultant at anykey solutions

Johan Bernhardsson
Mobile: +46 707 322261
Phone:  +46 13 73244
Email:  johan@...
WWW:    http://www.anykey.se/
Gravatar

Re: [midgard-cvs] CVS update: /midgard/src/tools/datagard/SPECS/

Piotras,

can you please check datagard? There are some problems with it.

> +# Fix Apache user name in datagard.conf, configure ignores it!
> +perl -pi -e 's|www-data|apache|' datagard.conf

1. It does not get the Apache username and group on Red Hat EL3.
   How to use --with-apache-user?

> +# Fix Apache config path
> +perl -pi -e 's|conf/httpd.conf|%{_sysconfdir}/httpd/conf/httpd.conf|'
> datagard.conf
2. When it configure queries apxs for the server configuration
   file, you will have to combine HTTPD_ROOT and SERVER_CONFIG_FILE
   to get the correct path to httpd.conf. At least on Red Hat it
   works this way.
   httpd -V reports
 -D HTTPD_ROOT="/etc/httpd"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

3. Datagard does not set the permissions correct, neither for
   the documentroot nor for the blob directories created for
   a virtual host. Had to set them manual.

4. Datagard shows the password in plain text. Shouldn't this
   be ******* ?

Anyway, after fixing these, datagard works fine and I can
run Midgard on Apache 2 on my Red Hat boxes. Installation
(Continue reading)

Piotras | 5 Aug 13:48

Re: Re: [midgard-cvs] CVS update: /midgard/src/tools/datagard/SPECS/

"Daniel S. Reichenbach" <dsr@...> wrote:

> Piotras,
> 
> can you please check datagard? There are some problems with it.

I can't believe , it is "perfect software" ;)

> 1. It does not get the Apache username and group on Red Hat EL3.
>    How to use --with-apache-user?

Fixed and commited.

> > +# Fix Apache config path
> > +perl -pi -e 's|conf/httpd.conf|%{_sysconfdir}/httpd/conf/httpd.conf|'
> > datagard.conf
> 2. When it configure queries apxs for the server configuration
>    file, you will have to combine HTTPD_ROOT and SERVER_CONFIG_FILE
>    to get the correct path to httpd.conf. At least on Red Hat it
>    works this way.
>    httpd -V reports
>  -D HTTPD_ROOT="/etc/httpd"
>  -D SERVER_CONFIG_FILE="conf/httpd.conf"

Two choices:
1. Get the first "/" , and if it is missed in SERVER_CONFIG_FILE, merge these two lines
2. Define it while making binaries ( not recommened IMO)

What's Your choice?

(Continue reading)

Bernhard Peissl | 5 Aug 13:47
Picon

Segmentation fault because of empty HTTP-Headers ?

Hi,

yesterday we tracked down a very mysterious segmentation fault that 
happend during migration of the whole Midgard Environment onto another 
server:

Symptom:
- when logging in to aegir (click on submit - no matter what you entered 
in the login-form) the server created a segfault ... this happened 
*only* in aegir (in no other midgard application)

Source of error: / AegirCore / lib / config_set

140:     if ($cs["encoding"])
141:         header($cs["encoding"]);
142:     else
143:         header($newcookie["encoding"]);

we found out that both variables ($cs and $newcookie) were empty ("") 
thus an empty HTTP-header was sent. when we took out these few lines of 
code, we could log in to aegir again, and no segfault was generated.

Funny thing is: on our second server (which hosts the exact copy of the 
midgard installation) this problem doesn't occur at all (although the 
two variables are empty as well!). we didn't have to comment out these 
four lines of code. everything works fine there (*)

this is a very strange behaviour and we have no clue why this happens!! 
any ideas? what do the developers think about this i.e. what suggestions 
do you have?
(Continue reading)

Piotras | 5 Aug 14:06

Re: Segmentation fault because of empty HTTP-Headers ?

Bernhard Peissl <peissl@...> wrote:

> Here some specifications from our sysadmin regarding the server where 
> the aegir-segfault happenned:
> 
> FreeBSD 5.2.1-RELEASE-p9 amd64
> 
> php4:		4.3.8
> apache:		1.3.31
> midgard:	1.5.0
> aegir:		1.0.1
> 
>  From the log:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000203f7beaf in ssl_expr_yyval ()
>     from /usr/local/libexec/apache/libphp4.so
> (gdb) bt
>   #0  0x0000000203f7beaf in ssl_expr_yyval ()
>     from /usr/local/libexec/apache/libphp4.so

>  From our second server (where the aegir segfault doesn't happen):
> 
> Linux xerxes 2.4.26 #1 SMP Fri Apr 23 10:08:04 CEST 2004 i686 GNU/Linux
> 
> Apache/1.3.31
> Midgard/1.5.0/SG
> PHP/4.3.8
> aegir/1.0.1
> 
(Continue reading)

Picon

Aegir - Bug in creation of New Category under News and Articles

Hi,

Just wanting to report a glitch in the creation of New Categories under News
and Articles in Aegir 1.0.3 (and previous version as well).

I currently use Aegir to host 26 websites under 16 different Companies.  If
I am logged in as the system administrator, go to News and Articles and
create a new category under company 'X' called 'My Pages' for example, then
try and create another new category under company 'Y' with the same name, I
get the following error:

Aegir 1.0.3:
Fatal error: Call to a member function on a non-object in
/var/www/midgard/cache/59-8.php(1110) : eval()'d code on line 735

Aegir 1.0.1:
Fatal error: Call to a member function on a non-object in ROOT(908) :
eval()'d code on line 668

The new category under company 'Y' is not created.

If I log in as administrator to company 'Y' directly however (not system
admin), then I can create the category without any errors.

Any ideas?

Cheers

Mike.
(Continue reading)

Piotras | 10 Aug 12:49

Re: Aegir - Bug in creation of New Category under News and Articles

"Michael Ross (PCT North West)"
<Michael.Ross@...> wrote:

> I currently use Aegir to host 26 websites under 16 different Companies.  If
> I am logged in as the system administrator, go to News and Articles and
> create a new category under company 'X' called 'My Pages' for example, then
> try and create another new category under company 'Y' with the same name, I
> get the following error:

> If I log in as administrator to company 'Y' directly however (not system
> admin), then I can create the category without any errors.
> 
> Any ideas?

If You log in as system administrator , you create objects with 0 sitegroup , 
so in this case it doesn't matter which company (sitegroup) you have selected.
Of course I guess you create documents with topic->up = 0.
If you log in as company's administrator you create document with this company's 
sitegroup. So you can create at this moment as topic is created with different sitegroup.

You may log in as system administrator , create topic "My Page" in X company topic tree,
then change this topic sitegroup to X , and next create another topic "My Page" and change 
sitegroup to Y.

Piotras
Picon

RE: Aegir - Bug in creation of New Category under N ews and Articles

Thanks for the quick reply :-)

Just so I am clear we are talking about the same thing here, how would you
go about doing this in Aegir yourself?

Cheers

Mike

-----Original Message-----
From: Piotras [mailto:pp@...]
Sent: 10 August 2004 11:50
To: dev@...
Subject: Re: [midgard-dev] Aegir - Bug in creation of New Category under
News and Articles

"Michael Ross (PCT North West)" <Michael.Ross@...>
wrote:

> I currently use Aegir to host 26 websites under 16 different Companies.
If
> I am logged in as the system administrator, go to News and Articles and
> create a new category under company 'X' called 'My Pages' for example,
then
> try and create another new category under company 'Y' with the same name,
I
> get the following error:

> If I log in as administrator to company 'Y' directly however (not system
> admin), then I can create the category without any errors.
(Continue reading)


Gmane