Object patern: not working at all

Author Message

Jorge estévez

Sunday 28 September 2008 3:09:51 am

ezp 3.10

I have changed the <strong>object pattern</strong> (my site in in spanish, I do not know if this is the right traslated name in english) of a class to:

<product_number> <name> instead of <name>

product_number is also a "text line" datatype but it does not display at all, it always asumes the name as the object name... is this a known bug???

--------------------------

I would like to have also a "object relation", is this possible something like this:

<text line> <text line> <object relation> <text line>

And YES the datatype product_number has values

Thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Jorge estévez

Tuesday 30 September 2008 3:19:10 am

Any-body-out-there??? I just need some assistance with this
thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Tuesday 30 September 2008 6:05:19 am

Did you republish the objects after the change? If there are a lot of them then you need to run update/commom/scripts/updatecontentobjectname.php

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jorge estévez

Tuesday 30 September 2008 10:30:17 am

Need further assistance please:

When I try to run the php this appears:

C:\ezserver\php>php E:\sitiosweb\gammae\update\common\scripts\updatecontentobjec
tname.php

Warning: main(lib/ezutils/classes/ezextension.php): failed to open stream: No su
ch file or directory in E:\sitiosweb\gammae\update\common\scripts\updatecontento
bjectname.php on line 30

Warning: main(): Failed opening 'lib/ezutils/classes/ezextension.php' for inclus
ion (include_path='.;c:\php4\pear') in E:\sitiosweb\gammae\update\common\scripts
\updatecontentobjectname.php on line 30

Warning: main(lib/ezutils/classes/ezmodule.php): failed to open stream: No such
file or directory in E:\sitiosweb\gammae\update\common\scripts\updatecontentobje
ctname.php on line 31

Warning: main(): Failed opening 'lib/ezutils/classes/ezmodule.php' for inclusion
 (include_path='.;c:\php4\pear') in E:\sitiosweb\gammae\update\common\scripts\up
datecontentobjectname.php on line 31

Warning: main(lib/ezutils/classes/ezcli.php): failed to open stream: No such fil
e or directory in E:\sitiosweb\gammae\update\common\scripts\updatecontentobjectn
ame.php on line 32

Warning: main(): Failed opening 'lib/ezutils/classes/ezcli.php' for inclusion (i
nclude_path='.;c:\php4\pear') in E:\sitiosweb\gammae\update\common\scripts\updat
econtentobjectname.php on line 32

Warning: main(kernel/classes/ezscript.php): failed to open stream: No such file
or directory in E:\sitiosweb\gammae\update\common\scripts\updatecontentobjectnam
e.php on line 33

Warning: main(): Failed opening 'kernel/classes/ezscript.php' for inclusion (inc
lude_path='.;c:\php4\pear') in E:\sitiosweb\gammae\update\common\scripts\updatec
ontentobjectname.php on line 33

Fatal error: Undefined class name 'ezcli' in E:\sitiosweb\gammae\update\common\s
cripts\updatecontentobjectname.php on line 35

What's wrong?

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

André R.

Wednesday 01 October 2008 1:16:35 am

AS always please read the doc on how to do things, all scripts / cronjobs in eZ Publish must be run from eZ Publish root.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 04:29:33
Script start
Timing: Jan 31 2025 04:29:33
Module start 'layout'
Timing: Jan 31 2025 04:29:33
Module start 'content'
Timing: Jan 31 2025 04:29:34
Module end 'content'
Timing: Jan 31 2025 04:29:34
Script end

Main resources:

Total runtime0.8986 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.1406151.2109
Module start 'layout' 0.00430.0028 739.351636.6484
Module start 'content' 0.00710.8907 776.0000956.3906
Module end 'content' 0.89780.0008 1,732.390616.1563
Script end 0.8986  1,748.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3475160.0002
Check MTime0.00130.1460160.0001
Mysql Total
Database connection0.00050.059010.0005
Mysqli_queries0.846594.1939630.0134
Looping result0.00050.0542610.0000
Template Total0.869196.720.4346
Template load0.00230.260920.0012
Template processing0.866896.454520.4334
Template load and register function0.00130.147910.0013
states
state_id_array0.00140.151910.0014
state_identifier_array0.00150.162520.0007
Override
Cache load0.00170.1841270.0001
Sytem overhead
Fetch class attribute can translate value0.00050.050220.0002
Fetch class attribute name0.00190.215360.0003
XML
Image XML parsing0.00050.060920.0003
class_abstraction
Instantiating content class attribute0.00000.001470.0000
General
dbfile0.00080.0872170.0000
String conversion0.00000.000840.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs