STEP by step guide to import a database into ez publish ?

Author Message

francis Nart

Tuesday 16 March 2004 3:42:30 am

Hi,
Has anybody already imported an existing database in ezpublish?
We've just done that and we had real problems.
Firs tof all, the database structure available in the docs is not up to date.
Plus, we had to find what data was inserted in what table.
But the main problem seems to be the indexation. Apparently, the dat we inserted is not searched by the internal search engine because we did not use the ez publish interface of course but a script we wrote for the occasion.

Does anaybody have successfully imported a complete (and wuite complex) database ?

Thansk for your help !

Francis.

Tore Skobba

Tuesday 16 March 2004 4:28:08 am

Hi

I have tried myself by using automatically post to my EZ site. That is an script which fetches data from the source database and makes post requsts to the EZ site to import into. However, I did not get EZ to accept the data fully (objects were created without any data at all). I did this because I belive that it would be the best way as it would most likely if succsesfull mean that EZ got the data the way it wanted it.

Cheers
Tore

francis Nart

Tuesday 16 March 2004 5:03:45 am

all right.

But do you know where we could find an up to date database structure + a guide to the different tables and their function.

Francis.

K259

Wednesday 17 March 2004 3:56:24 am

I've asked the eZ crew about this in another topic :)

Hope they have this information available. Would be a great help!

http://www.ez.no/content/view/full/47035

maurizio boscaini

Saturday 22 May 2004 6:35:14 am

can you send me your procedure?
I want to try to do the same thing

thanks

mauri

m.boscaini@tin.it

Tore Skobba

Monday 24 May 2004 6:01:51 am

Hi

I have sent you my procedure. If anyone else want it then send me an email (tore@grunderskolen.no). But it is NOT working and there is no docs. But it could make a nice start for anyone trying to do the same.

Cheers
Tore

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

eZ debug

Timing: Jan 31 2025 04:28:14
Script start
Timing: Jan 31 2025 04:28:14
Module start 'layout'
Timing: Jan 31 2025 04:28:14
Module start 'content'
Timing: Jan 31 2025 04:28:16
Module end 'content'
Timing: Jan 31 2025 04:28:16
Script end

Main resources:

Total runtime1.1572 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.3516151.2266
Module start 'layout' 0.00550.0025 739.578136.6797
Module start 'content' 0.00801.1482 776.2578992.5156
Module end 'content' 1.15630.0009 1,768.773411.7969
Script end 1.1572  1,780.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2806160.0002
Check MTime0.00130.1125160.0001
Mysql Total
Database connection0.00080.071410.0008
Mysqli_queries1.097094.7977700.0157
Looping result0.00070.0645680.0000
Template Total1.123097.020.5615
Template load0.00200.171620.0010
Template processing1.121096.873920.5605
Template load and register function0.00160.140010.0016
states
state_id_array0.00180.153410.0018
state_identifier_array0.00130.115520.0007
Override
Cache load0.00170.1459360.0000
Sytem overhead
Fetch class attribute can translate value0.00070.062040.0002
Fetch class attribute name0.00280.237960.0005
XML
Image XML parsing0.00050.040340.0001
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00070.0636100.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs