DetailView display php code

Hello all,

I face a problem this morning with DetailView of AOR_Scheduled_Reports.
Like u can see in the img, The page displays the php code.


Do you have any idea to correct this problem?

SuiteCRM 7.9.7
Centos 7
php 7.0

Can you try do quick repair & rebuild from admin? have you created custom field in other instance and not forwarded here?
Sometime this may happen when any field definition are missing.
Do check suitecrm.log and apache log

Please make a repair and rebuild. I f still it showing this then it seems like your html is broken somewhere please check your latest changes in tpl files code and its tags .

Aftab khan
Suitecrm Developer

Thank you for your answers.

  • I make a repaire and rebuild.
  • Nothing in suitecrm.log.
  • Nothing in apache log.

I deployed a suiteCRM 7.9.7 from scratch, without any package => Same error.
I tried with SuiteCRM 7.10.13 ( Last LTS version ) => Works correctly.

I compared AOR_Scheduled_Reports in 7.9.7 and 7.10.13 , not much changes.
Nothing reported in Github.
I tried to replace reports and scheduled reports modules with the last ones ( certainly not a good idea ) => 1 additional field in reports module, work perfectly but still same error in reports scheduled module.

#Aftab.khan I use the basic reports scheduled.
A customer noticed this error this morning, so i checked my backup for June 2019, I have the same problem, I just didn’t notice it before

Do you have anything in custom directory regarding this module? Or any add-ons that might affect it?

Thank you for your answer pgr.

No, i have nothing in custom, i had the same problem with a blank suiteCRM 7.9.7 .

That is an old version, this is likely already fixed.

You can try reproducing this in the live demo. If it’s not there, then I suggest either upgrading your system, or searching GitHub to find what was fixed (but this might not easy to achieve…)

I don’t think I have much choices. I will upgrade my system.

Thank you for your answers.

Ok, watch out for the compatibility matrix, you might need to upgrade also your PHP:

and

https://www.php.net/supported-versions.php

Anyway this should benefit you in many ways, particularly security and performance, but also features and bug fixes.

As always, make sure you have a full backup (database + all files) before running the upgrade.