Hi,

I have a little strange issue: I just updated the CCK module in a project in which a very old version of CCK module was used. Now I have the following problem on the projects live server: the nodes values are used within a custom script by loading it with node_load (bootstrap.inc is included into this script in order to use Drupal functions). On my development server everything works fine: the whole node object is loaded including the CCK fields. On the live server the node object is loaded - but with no CCK fields. The Content Permission module is not activated.

Can anyone help me? Is there a server configuration neccessarry to be able to use node_load in a custom script and to get the CCK values into the node object? Do I need to include some other file from CCK?

best,
Tobias

Comments

bombadillo’s picture

I have the exact same issue.

node_load() in custom module doesn't load cck fields. This happens trying to print $node->body and also trying to print the single field. Why? Does anyone has a solution, or a workaround, or is able to point something?

I tried this http://drupal.org/node/158237#comment-4593950 but doesn't seem to work.

Any help is appreciated.