Ez3.4 porting from Windows to Linux

Author Message

Daniele Argento

Thursday 16 September 2004 4:08:37 am

Hi all,
i developed a site with ezpublish 3.4 on a windows machine, with the basic plain installation of ez.
The SysAdmin of my firm installed the ez on a linux machine; but he kept apache and mysql that was installed and he has put the ezpublish folder into the document root of the native apache of that machine.
The site worked fine but when i had put the site on that machine it not worked anymore.
I had import a dump of the windows db on the mysql of the linux machine and i transfered the following folders on the linux machine:
- bin
- design
- lib
- packages
- settings
- var
The site is visible but if i open the administration part, it show me the right number of row in the content section but i can't see the title. I can't edit or create articles or folders in anyway.
When i load the site part it gives to me the 'Access denied' error and i can't see the contents.
Someone can help me?

****************************
* The Queen Apocalypse Captain
* ----------------------------
* captain_netrunner@email.it
* http://www.danieleargento.tk
****************************

Frederik Holljen

Thursday 16 September 2004 8:31:47 am

When moving an installation make sure that:
- You set the correct permissions on the folders (you can use modfix.sh for this)
- Make sure that apache has write access to everything in var/
- Make sure that you can actually connect to the database

It can be a good idea to enable DebugOutput while moving the site so you can see if there are any problems.

An alternative is to install eZ publish using a clean install on the target computer (with the plain design). When you know it is working you move the design, settings and var directories in addition to the database.

Daniele Argento

Monday 20 September 2004 5:26:17 am

Ok i have fixed that error. In the linux installation some API was not recognized.
Example: i have changed this line {node_view_gui view=line content_node=$:item} with this one {$:item.data_map.intro.content.output.output_text} and all has gone ok.
Thanx a lot for the support and congratulations for the speed of response ;)

****************************
* The Queen Apocalypse Captain
* ----------------------------
* captain_netrunner@email.it
* http://www.danieleargento.tk
****************************

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 19 2025 06:02:35
Script start
Timing: Jan 19 2025 06:02:35
Module start 'layout'
Timing: Jan 19 2025 06:02:35
Module start 'content'
Timing: Jan 19 2025 06:02:36
Module end 'content'
Timing: Jan 19 2025 06:02:36
Script end

Main resources:

Total runtime0.6523 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 590.4141152.6406
Module start 'layout' 0.00510.0030 743.054739.4766
Module start 'content' 0.00810.6428 782.5313546.8672
Module end 'content' 0.65090.0014 1,329.398412.1406
Script end 0.6523  1,341.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4538160.0002
Check MTime0.00120.1829160.0001
Mysql Total
Database connection0.00070.112210.0007
Mysqli_queries0.599591.9009570.0105
Looping result0.00090.1335550.0000
Template Total0.621595.320.3107
Template load0.00220.337120.0011
Template processing0.619294.924820.3096
Template load and register function0.00010.023010.0001
states
state_id_array0.00130.192710.0013
state_identifier_array0.00170.254320.0008
Override
Cache load0.00180.2748310.0001
Sytem overhead
Fetch class attribute can translate value0.00070.107320.0003
Fetch class attribute name0.00110.166250.0002
XML
Image XML parsing0.00260.398320.0013
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00240.3672220.0001
String conversion0.00000.001440.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs