Forums / Developer / Moving Objects via PHP & Cron / Comment40876
Alex Jones
Wednesday 16 June 2004 7:00:15 am
Hrrrm, I think you are on to something as nothing is output to screen when I echo <i>$node</i> after the line
$node = eZContentObjectTreeNode::fetch($movingNode);
. That line doesn't throw an error though, and the variable <i>$movingNode</i> shows the right value. Note: I changed <i>$node =&</i> to <i>$node =</i> (removing the &) to be consistent with the code in ezcontnentobjecttreenode.php. The fetch query appears to be executing properly. I will add some debugs to the move function shortly, once a content import is finished.
Thanks again!
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>