On 30-9-2008 12:36, Arjen Zwerver wrote:
Hello all,

Yesterday I stated configuring the Hippo Repository to work with a MySQL
database. Almost everything works fine. I can open articles in frontend
(HST jsp-site) and backend. The only problem is that the dynamic menu's
aren't generated anymore.

The way I build the repository:

1. svn co
http://svn.hippocms.org/repos/hippo/hippo-repository/tags/Release_HREP_1_2_15_1/
2. maven build
3. Configure repository to work with mysql-db.
1. Change the default namespace in config/domain.xml to:

<namespace name="default">
<definition
src="config/slide/mysql/definition.xml"></definition>
<configuration
src="config/slide/configuration.xml"></configuration>
<data src="config/slide/data.xml"></data>
<extractors
src="config/slide/extractors.xml"></extractors>
<indexer>
<indexpath>work/slide_indices/default</indexpath>
<cron>0/10 * * * * ? *</cron>
</indexer>
</namespace>

2. Make a file definition.xml in config/slide/mysql with the
sample code at
http://www.hippocms.org/display/CMS/Hippo+Repository+with+MySQL+database
Of course, changing the url, user and password.
3. Configure the DB with MySQL41_CreateDatabases.sql
<http://svn.hippocms.org/repos/hippo/hippo-repository/trunk/server/src/config/slide/MySql41Schema.sql>
4. then start the repository with: "./fortress.sh start"
5. Initialize the repository
(http://www.hippocms.org/display/CMS/Initializing+the+Hippo+Repository)
6. Copy the data from another repository to the current repository
with Hippo Datacopy
(http://www.hippocms.org/display/CMS/Hippo+Datacopy)

This works to edit the documents through the cms and the cms returns a
correct list of all the documents. In the frontend I can also view a
document. But the menu's dont get displayed. When I skip step 3 and not
use a MySQL-db everything works fine.

My system runs on Ubuntu with java version 1.5.0_14 and MySQL version 5.0.67

What am I doing wrong?
Maybe nothing ;) Everything looks quite alright.

Are you looking at the preview or the live site? If you're looking at the live site, are the menu's published in the CMS?

Regards,
Bart




With kind regards,

Arjen Zwerver
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html



--
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  [EMAIL PROTECTED]
-----------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to