I found the following Sugar CRM guide it listed a number of potential solutions. If you have a similar problem may run through them (mostly to do with hidden modules in Admin tab and then User Profile tab, plus access)
I can access the email templates using browse, I have created and edited some. When I m creating a campaign when I get to the template section the URL bar states:
index.php?return_module=Campaigns&module=Campaigns&action=WizardMarketing&campaign_id=&return_action=WizardNewsLetter&return_id=
The page sayes:
“Error retrieving record. This record may be deleted or you may not be authorized to view it.”
FYI when I tried the same thing in my Bitnami Server (I have a bitnami and a Linux) I get the same error when attempting to create a campaign… so doubt it is a permissions issue.
I have tried looking at the code, but I don’t know which section I should be looking at and what to compare it to.
If you didn’t play with Security Settings before (Roles / Security Groups / etc) I don’t think that is the kind of access problem you’re getting.
I find your URL up there very suspicious, the “ids” are empty. No wonder it can’t retrieve the record.
So I’d say the bug or problem is before that, when that URL is generated (basically, in the code in the button right before that URL appeared)
EDIT: one more thing: don’t you have any more messages in the log, right before that FATAL? You can increase your log level in Admin / System Settings, to Warning (at least). This should give you more clues.
I changed the error log to warning and found the following error warning.
Wed Sep 12 13:58:01 2018 [9414][-none-][WARN] Configuration variable date.timezone is not set, guessed timezone UTC. Please set date.timezone="UTC" in php.ini!
So I went and changed it to “UTC” in php.ini
That warning code has cleared but now I receive the following when the job fails.
Wed Sep 12 13:58:01 2018 [9414][1][DEPRECATED] Formatting correction: SchedulersJobs->execute_time had formatting automatically corrected. This will be removed in the future, please upgrade your external code
Wed Sep 12 13:58:01 2018 [9414][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
Wed Sep 12 13:58:01 2018 [9414][1][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
I feel so close to getting this done, but so far away!
I can’t reproduce your issue, and debugging your system from here is impossible
I don’t know, try restarting from scratch - delete all Email Templates, then create a new one. Make sure it works (send a single email with it, not from a campaign).
Then delete all Campaigns and start a new one to see if it works. If not, maybe try a fresh install if that is an option for you?
It certainly would be impossible! I tried you email solution, no luck. I can’t do a reinstall at present (but I am looking into it), but I do have the same issue with my separate bitnami server, so I am little worried it may be endemic and I would re-encounter it.
I checked the demo SuiteCRM and created a campaign, got the following URL when I clicked it. Looks like mine is not creating the ID codes when I am clicking the next button.