by NS-Team

The File Field type allows you to add unlimited file upload fields to any module. Need to required certain files such as a quote? Add files to any module with the File field available in Studio

Cancel at any time!
Free Trial

#5125 - Fatal exception - cannot look at DetailView of records on SuiteCRM 7.14

Closed Bug? created by info121 Verified Purchase a year ago

Hi,

I have recently upgraded the plugin to version 2.4, with the hopes it fixes my issue but it does not.

The plugin works fine on SuiteCRM v7.13.x, however when I upgrade Suite to 7.14.2, it has an issue where I cannot view the DetailView of a record if that DetailView has a File Field in it.

If I remove the File Field from the Detail View and deploy changes, I can view the DetailView just fine. If I add the File Field back to the Detail View and deploy, I again can no longer view the entire DetailView of the record.

I upgraded from File Field 2.3 to 2.4 using the steps in the documentation (Admin > Module Loader > Upload the new version & install)

When this problem occurs I following error in my suitecrm.log : ~~~ [FATAL] Exception in Controller: Syntax error in template "file:/path/to/crm/cache/themes/SuiteP/modules/Leads/DetailView.tpl" on line 479 "{php} require_once('modules/FileField/license/OutfittersLicense.php');if(FFOutfittersLicense::isValid('FileField') !== true) { {/php}

File Field: Invalid license

{php} } else { {/php}" unknown tag 'php'' ~~~

How can I fix this? We rely on this plugin for various uses and so it is currently preventing us from upgrading our Suite instance to the latest version. I have tried on both PHP 7.4 and 8.1 with no difference.

Cheers

  1. info121 member avatar

    info121 Verified Purchase

    a year ago

    Sorry the markdown was a bit weird in my post above. I can't seem to edit the post. I will try to escape some of the characters so it does not read the code as HTMLThe error message from suitecrm.log is:

    [FATAL] Exception in Controller: Syntax error in template "file:/home11/imotionn/public_html/crm8/public/cache/themes/SuiteP/modules/Leads/DetailView.tpl" on line 479 "{php} require_once('modules/FileField/license/OutfittersLicense.php');if(FFOutfittersLicense::isValid('FileField') !== true) { {/php}\< \p class='error'>File Field: Invalid \< \a href='index.php?module=Preview_Image_files&action=license&checklicense=file-field' >license\</\a>{php} } else { {/php}" unknown tag 'php'

    • bluquet member avatar

      NS-Team Provider Affiliate

      a year ago

      Hi,

      It looks like SuiteCRM 7.14 changed one of their libraries and a feature we used has been deprecated. I will send you later today a new version by private email. If you confirm it works, we will upload this new version in SuiteCRM Store.

      Thank you for your feedback

  2. shad member avatar

    Jackal Software

    7 months ago

    Hello. I am having the same issue for a customer after doing their upgrade. I was able to temporarily modify the cached file. I got the latest version and it seems to have the same code. Do you happen to have an updated version I can install? Thank you

    • shad member avatar

      Jackal Software

      7 months ago

      @NS-Team,

      Sorry, my mistake. I think we are good on the newest version.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...