Forums / Install & configuration / Ez3.4 porting from Windows to Linux

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
****************************

eZ debug

Timing: Jan 19 2025 03:23:50
Script start
Timing: Jan 19 2025 03:23:50
Module start 'content'
Timing: Jan 19 2025 03:23:51
Module end 'content'
Timing: Jan 19 2025 03:23:51
Script end

Main resources:

Total runtime1.1548 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 590.2109180.8203
Module start 'content' 0.00881.0257 771.0313551.9609
Module end 'content' 1.03450.1202 1,322.9922336.7500
Script end 1.1547  1,659.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3143210.0002
Check MTime0.00140.1180210.0001
Mysql Total
Database connection0.00080.070110.0008
Mysqli_queries1.084293.89141940.0056
Looping result0.00170.14531920.0000
Template Total1.123197.320.5615
Template load0.00200.173020.0010
Template processing1.121197.083120.5605
Template load and register function0.00010.009710.0001
states
state_id_array0.00070.063610.0007
state_identifier_array0.00060.052720.0003
Override
Cache load0.00170.1498310.0001
Sytem overhead
Fetch class attribute can translate value0.00120.106930.0004
Fetch class attribute name0.00120.100050.0002
XML
Image XML parsing0.00270.232730.0009
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00840.7277330.0003
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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