Forums / General / eztc via admin interface?

eztc via admin interface?

Author Message

Geraint Edwards

Tuesday 10 May 2005 2:30:51 pm

My hosting company doesn't make the cli version of php available in the ssh shell. I need to use eztc to override the index-file in order to eliminate the ? from http://<i>sitename</i>/index.php?/mysiteaccess

Is there a way to run eztc using the cgi version of php from a shell or via the admin interface of my site.

Alternatively is there an ini setting I can use to override the index-file in the online version of compilation?

I hope that makes some sense.

Bruce Morrison

Tuesday 10 May 2005 4:31:12 pm

Hi Geraint

This thread may give you some ideas
http://ez.no/community/forum/suggestions/workaround_for_installations_without_phpcli

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

kracker (the)

Tuesday 10 May 2005 5:37:39 pm

I'm not certain if you really are driven to create a way to use eztc via the admin or If you are just looking to find a quick way to run eztc and move on...

I just finished writing another master thread on the subject of php (cli).

Basically it boils down to this, if your trying to use php (cli) on an (average) linux server you can just download the apropriate version (for your server).

<i>http://download.ezpublishhosting.com/php-cli/linux/
http://download.ezpublishhosting.com/php-cli/windows/</i>

To install, you only need to unpack the file into your eZ publish directory (ie: <i>bin/linux/php-cli</i> ) and read these instructions on how to use it and you can run eztc on your hosting provider that does not provide php (cli), <b>you don't need root privileges to do this, any user can do this</b>.

<i>http://ez.no/community/forum/general/running_ez_publish_scripts_via_the_command_line</i>

The above link cross links to most related forum threads & documentation, save the one that Bruce pointed out.

cheers,
//kracker

Aqua Teen Hunger Force : Robositter

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Geraint Edwards

Wednesday 11 May 2005 3:34:22 am

Thanks for the suggestions.

Downloading the binaries didn't work since they're linked to glibc 2.3 whereas my host is still using 2.9.5. I tried building a static version on my machine but failed - I followed the instructions but the output always ended up using shared libraries :(.

Bruce's suggestion seems more involved - I'll look into it.

eZ debug

Timing: Jan 19 2025 12:47:35
Script start
Timing: Jan 19 2025 12:47:35
Module start 'content'
Timing: Jan 19 2025 12:47:36
Module end 'content'
Timing: Jan 19 2025 12:47:36
Script end

Main resources:

Total runtime0.6538 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.9297180.8438
Module start 'content' 0.00600.5257 769.7734599.0156
Module end 'content' 0.53160.1221 1,368.7891337.3984
Script end 0.6537  1,706.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5929210.0002
Check MTime0.00150.2301210.0001
Mysql Total
Database connection0.00090.132410.0009
Mysqli_queries0.580488.77071990.0029
Looping result0.00200.31141970.0000
Template Total0.627896.020.3139
Template load0.00200.300420.0010
Template processing0.625995.725520.3129
Template load and register function0.00020.023710.0002
states
state_id_array0.00090.132710.0009
state_identifier_array0.00100.147320.0005
Override
Cache load0.00170.2648310.0001
Sytem overhead
Fetch class attribute can translate value0.00160.239440.0004
Fetch class attribute name0.00090.140060.0002
XML
Image XML parsing0.00200.300240.0005
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00620.9501350.0002
String conversion0.00000.000930.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
8content/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
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs