Suitecrm

posted in: www Archives | 0

UPDATE 30 Jan 2023: I ditched Suite-CRM and went with ESPO-CRM. ESPO does not look and feel as slick, but the huge adavantage is: it does work.

No CSS

Rerun permissions [1]

“Internal server error”:

it may be just a matter of changing the RewriteBase in public/legacy/.htaccess to /public. [2]

or just /

Labels undefined:

/public/legacy/.htaccess
Original:

RewriteRule ^cache/jsLanguage/(.._..).js$ index.php?entryPoint=jslang&modulename=app_strings&lang=$1 [L,QSA]
RewriteRule ^cache/jsLanguage/(\w*)/(.._..).js$ index.php?entryPoint=jslang&modulename=$1&lang=$2 [L,QSA]

Replacement:

RewriteRule /cache/jsLanguage/(…_…).js$ index.php?entryPoint=jslang&modulename=app_s$

[3]

Inbound Email

on “inbound email” we get

Error occurred while fetching metadata for Inbound Email Settings

Solution is to remove extra spaces before <?php… in

SuiteCRM-Core/public/legacy/modules/InboundEmail/metadata/editviewdefs.php

[4]

Import Email does not work

In

/sites/suitecrm/public/legacy/themes/suite8/include/EditView/tab_panel_content.tpl

change
{{if $col%2==1}}
<div class=”clear”></div>
{{/if}}
to
{{if $col|intval%2==1}}
<div class=”clear”></div>
{{/if}}

[5]

Emails not sorting

you can overwrite non update-safe at suitecrm_7_13_3/modules/Emails/include/ListView/ListViewSmartyEmails.php:

if (count($data['data'])) {
    if (isset($data['data'][0]['DATE_SENT_RECEIVED'])) {
        usort($data['data'], function ($a, $b) {
            // DESC SORTING ORDER
            return strtotime($b['DATE_SENT_RECEIVED']) - strtotime($a['DATE_SENT_RECEIVED']);
        });
    }
}

[6]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.