Hello Jim!

> Hi,
> 
> I've been fooling around with Midgard for a few months now, and I'm 
> starting
> to learn my way around...  :-)
> 
> I'm looking for some pointers on a few issues:
> 
> * Sometimes when something "goes wrong" on a page (e.g., a MySQL pconnect
> fails, or perhaps a syntax error) Midgard dumps an "error" screen with 
> the source
> code of the page and a hint about the line number of the offending 
> statement. That's
> great for development, but obviously not a good thing if the website is 
> in "production".
> How can I suppress these messages globally on my production site? I 
> wouldn't want
> a page containing SQL login information to be inadvertantly shown to the 
> world.

Tune your error output at your php.ini. There you can
suppress all errors or just output some of them.
See php documentation for more info.

> * Is there a way to get to the cleartext password for a user account? 
> (Needed if
> the user forgot his password, and I want to send it to him).

Yes, you need to save the password with
mgd_update_password_plain(). This stores passwords
to the db in format "**password". There is however a
limitation. Since the password field is only 13 characters
long you cannot have plain text passwords longer than that.
(NOTE: password must be limited to 11 characters since
the two asterisks take the first two chars.)
 
> * In Aegir is there a simple way to specifiy that certain topics or 
> webpages should
> never be replicated? In my case, I have topics and articles relating to 
> user data,
> and I would never want to replicate that subtree from my staging to live 
> databases.
> How can I get rid of these things in the top level "waiting for 
> approval" list? Also,
> is there a way to control when attachments get replicated?

Nope. You can of course limit your replication at your repligard.conf
and replicate only those content trees that you wish.

To turn off something in Aegir you need to hack Aegir code,
some of the developers can probably give you a hint where to look at.

AFAIK attachments get replicated at the same time as their
parent object (page,topic,article,etc.). This is only a guess,
Alexander could give some insight here.
 
> Thanks in advance,
> /Jim
> 

Hope this helped.

BR

  //Henri Kaukola


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

Reply via email to