Re: error with calendar

"Piotras" <pp-VVDi8QVAvoBWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.