Forums / Install & configuration / Using eZ sitecopier

Using eZ sitecopier

Author Message

Alex Jones

Thursday 09 October 2003 2:31:56 pm

For the most part we are having good luck with eZ sitecopier, but we are running into some confusion. We have followed the directions in the readme, but for some reason images are not copied over. Also, neither of us can see how the server detects whether a cached page exists.

One last thing, we have set it up with two virtual hosts but are not sure how to set it up to use the eZ publish search, but ensure that the search results point back to the cached site. The search is set up as a GET, for which we have added a reqrite rule exactly like the one for POST in the readme.

If anyone could shed some light on the situation we would be very grateful.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Denis Brækhus

Monday 03 November 2003 5:59:29 am

Hi,

The images will not be copied over. SiteCopier is simply a scriptsolution to mirror over your webpages as static (non-php generated) pages. The images are picked from the normal filetree..

The rewriterule is the one responsible for checking for the static version of the page. It does so with the RewriteConditional :
RewriteCond /var/www/ezpublish_static/yourdomain.com$1index.html -f

(The -f at the end of the line means, this file has to exist)

If there is anything else, please feel free to email me directly aswell.

Regards
Denis

Denis Brækhus

Monday 03 November 2003 6:00:52 am

Also, as long as the search result URLs match the normal sites URLs the search thing should not be an issue..

eZ debug

Timing: Jan 18 2025 14:53:14
Script start
Timing: Jan 18 2025 14:53:14
Module start 'content'
Timing: Jan 18 2025 14:53:15
Module end 'content'
Timing: Jan 18 2025 14:53:15
Script end

Main resources:

Total runtime1.5351 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 587.7109180.8359
Module start 'content' 0.00761.2727 768.5469535.3516
Module end 'content' 1.28040.2547 1,303.8984332.7500
Script end 1.5351  1,636.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2646210.0002
Check MTime0.00140.0943210.0001
Mysql Total
Database connection0.00090.057710.0009
Mysqli_queries1.441993.92521940.0074
Looping result0.00240.15851920.0000
Template Total1.497797.620.7488
Template load0.00200.131420.0010
Template processing1.495697.428020.7478
Template load and register function0.00010.006610.0001
states
state_id_array0.00230.151310.0023
state_identifier_array0.00270.177720.0014
Override
Cache load0.00160.1034190.0001
Sytem overhead
Fetch class attribute can translate value0.00140.089230.0005
Fetch class attribute name0.00110.070640.0003
XML
Image XML parsing0.00090.056330.0003
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.01420.9272270.0005
String conversion0.00000.000330.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
1content/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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs