Forums / Developer / Object patern: not working at all
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
Tuesday 30 September 2008 3:19:10 am
Any-body-out-there??? I just need some assistance with thisthanks
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
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
Wednesday 01 October 2008 1:16:35 am
AS always please read the doc on how to do things, all scripts / cronjobs in Exponential must be run from Exponential root.