Forums / General / eZ Publish Check is out !

eZ Publish Check is out !

Author Message

Sébastien Morel

Moderated by: Sébastien Morel

Monday 19 April 2010 3:24:32 am

Hi everybody,

Pushing the "go live" button of a brand new project usually brings its load of stress and last-minute questions :

  • Did i remove all test content, including the pictures of my last week end on the coast ?
  • Did i enable view caching on all pages ?
  • Were all settings turned into production mode ?
  • Is the application ready to avoid the "But, it works on my machine" symptom ?

A series of points are to be checked systematically, every time a website is launched. Like others did on other technologies, the eZ Community needed an "eZ Publish-check" tool, helping at not overlooking the obvious, usual things.

Here it is, open to collaboration and containing a fair first amount of check-points :

The translation is in progress, as well as filling this list up. Should you want to contribute your experience back, drop an email at contact@ez-france.org

Cheers !

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

Jean-Luc Nguyen

Monday 19 April 2010 3:52:29 am

Nice and useful tool!

http://www.acidre.com

Gaetano Giunta

Monday 19 April 2010 3:57:06 am

Should be turned into a script / extension!

Principal Consultant International Business
Member of the Community Project Board

Björn Dieding@xrow.de

Wednesday 05 May 2010 12:45:15 am

We have something like a script / check extension.

http://svn.projects.ez.no/ezadmin/trunk/extension/ezadmin/

we will add it to this extension in a couple of minutes...

the checks are extendable, plug-inable...

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Gaetano Giunta

Wednesday 05 May 2010 2:34:49 am

@Bjorn: while I applaud your move, I think we could try to come up with something better:

- the ezadmin extension packages together lot of useful 'adminish' stuff

- there's a lot of overlap already between the ezadmin and ggsysinfo extensions. And maybe with some more

- I think for general-purpose extensions, it is better to focus on a specific aspect rather than try to include too many different functionalities

- on similar notes we already have extensions like ezgeshi, which can do syntax highlighting, ezcodesniffer to check for php coding style and ezdbintegrity, which will check for db integrity

In short: why not create a new extension, dedicated to implementing some "status check console"?

It can add both a gui and a lot of useful scripts to be run on the command line.

It will depend on the above mentioned extensions to provide core functionality avoiding duplication.

We can start building a list of things to be checked out, besides the ones already present in the op. Some of my pet peeves:

- php ini files missing the opening comment tag

- ini settings keys which are identical except for case (common error)

- whitespace in in settings (common error)

- check if definition of po classes match db structure

Principal Consultant International Business
Member of the Community Project Board

eZ debug

Timing: Jan 17 2025 23:46:45
Script start
Timing: Jan 17 2025 23:46:45
Module start 'content'
Timing: Jan 17 2025 23:46:46
Module end 'content'
Timing: Jan 17 2025 23:46:46
Script end

Main resources:

Total runtime0.9341 sec
Peak memory usage4,096.0000 KB
Database Queries207

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 591.4531180.8516
Module start 'content' 0.00530.8046 772.3047666.6641
Module end 'content' 0.80990.1241 1,438.9688341.0859
Script end 0.9340  1,780.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3665210.0002
Check MTime0.00120.1322210.0001
Mysql Total
Database connection0.00060.059010.0006
Mysqli_queries0.856391.67272070.0041
Looping result0.00210.22122050.0000
Template Total0.912997.720.4565
Template load0.00160.174820.0008
Template processing0.911397.557920.4556
Template load and register function0.00010.008010.0001
states
state_id_array0.00070.074810.0007
state_identifier_array0.00070.076920.0004
Override
Cache load0.00140.1519480.0000
Sytem overhead
Fetch class attribute can translate value0.00110.122450.0002
Fetch class attribute name0.00180.190490.0002
XML
Image XML parsing0.00200.216350.0004
class_abstraction
Instantiating content class attribute0.00000.0019100.0000
General
dbfile0.00380.4034450.0001
String conversion0.00000.000530.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
2content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs