I installed a fresh installation of drupal 7.22 with clean db's and started importing new modules since this might have been an db error i thought. But as soon as i import the latest relationship module and activate the invite module i get this error on registration page. Is there an easy fix or is this a new issue which need investigation ? this all happens on line 106

Files: 
CommentFileSizeAuthor
#1 user_relationships-undefined-constant-INVITE_SESSION-1965660-1.patch1.39 KBAndre-B
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

Comments

Andre-B’s picture

Status:Active» Needs review
StatusFileSize
new1.39 KB
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

invite module is using constant INVITE_SESSION_CODE instead of INVITE_SESSION

Andre-B’s picture

Assigned:combait» Unassigned
Berdir’s picture

Looks like the constant was renamed in 4.x. Maybe this should be fixed as part of the 4.x integration issue?

Andre-B’s picture

Berdir you are right this belongs to Invite 4.x

Berdir’s picture

Status:Needs review» Closed (duplicate)
Berdir’s picture

Issue summary:View changes

this all happens on line 106

SocialNicheGuru’s picture

Issue summary:View changes
Status:Closed (duplicate)» Reviewed & tested by the community

This is not a duplicate of the other issue.
The constant is defined in the invite module.
The patch fixes the problem

SocialNicheGuru’s picture

This is not a duplicate of the other issue.
The constant is defined in the invite module.
The patch fixes the problem

heylookalive’s picture

@socialnicheguru From what I understand on this issue the sub module in user_relationships is for 3.x, the linked issue that was marked as duplicate is one to update the sub module to 4.x.

Looking at #2041769: Upgrade user_relationship_invites to work with Invite 4.x branch we're not updating the module and a separate project was created for this by @mrded:
https://www.drupal.org/project/invite_user_relationships

heylookalive’s picture

Status:Reviewed & tested by the community» Closed (won't fix)
SocialNicheGuru’s picture

should I delete the submodule?
maybe there should be a patch to delete the module and a link to https://www.drupal.org/project/invite_user_relationships

heylookalive’s picture

Status:Closed (won't fix)» Active

Nah leave as is, the module is still valid for 3.x. I'll update the submodules .info to include that.

  • heylookalive committed c4c58f4 on 7.x-1.x
    Issue #1965660 by Andre-B: user_relationship_invites is not compatible...
heylookalive’s picture

Status:Active» Fixed