the portability of codes in ez

Author Message

justin kazadi

Monday 05 May 2008 2:12:33 am

Hello all,

I want to know what to do for having an code who will run on all operating system?
I don't know the problem but on windows all things is allright but on linux i have different result.
Thank inadvance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Monday 05 May 2008 2:17:38 am

You might want to mention a bit more about your code if you want a response...
What does it do + also the pieces of the code that work differently on the two os's would help you a lot!

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

justin kazadi

Monday 05 May 2008 2:35:48 am

hello ,
The problem is that i didn't work directly on this linux server web. i send my data to my friend who have linux ,we are located in differents country.
Is there the principe to follow?

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

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 18 2025 21:12:55
Script start
Timing: Jan 18 2025 21:12:55
Module start 'layout'
Timing: Jan 18 2025 21:12:55
Module start 'content'
Timing: Jan 18 2025 21:12:56
Module end 'content'
Timing: Jan 18 2025 21:12:56
Script end

Main resources:

Total runtime0.6974 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.0050 589.0469152.6250
Module start 'layout' 0.00500.0029 741.671939.4453
Module start 'content' 0.00790.6882 781.1172541.5156
Module end 'content' 0.69610.0012 1,322.632812.1641
Script end 0.6974  1,334.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4613160.0002
Check MTime0.00130.1834160.0001
Mysql Total
Database connection0.00060.079710.0006
Mysqli_queries0.648392.9594570.0114
Looping result0.00060.0850550.0000
Template Total0.660894.720.3304
Template load0.00220.322520.0011
Template processing0.658594.417520.3292
Template load and register function0.00010.015310.0001
states
state_id_array0.00140.194410.0014
state_identifier_array0.00070.095520.0003
Override
Cache load0.00180.2566170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.085020.0003
Fetch class attribute name0.00100.138150.0002
XML
Image XML parsing0.00110.163220.0006
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00280.4063230.0001
String conversion0.00000.001540.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs