And the answer is.......

I forgot to change my db hostname in the defaults.h
I use a dedicated database server :)
will  $dbhost ever be a switch or a parameter? :(






Vincent Stoessel wrote:

> You were right. I did have midgard compiled as  both.
> I compiled this way:
> 
> cp -r midgard-php4-1.4.2-1 ../php-4.1.0/ext/midgard
> 
> cd ../php-4.1.0/
> 
> ./buildconf
> 
>  ./configure --with-mysql=/usr/local 
> --with-apxs=/usr/local/apache/bin/apxs --with-expat-dir=/usr/local \
> --with-midgard=/usr/local   --enable-mgd-preparser
> 
> going to try cvs version now.
> 
> Ami Ganguli wrote:
> 
>> Is it possible that you've got Midgard both compiled in statically 
>> _and_ as a shared module in your php.ini?
>>
>> In any case, that doesn't explain your Nadmin problem.  Check your 
>> error_log for a line that looks like:
>>
>>  > Apache/1.3.20 (Unix) Midgard/1.4.1/SG
>>
>> If you don't have the '/SG' then sitegroups are not compiled in and 
>> that's the problem.
>>
>> Regards,
>> Ami.
>>
>>
>> Vincent Stoessel wrote:
>>
>>> Just looked at my error log and I am seeing this.
>>> Clues?
>>>
>>> I followed the mmp install instructions to the letter.
>>>
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_delete_style_tree in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_get_object_by_guid in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_snippet in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_template in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_variable in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_eval in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  Function registration failed - 
>>> duplicate name - mgd_register_filter in Unknown on line 0
>>> [14-Dec-2001 08:08:01] PHP Warning:  midgard:  Unable to register 
>>> functions, unable to load in Unknown on line 0
>>> [14-Dec-2001 08:08:03] PHP Fatal error:  Call to undefined function:  
>>> mgd_preparse() in /var/midgardCache/95.php on line 80
>>> [14-Dec-2001 08:08:04] PHP Fatal error:  Call to undefined function:  
>>> mgd_preparse() in /var/midgardCache/95.php on line 80
>>> [14-Dec-2001 08:08:33] PHP Fatal error:  Cannot redeclare 
>>> get_banner() in /web/sites/hitlist.com/phpAds/view.inc.php3 on line 6
>>> [14-Dec-2001 08:08:37] PHP Fatal error:  Call to undefined function:  
>>> mgd_preparse() in /var/midgardCache/95.php on line 80
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-- 
Vincent Stoessel [EMAIL PROTECTED]
Java Linux Apache Mysql Php (JLAMP) Engineer
(301) 362-1750 Mobile (410) 419-8588
AIM, MSN: xaymaca2020 , Yahoo Messenger: vks_jamaica


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

Reply via email to