Forums / Setup & design / 3.4.1 and MatchOrder=host problem
Nicolas Heiringhoff
Tuesday 07 September 2004 3:16:02 am
Hello everybody,
we have an Exponential 3.3.5 installation which runs multiple sites using the MatchOrder=host access. We now have migrated all the sites from the 3.3.5 installation to an 3.4.1 installation on the same linux/apache server to use the new features of 3.4.1. Everything is fine so far, exept that we can not access the sites via MatchOrder=host but only by MatchOrder=uri. We can not figure out where the problem is. Switching from MatchOrder=host to MatchOrder=uri is no problem under 3.3.5 but it does not work for us under 3.4.1.
We get the followong error message:"kernel 50 error, no database connection could be made"
Has anybody perhaps the same problem and a solution ;-) ?
http://www.heiringhoff.de
Ole Morten Halvorsen
Tuesday 07 September 2004 5:34:04 am
Hi,
Seems like Exponential cant connect to the database. Check your database settings. Do you have your database settings in <i>settings/override/site.ini.append</i> or <i>settings/siteaccess/my_siteaccess/site.ini.append</i>?
Could you post your HostMatchMapItems from <i>settings/override/site.ini.append</i>?
Check out these threads: http://ez.no/community/forum/install_configuration/database_would_not_accept_the_connectionhttp://ez.no/community/forum/install_configuration/kernel_error_50
Ole M.
Senior Software Engineer - Vision with Technology http://www.visionwt.com http://www.omh.cc http://www.twitter.com/omh eZ Certified Developer http://ez.no/certification/verify/358441 http://ez.no/certification/verify/272578
Tuesday 07 September 2004 5:56:01 am
Hi Ole,
we have the database settings in <i>settings/siteaccess/my_siteaccess/site.ini.append</i>
the HostMatchMapItems from <i>settings/override/site.ini.append</i> are the following:
MatchOrder=hostHostMatchType=map
HostMatchMapItems[]=faktorzwei.iddisweb.iddis.de;faktorzwei HostMatchMapItems[]=www.faktorzwei.iddisweb.iddis.de;faktorzwei HostMatchMapItems[]=admin.faktorzwei.iddisweb.iddis.de;faktorzwei_admin HostMatchMapItems[]=iddisweb.iddis.de;iddisweb HostMatchMapItems[]=www.iddisweb.iddis.de;iddisweb HostMatchMapItems[]=admin.iddisweb.iddis.de;iddisweb_admin HostMatchMapItems[]=ralf.iddis.de;ralf HostMatchMapItems[]=www.ralf.iddis.de;ralf HostMatchMapItems[]=admin.ralf.iddis.de;ralf_admin HostMatchMapItems[]=nico.iddis.de;nico HostMatchMapItems[]=www.nico.iddis.de;nicoHostMatchMapItems[]=admin.nico.iddis.de;nico_admin
I post the other settings aswell:
[SiteSettings] DefaultAccess= SiteList[] SiteList[]=news SiteList[]=ralf SiteList[]=nico SiteList[]=faktorzweiSiteList[]=iddis
[SiteAccessSettings] CheckValidity=false AvailableSiteAccessList[] AvailableSiteAccessList[]=news AvailableSiteAccessList[]=news_admin AvailableSiteAccessList[]=ralf AvailableSiteAccessList[]=ralf_admin AvailableSiteAccessList[]=nico AvailableSiteAccessList[]=nico_admin AvailableSiteAccessList[]=faktorzwei AvailableSiteAccessList[]=faktorzwei_admin AvailableSiteAccessList[]=iddisAvailableSiteAccessList[]=iddis_admin
thank you,Nico
Tuesday 07 September 2004 6:23:05 am
Try turning on debug and siteaccess debug.
settings/override/site.ini.append: [DebugSettings] DebugOutput=enabled [SiteAccessSettings] DebugAccess=enabled DebugExtraAccess=enabled
Look for any warnings/errors in the debug output.
Tuesday 07 September 2004 7:05:41 am
We have put the debug-enable-code in the settings/override/site.ini.appendbut unfortunately we do not get any debug code. When we switch to MatchOrder=uri we see the debug output
All we get is
kernel (50)
* No database connection could be made, the system might not behave properly.