System upgrade scripts on a windows system

Author Message

Ulrich L.

Friday 27 October 2006 3:21:25 pm

Hi all,
I'm working on a ezpublish development on a windows system, following a former article by Sandro Groganz (XAMPP).
Perhaps a silly question, but I don't know how to perform the system upgrade scripts when upgrading from 3.8.3 to 3.8.4.
The documentation http://ez.no/doc/ez_publish/upgrading/upgrading_to_3_8/from_3_8_x_to_3_8_y only refers to "correctxmltextclasses.php", however the 3.8.4 distribution offers several scripts (update/common/scripts).
So what do I have to do?

Similar question: Following the upgrade documentation mentioned above, how can I can clear the cache on a windows system without a linux command line?

Thanks for any help.

Claudia Kosny

Saturday 28 October 2006 9:56:47 am

Hi Ulrich

This page here
http://ez.no/doc/ez_publish/upgrading/the_system_upgrade_scripts
givs you an overview what each script is doing and when they are needed. If you update from 3.8.3 to 3.8.4 you should not need any script at all as the correctxmltextclasses.php is necessary for updating to 3.8.1. So the changes should already be included in 3.8.3.

With regards to the cache:
As far as I know you can delete everything in the folders /var/cache and var/<site_access>/cache. To be on the safe side you should of course make an backup but I usually delete these folders manually if I move an installation from one server to another and had no problems yet.

Greetings from Luxembourg

Claudia

Ulrich L.

Saturday 28 October 2006 2:58:44 pm

Thanks for your reply during weekend...! Was really helpfull, as always.

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 18 2025 20:47:06
Script start
Timing: Jan 18 2025 20:47:06
Module start 'layout'
Timing: Jan 18 2025 20:47:06
Module start 'content'
Timing: Jan 18 2025 20:47:07
Module end 'content'
Timing: Jan 18 2025 20:47:07
Script end

Main resources:

Total runtime1.1452 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1641152.6563
Module start 'layout' 0.00470.0028 740.820339.4922
Module start 'content' 0.00761.1364 780.3125470.0156
Module end 'content' 1.14390.0012 1,250.32818.1250
Script end 1.1452  1,258.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2690160.0002
Check MTime0.00130.1151160.0001
Mysql Total
Database connection0.00050.047810.0005
Mysqli_queries1.106096.5762570.0194
Looping result0.00050.0441550.0000
Template Total1.116397.520.5581
Template load0.00200.173520.0010
Template processing1.114397.298220.5571
Template load and register function0.00020.015510.0002
states
state_id_array0.00120.101110.0012
state_identifier_array0.00060.052320.0003
Override
Cache load0.00170.1444210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.044520.0003
Fetch class attribute name0.00140.119730.0005
XML
Image XML parsing0.00020.019420.0001
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00130.1176100.0001
String conversion0.00000.000740.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 5

Time used to render debug report: 0.0001 secs