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

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 29 2025 14:44:42
Script start
Timing: Jan 29 2025 14:44:42
Module start 'layout'
Timing: Jan 29 2025 14:44:42
Module start 'content'
Timing: Jan 29 2025 14:44:42
Module end 'content'
Timing: Jan 29 2025 14:44:42
Script end

Main resources:

Total runtime0.0181 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.1016151.1953
Module start 'layout' 0.00680.0034 739.296936.6172
Module start 'content' 0.01020.0063 775.914198.2969
Module end 'content' 0.01650.0015 874.210937.9922
Script end 0.0180  912.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.4641140.0002
Check MTime0.00116.3167140.0001
Mysql Total
Database connection0.00105.339410.0010
Mysqli_queries0.003921.773630.0013
Looping result0.00000.088510.0000
Template Total0.00116.210.0011
Template load0.00084.558910.0008
Template processing0.00031.584810.0003
Override
Cache load0.00063.180110.0006
General
dbfile0.002211.911080.0003
String conversion0.00000.060840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs