cli scripts

Author Message

andre müller

Tuesday 16 May 2006 7:39:27 am

hello, i'm trying to alter some of the cli update scripts to do some batch processing of my contents (for example joining two xml fields into one). ev concerning the attribute storage process works fine. but all of my images disappear whenever i use the publish-workflow in my scripts. the xml data of the images is stored fine, but the directory creation for the original alias fails. my whole var dir is chmodded 777 so permissions should not be a problem. as all calls to the php function «file_exists» fail too, i guess there is somekind of a path problem..
well, chances are small anybody has encountered the same difficulties, but one never knows, (thks for reading anyway..;)

Kristof Coomans

Tuesday 16 May 2006 11:39:11 am

Hi Andre

Which version of eZ publish are you using? There have been reported some bugs related to image handling lately.

Did you get any PHP warnings/errors (on the screen or in the log file)?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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

Main resources:

Total runtime0.0130 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0040 588.0078151.1953
Module start 'layout' 0.00410.0026 739.203136.6094
Module start 'content' 0.00660.0052 775.812590.1016
Module end 'content' 0.01180.0012 865.914129.9922
Script end 0.0130  895.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002116.2987140.0002
Check MTime0.00107.9130140.0001
Mysql Total
Database connection0.00064.611510.0006
Mysqli_queries0.002418.574230.0008
Looping result0.00000.076910.0000
Template Total0.00096.910.0009
Template load0.00075.254610.0007
Template processing0.00021.583010.0002
Override
Cache load0.00053.766910.0005
General
dbfile0.001511.740380.0002
String conversion0.00000.045840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs