[EMAIL PROTECTED] wrote:
> I built Midgard 1.4.1 from source and everything seems to work fine so
> far. When I don't start PHP 4 and point my browser to asgard, I'm beeing
> asked for username and password, but naturally only get to see the
> midgard-root.php file instead of it being executed. Yet, when I try to
> load php4 with midgard.so as an extension and point my browser to asgard
> again, I only get an error screen:
>
> Warning: Unable to load dynamic library
> '/usr/local/lib/php/extensions/no-debug-non-zts-20001222/midgard.so' -
> /usr/local/lib/php/extensions/no-debug-non-zts-20001222/midgard.so:
> undefined symbol: midgard_user_call_func in
> /usr/lib/apache/midgard-root.php on line 12
I haven't really been able to figure out what's causing this. The
enhancements that have been added since have appearantly fixed this
problem.
> System: RH 7.1,apache-1.3.19-5 (rpm), apache-devel-1.3.19-5 (rpm),
> php-4.0.6 (from source), MySQL-3.23.41-1 (as well as -devel, -client and
> -shared, all rpms from mysql.com) Any ideas what I could try? Thanks in
> advance.
The above packages should be fine. If at all possible, try the
snapshots from snaps.midgard-project.org.
To the rest of y'all, I've been laying low for a while to take a
better look at the codebase in general. mod_midgard and midgard-php4
have gradually grown taking on more functionality; unfortunately code
that's in these two modules is also notoriously hard to debug (a dso
called by a dso... much fun).
I'm in the process of moving stuff to the lib where possible since
this allows us to write offline apps (not dependant on apache) to test
the functionality which should make testing and debugging once again a
feasable task. I expect to have the first changes to be ready in a
week or two; most problems with mod_midgard should then either be gone
or relatively easy to track. midgard-php4 is going to be a bit harder
but the changes should help nonetheless.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]