Anybody else having this problem? It may be a conflict from another module.

Example, when content type "task" references the content type "project" and has "Create link on the full view" enabled all projects end up blank with a white page.

By the way, awesome module and I really appreciate all the work that went into getting this ready for Drupal 7!

Comments

albert9000’s picture

Okay, it is a conflict with the Organic Groups module. I'm using 7.x-1.0.

I'm going to give the dev version a try and see what happens.

------------------------------

Update: The dev version of Organic Groups still conflicts with this module.

zualas’s picture

I get the same issue as described above.

quicksketch’s picture

Title: "Create link on the full view" crashes referred node » "Create link on the full view" crashes referred node when using organic groups
Status: Active » Postponed (maintainer needs more info)

Hey guys, I tried this with version 1.0 of OG, but I can't cause any problems. Do you guys have the "display_errors" option on in php.ini? Just getting a blank white screen doesn't tell me very much.

albert9000’s picture

Thanks for taking a look at this! The error reads:

Fatal error: Call to undefined function og_context() in D:\WampServer\www\proj2\sites\all\modules\nodereference_url\nodereference_url.module on line 171

I'm using version 7.x-1.10

quicksketch’s picture

Status: Postponed (maintainer needs more info) » Active

Ah, it looks like that function is no longer directly in the og.module. If you turn on the og_context.module the error will go away, but we should do a check for "if (module_exists('og_context'))" instead of checking for "og".

Crell’s picture

I can confirm this bug, and that the workaround in #5 works. The "create" link does not show up, however.

quicksketch’s picture

Status: Active » Fixed

I can confirm this bug, and that the workaround in #5 works. The "create" link does not show up, however.

This section of code isn't responsible for making the link show up in any way, it's just about adding "gids" to the link URL (if there's a link already) so that the newly created node keeps the context of the node from which it was created.

I've committed this fix to just change the module_exists() line. If there are further bugs with it not doing what it's supposed to do with OG, let's handle that issue separately.

Automatically closed -- issue fixed for 2 weeks with no activity.