Forums / General / eZ Publish on a shared webspace

eZ Publish on a shared webspace

Author Message

Jozef Baum

Monday 22 June 2009 4:26:55 pm

The technical documentation of eZ Publish seems to suppose that eZ Publish runs on a personal server.

Well, eZ Publish seems to run very well also on some shared webspace.

My eZ Publish websites are running on a shared webspace at http://all-inkl.com/.

I have copied the file .htacess_root to a file .htacces, and added to it:

AddHandler php-fastcgi .php

Then I have copied the file conifig.php_RECOMMENDED to config,php, and added to it my timezone.

The only non-cirtical remark I got when installing eZ Publish was that the environment variable $ENV was not accessible.

However, eZ Publish seems to run very fine in this environment.

My future intention is of course to be able to run eZ Publish on a private server, so I can fully configure the server as required by eZ Publish. About other things, this will allow me to increase the processing time of the eZ Publish scripts, so the database wil not remain in an an inconsitent stare.

André R.

Tuesday 23 June 2009 2:01:55 am

"The only non-cirtical remark I got when installing eZ Publish was that the environment variable $ENV was not accessible."

This is probably caused by wrong configuration of variables_order in php.ini, it should be:

variables_order = "EGPCS"

"About other things, this will allow me to increase the processing time of the eZ Publish scripts, so the database wil not remain in an an inconsitent state."

eZ Publish uses transactions, so that shouldn't happen. Do you have any inconsistency in your database?

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

Jozef Baum

Tuesday 23 June 2009 9:09:47 am

"eZ Publish uses transactions, so that shouldn't happen. Do you have any inconsistency in your database? "

No, I don't. But I was remembering what I have read in the technical manual of version 4.0 about the content class:

"Although it is possible to remove and add attributes using the administration interface, in some cases these operations may corrupt the database. This usually happens when there are too many instances that need to be updated. If the required processing time exceeds the maximum execution time for PHP scripts, the sequence will be interrupted and thus the database will most likely be left in an inconsistent state. At the time of writing, this problem can only be solved by increasing the maximum execution time, which is defined in "php.ini" as "max_execution_time". The default value is 30 seconds, it should be increased to a couple of minutes. A more reliable solution (a PHP script that takes care of adding/removing attributes and run it from within a shell) will probably be added in the future."

On a shared webspace, most of the time, one has no access to php.ini.

André R.

Tuesday 23 June 2009 9:16:30 am

yes, I seem to have forgot that one.. :)

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

eZ debug

Timing: Jan 18 2025 11:39:09
Script start
Timing: Jan 18 2025 11:39:09
Module start 'content'
Timing: Jan 18 2025 11:39:10
Module end 'content'
Timing: Jan 18 2025 11:39:10
Script end

Main resources:

Total runtime0.8565 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0105 588.8359180.8438
Module start 'content' 0.01050.6832 769.6797554.5703
Module end 'content' 0.69370.1627 1,324.2500336.7578
Script end 0.8564  1,661.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00520.6090210.0002
Check MTime0.00220.2561210.0001
Mysql Total
Database connection0.00100.117210.0010
Mysqli_queries0.774790.44511970.0039
Looping result0.00220.25601950.0000
Template Total0.809294.520.4046
Template load0.00230.265820.0011
Template processing0.806994.209420.4035
Template load and register function0.00030.029810.0003
states
state_id_array0.00160.189010.0016
state_identifier_array0.00090.106420.0005
Override
Cache load0.00170.2007270.0001
Sytem overhead
Fetch class attribute can translate value0.00170.196430.0006
Fetch class attribute name0.00120.138350.0002
XML
Image XML parsing0.00080.094330.0003
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00200.2390280.0001
String conversion0.00000.001030.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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.0002 secs