Forums / Install & configuration / How to deploy?

How to deploy?

Author Message

valentina ferrari

Wednesday 17 January 2007 11:39:57 pm

Hi all,
I need to deploy an ezpublish site from machine A (manual installation) to machine B.
I configured machine B in the same way as machine A, including database users and access permissions; I thought at this point it would have been enough to copy the entire ezpublish folder between the machines, but unfortunately whenever I try to access the site, I get an "Error 50: no database connection could be made". I even checked the .ini files looking for some settings that could point the database to the wrong location, but to no avail.

How to effectively copy ezpublish between two machines?

Thanks.

kracker (the)

Thursday 18 January 2007 12:34:12 am

You should be able to fix this error without starting over ;)

Take a look at your site.ini.append(.php)

[DatabaseSettings]
Charset=utf-8
Server=localhost
User=db
Password=db
Database=ezpublish_390

Also look at your siteaccess settings, it seems as though your eZ publish installation does not know which siteaccess is the default.

[SiteSettings]
DefaultAccess=example_com
SiteList[]=example_com
SiteList[]=example_com_admin
SiteList[]=ezwebin_site_user
SiteList[]=ezwebin_site_admin

[SiteAccessSettings]
ForceVirtualHost=true
CheckValidity=false
AvailableSiteAccessList[]=example_com
AvailableSiteAccessList[]=example_com_admin
AvailableSiteAccessList[]=ezwebin_site_user
AvailableSiteAccessList[]=ezwebin_site_admin
MatchOrder=host;uri;
HostMatchMapItems[]
HostMatchMapItems[]=example.com;example_com
HostMatchMapItems[]=edit.dev.example.com;example_com_admin

<i>hth,
//kracker

Jello Biafra - Fight Terror-Resist Corporations</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/