When creating a new project (Create Content->Project) with todays snapshot, on clicking Save, I get a blank screen, and the following error in the log:
[Fri Mar 20 03:37:23 2009] [warn] mod_fcgid: stderr: PHP Fatal error: Call to undefined function project_project_nodeapi() in /home/drupal/public_html/sites/all/modules/project/project.module on line 594
This function does exist in project.inc, so I'm confused why it's not being found.
This was an upgraded installation from 5.x, but I've also uninstalled and reinstalled the project module, since it's not a live site yet, and starting from scratch with Project was not harmful.
Comments
Comment #1
dwwDo you have any other modules enabled on this site? In particular, Organic Groups? If so, see #376377: Issue + organic group incompatibility and #390856: Do a proper page/code split of project.
Comment #2
swelljoe commentedI don't have Organic Groups installed or enabled, but I do have a handful of other modules enabled...several input filters, messaging and notifications, and others. I'll try disabling a few to try to isolate what is conflicting.
In the meantime, it sounds like moving the definition of project_project_nodeapi into project.module would be a reasonable workaround?
Comment #3
dwwSure, you can do that on your own site for right now if you just want to get something working. However, all the code is about to be moved around via #390856: Do a proper page/code split of project, so I don't want to commit that upstream.
I'm going to call this duplicate with the other issues at this point.
Cheers,
-Derek
Comment #4
swelljoe commentedThat's fine. I imagine it must be related.
I was surprised to see an issue with the same error...searching for "project_project_nodeapi" turned up nothing. Might be something broken about searching within issues.
Comment #5
dwwI was surprised to see an issue with the same error...searching for "project_project_nodeapi" turned up nothing. Might be something broken about searching within issues.
That's because you searched only for project.module issues. If you search all issues:
http://drupal.org/project/issues?text=project_project_nodeapi
you'll find the other issue (which is currently filed in the project_issue queue, not the project queue).
Anyway, this is duplicate -- please leave it as such. If you have more to add, put it in #390856: Do a proper page/code split of project.
Comment #6
dwwhttp://drupal.org/cvs?commit=192590
That should solve it for now, pending the full split of the code into a more sane page split...