Re: [midgard] More Postgres grief...

2000-03-26 Thread Carilda Thomas
Don't know if you've tried this, but: 1. Shut down apache -- use "stop", not "graceful" or "restart". 2. shut down postmaster. 3. (be sure you have enough shm and sems -- this is usually only a problem on Solaris). 4. start up postmaster, let it churn for about 10 secs. 5. restart apache.

Re: [midgard] More Postgres grief...

2000-03-26 Thread Ronan-Yann Lorin
Le jeu, 01 mai 2036, vous avez écrit : Sorry for all the questions but... I've got my Postgres connection working now, but Apache keeps segfaulting (actually, Apache as a whole stays up, but the client processes keep segfaulting) when I load pages that access a Postgres database. I can sit and

[midgard] midgard-lib documentation

2000-03-26 Thread Ami Ganguli
I'd like to create a Postgres port of Midgard-lib, but I figure it might be useful to document the API first. Questions: 1. Does API documentation for midgard-lib already exist? Is somebody already working on it? 2. Is there a preferred format for documentation (ie. HTML, DocBook, text)? 3.

Re: [midgard] midgard-lib documentation

2000-03-26 Thread Alexander Bokovoy
Hello Ami, you wrote: I'd like to create a Postgres port of Midgard-lib, but I figure it might be useful to document the API first. Questions: 1. Does API documentation for midgard-lib already exist? Is somebody already working on it? API is partly documented, at least for tree traversing

[midgard] code-*

2000-03-26 Thread Miles Scruggs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, Could someone talk on the code-* elements ( ie code-compat ). They are talked about quite a bit in the mailing list but I’m still searching for a place where they are defined. Are they just style elements that I can create and

Re: [midgard] code-*

2000-03-26 Thread Alexander Bokovoy
Hello Miles, you wrote: Could someone talk on the code-* elements ( ie code-compat ). They are talked about quite a bit in the mailing list but I’m still searching for a place where they are defined. Are they just style elements that I can create and enter code into them? What

Re: [midgard] code-*

2000-03-26 Thread Torben Nehmer
On Mon, 27 Mar 2000, Henri Bergius wrote: code-global - code that is common to your entire site. If you want to have some custom functions, etc. available, this is a good place to put them. Can I use this Element from, let's say, the Layout Page? I'd like to use it to generate an

Re[2]: [midgard] code-*

2000-03-26 Thread Alexander Bokovoy
Hello Torben, you wrote: On Mon, 27 Mar 2000, Henri Bergius wrote: code-global - code that is common to your entire site. If you want to have some custom functions, etc. available, this is a good place to put them. Can I use this Element from, let's say, the Layout Page? I'd

Re: [midgard] code-init

2000-03-26 Thread Alexander Bokovoy
Hello Miles, you wrote: I think that I’m getting this. My main use for these elements at the moment is phplib sessioning and authentication. In the element I need be able to put $perm-check("level"); where level will page specific, so that I can control who has access to each page.

RE: [midgard] code-init

2000-03-26 Thread Miles Scruggs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for that Alexander but one more What about page specific so that it will filter down for the aticles that I call from that page? I'm asuming that I just put what I need in the page element. So if I have a page element of (auth) for each

[midgard] why can't it just leave it alone.

2000-03-26 Thread Miles Scruggs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 when I have a single quote ie' midgard wants to double the number of single quotes that I have. What am I doing wrong? Miles Scruggs -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.2 for non-commercial use http://www.pgp.com

Re: [midgard] More Postgres grief...

2000-03-26 Thread Emiliano [EMAIL PROTECTED]
On Sat, 25 Mar 2000, Ami Ganguli wrote: The other odd behavior I've noticed is that extension_loaded("pgsql.so") never returns true, even when checked after the "dl" command. Does anybody have any ideas? Thanks, It could be that PHP needs to be compiled with some kind of stubs that would

Re: [midgard] why can't it just leave it alone.

2000-03-26 Thread Emiliano [EMAIL PROTECTED]
On Sun, 26 Mar 2000, Miles Scruggs wrote: when I have a single quote ie' midgard wants to double the number of single quotes that I have. What am I doing wrong? Looks like magic_quotes_gpc is on, which makes PHP itself quote every string it receives through a form. The Midgard admin

[midgard] Re: [Re: [midgard] More Postgres grief...]

2000-03-26 Thread Ami Ganguli
"Emiliano [EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: It could be that PHP needs to be compiled with some kind of stubs that would be included by configuring it --with-pgscl or somesuch. Just a wild stab. You said you were using the RPMs; neither the separate RPMs nor the Monster Package have

Re: [midgard] code-init

2000-03-26 Thread Henri Bergius
On 27 Mar, Torben Nehmer wrote: Hi. Greetings! Can I do something like this: In the Layout I define code-init. In a subpage I want do redefine code-init so that it first calls the orignial and then add's some improvement like: code-init of subpage: ...some code (code-init) ...more

Re: [midgard] User prefs ?

2000-03-26 Thread Michael Ed
David Guerizec wrote: What exactly is your error message ? OK, I start with code-global ?php $my_prefs=init_prefs($midgard-user); ? Fatal error: Call to unsupported or undefined function init_prefs() in code-global on line 2 so I change it to this ... ?php function init_prefs($user) {