Problem building a new site...

Author Message

Scott Greig

Monday 02 October 2006 5:55:29 pm

Ok, I'm trying to follow the tutorial on building a new site with eZ Publisher, and I did a manual installation with the plain site template. Now, the tutorial says to rename the plain_site and plain_site_admin folders (in this case to tsc and tscm_admin) but when I rename them and try to access the site, I get an error saying eZ publish cannot make a connection to the MySQL database. When I rename them back, it works again. I'm getting really confused here. Can someone help me out?

Juliusz Calyniuk

Tuesday 03 October 2006 1:40:58 am

Hi Scott,

It seems you use the old documentation (for eZ publish 3.4).
There is a new one available:
http://ez.no/doc/ez_publish/technical_manual/3_8

If you changed folders names you have to change your configuration settings.
Look at the "Manual configuration of eZ publish":
http://ez.no/doc/ez_publish/technical_manual/3_8/installation/manual_installation/manual_configuration_of_ez_publish

There is an introduction to configure system manually.

WebStyle Systems | http://www.ws-webstyle.com

Scott Greig

Tuesday 03 October 2006 11:25:59 am

What exactly do I need to change? I'm really new to this, and I find it a little daunting, to say the least. :S

Claudia Kosny

Tuesday 03 October 2006 12:58:12 pm

Hi Scott

The problem with the database most likely appears because the database settings are stored in the folders /settings/siteaccess/<name of the siteaccess>/site.ini.append.php. <name of siteaccess> is originally plain or plain_admin. You renamed these to tcsm and tcsm_admin but EZ does not know this yet.
To do this, you have to set the DefaultAccess to tcsm. To do this you just need to check the file settings/override/site.ini.append.php. There just replace the word 'plain' with 'tscm' and 'plain_admin' with 'tscm_admin'. The most important block is where it says
[SiteSettings]
DefaultAccess=plain

In case you use this tutorial:
http://ez.no/products/ez_publish/documentation/building_an_ez_publish_site/creating_the_tscm_site
It is true that it is for an older version of EZ so some settings might be slightly different. Still you should get an idea of what to do. If you follow all steps it should work fine.

If you still have problems please post the content of your /settings/override/site.ini.append.php (remove any private information) and the folder structure of the /settings folder.

Greetings from Luxembourg

Claudia

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.