Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Unable to find relationship surveys_campaigns

Unable to find relationship surveys_campaigns 1 month 1 day ago #72888

  • John - EZS
  • John - EZS's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 327
  • Thank you received: 32
  • Karma: 6
I'm getting many such errors in suitecrm.log after an upgrade to 7.10.9.
This on in particular when I send out a testmail (site stalls for a few minutes...)

What is the most probably source? Given this relationship is not a custom relationship it's puzzling to me why that would be screwed up.
The administrator has disabled public write access.

Unable to find relationship surveys_campaigns 1 month 1 day ago #72899

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 8246
  • Thank you received: 1265
  • Karma: 298
When you do a QR & R, if you scroll to the bottom, does it have a button to "sync vardefs"? If so, please press it.

You can also check the "fields_meta_data" table in the database, if there is any row mentioning that there. Then you can compare with a clean, fresh install system to see if it should be there or not.

In my system this is the only reference I find to that string "surveys_campaigns":
modules/Campaigns/vardefs.php:281:                'relationship' => 'surveys_campaigns',

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Unable to find relationship surveys_campaigns 1 week 1 day ago #74005

  • Princeps of Nihils
  • Princeps of Nihils's Avatar
  • Offline
  • Premium Member
  • Posts: 111
  • Thank you received: 3
  • Karma: 1
Coming across the same error when attempting create campaigns or emails from Suite with the error surveys_campaigns.

When I go to modules/Campaigns/vardefs.php:578 I find
 "survey" => array (
                'name' => 'survey',
                'type' => 'link',
                'relationship' => 'surveys_campaigns',
                'source' => 'non-db',
                'module' => 'Surveys',
                'bean_name' => 'Surveys',
                'vname' => 'LBL_CAMPAIGN_SURVEYS',
                'id_name' => 'survey_id',
                'link_type'=>'one',
                'side' => 'left',
        ),

In my server I cannot find LBL_CAMPAIGN_SURVEYS in my Campaigns or Surveys en_us.lang files.

Did you find a solution?
I use Version 7.10.7 attempting to upgrade to 7.10.10.

“One-Eye’s handicap in no way impairs his marvelous hindsight."
Last Edit: 6 days 15 hours ago by pgr. Reason: add code tags
The administrator has disabled public write access.

Unable to find relationship surveys_campaigns 1 week 1 day ago #74007

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 8246
  • Thank you received: 1265
  • Karma: 298
@Princeps Nihilo

I have it in
modules/Campaigns/vardefs.php:288:                'vname' => 'LBL_CAMPAIGN_SURVEYS',

Which version are you running? Do you have that label there?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Unable to find relationship surveys_campaigns 1 week 1 day ago #74009

  • Princeps of Nihils
  • Princeps of Nihils's Avatar
  • Offline
  • Premium Member
  • Posts: 111
  • Thank you received: 3
  • Karma: 1
I am running server 7.10.7 trying to upgrade to 7.10.10 to see if that resolves the issues, but I get the same error when I go into the Upgrade Wizard.
I use Version 7.10.7 attempting to upgrade to 7.10.10.

“One-Eye’s handicap in no way impairs his marvelous hindsight."
The administrator has disabled public write access.

Unable to find relationship surveys_campaigns 6 days 15 hours ago #74054

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 8246
  • Thank you received: 1265
  • Karma: 298
The label is missing from 7.10.10 too. Until this is fixed, maybe try adding it manually in

modules/Campaigns/language/en_us.lang.php

Just add inside the mod_strings array, at any position, something like:

'LBL_CAMPAIGN_SURVEYS => 'Campaign-Surveys',

I suggest that conspicuous hyphen so that you can then spot the label on screen. We need to know where it shows, so we can decide what to actually write there :-)

Don't forget to run a QR & R again and rebuild Javascript languages.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: Princeps of Nihils
Time to create page: 0.065 seconds
Powered by Kunena Forum