Hi All,

I just started compiling midgard.  I have a RH8 system that I use for
testing.  I am running Apache 2.0, and PHP4.2.2. 

When I tried to compile midgard-php4, I got this error:

attachment.c: In function `zif_mgd_open_attachment':
attachment.c:503: too few arguments to function `php_log_err'
make[1]: *** [attachment.slo] Error 1

With a bit of help from google, I found the problem and changed line 503
that reads:

        if (!fp) {
                RETVAL_FALSE_BECAUSE(MGD_ERR_ACCESS_DENIED);
                php_log_err("Midgard: failed to open blob" ); 
        }
to:

        if (!fp) {
                RETVAL_FALSE_BECAUSE(MGD_ERR_ACCESS_DENIED);
                php_log_err("Midgard: failed to open blob" TSRMLS_CC);
        }

and that seem to solve the problem.

Just thought someone may find that helpful.



Blue

-- 
azuer88+at+yahoo+dot+com
GNU/Linux User#: 383238 http://counter.li.org/

                      __\/__ 
                  .  / ^  _ \  . 
                  |\| (o)(o) |/| 
#----------------.OOOo--oo--oOOO.-----------# 
# Why geeks like computers: unzip, strip,   #
# touch, finger, grep, mount, fsck, more,   #
# yes,fsck,fsck,fsck,umount, sleep.         #
#_________________________Oooo._____________# 
                  .oooO   (   ) 
                  (   )    ) / 
                   \ (    (_/ 
                    \_) 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: signature.asc
Description: signature.asc

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

Reply via email to