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..

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 31 2025 03:27:15
Script start
Timing: Jan 31 2025 03:27:15
Module start 'layout'
Timing: Jan 31 2025 03:27:15
Module start 'content'
Timing: Jan 31 2025 03:27:16
Module end 'content'
Timing: Jan 31 2025 03:27:16
Script end

Main resources:

Total runtime1.4907 sec
Peak memory usage8,192.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1328151.2109
Module start 'layout' 0.00550.0069 739.3438220.6875
Module start 'content' 0.01241.4772 960.03134,437.7344
Module end 'content' 1.48960.0010 5,397.765611.8594
Script end 1.4906  5,409.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2460160.0002
Check MTime0.00120.0831160.0001
Mysql Total
Database connection0.00070.045510.0007
Mysqli_queries1.388593.1465570.0244
Looping result0.00100.0686550.0000
Template Total1.378292.520.6891
Template load0.00180.120720.0009
Template processing1.376392.331120.6882
Template load and register function0.00170.114210.0017
states
state_id_array0.00620.413810.0062
state_identifier_array0.00340.225320.0017
Override
Cache load0.00170.1110190.0001
Sytem overhead
Fetch class attribute can translate value0.00190.125420.0009
Fetch class attribute name0.00370.245440.0009
XML
Image XML parsing0.00330.218120.0016
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.01260.8465160.0008
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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