When I try to clone some of my projects nodes I get a 500 error. After tracing it down it appears to be a compatibility issue with CCK.

In my PHP error log I get.

[24-Aug-2011 16:39:54] PHP Fatal error: Call to undefined function date_content_is_empty() in
\modules\cck\content.module on line 906

This line turns out to be if (!$function($item, $field)) {

If comment this line from CCK I can clone the nodes.

After tracing some more I discovered at some point a developer had the Date module installed and just deleted the module folder and didn't uninstall it from the modules. I really just want to get this out there so if someone searching for a similar issue can find it, its a "operator error", however you may be able to code some checks in, to at least provide information on what went wrong.

Comments

dc_marc’s picture

Thanks for this tip! I will watch out for this. My site is exactly the kind where this could easily be an error after installation. I appreciate the leg work you've done!

pwolanin’s picture

Status: Active » Closed (fixed)
AntiNSA’s picture

Issue summary: View changes

I think I am having this problem. Any ideas how to fix it? Using d6 latest version. Seems not fixed.. I get 500's when cloning from outside of editn node interface. Within edit node interface no 500;s