Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined messages and labels in ModuleBuilder #37

Open
phil8900 opened this issue Dec 3, 2021 · 3 comments
Open

Undefined messages and labels in ModuleBuilder #37

phil8900 opened this issue Dec 3, 2021 · 3 comments
Labels
Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Type: Bug Something isn't working

Comments

@phil8900
Copy link
Contributor

phil8900 commented Dec 3, 2021

Issue

When I open the ModuleBuilder I see a lot of messages and labels that are undefined. I took some screenshots to clarify what I mean.

Expected Behavior

The messages and labels should have their actual text instead of 'undefined'.

Actual Behavior

Different labels (see screenshots) are undefined.
suitecrm.log shows no error and the Apache error.log shows the following notice:
'''Undefined index: Support Forum in /var/www/html/suitecrm/public/legacy/include/MVC/View/SugarView.php on line 508, referer: https://crm.mydomain.tld/suitecrm/public/'''

Steps to Reproduce

  1. Log into SuiteCRM
  2. Go to Admin panel and select ModuleBuilder
  3. Click on a module

Context

I tried to create a new module with a quick create layout. The undefined messages are confusing and obstructing the buttons and functionality.

Your Environment

  • SuiteCRM Version used: 8.0.0
  • Browser name and version: Firefox 94.0.2 (64-Bit), Chrome 96.0.4664.45
  • Environment name and version (e.g. MySQL, PHP 7): MySQL: 5.7.36-0, PHP 7.3.33
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu0.18.04.1

screen3
screen4
screen1
screen2
screen5

@Mac-Rae
Copy link
Contributor

Mac-Rae commented Dec 3, 2021

Hi there,

This is caused by the URL in the rewrite of the legacy .htaccess being incorrect. Altho I believe an issue would be right for this as by default this should be configured correctly automatically.

In the meantime check out the .htaccess and ensure the URLs shown on the rewrites appear to be correct.

@Mac-Rae Mac-Rae transferred this issue from salesagility/SuiteCRM Dec 3, 2021
@Mac-Rae
Copy link
Contributor

Mac-Rae commented Dec 3, 2021

Also moved to Suite Core as this is Suite8 Dependent

@Mac-Rae Mac-Rae added Priority:Critical Issues & PRs that are critical; broken core functionality; fatal errors; there are no workarounds Type: Bug Something isn't working labels Dec 6, 2021
@clemente-raposo clemente-raposo added Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds and removed Priority:Critical Issues & PRs that are critical; broken core functionality; fatal errors; there are no workarounds labels Dec 16, 2021
@rithsila
Copy link

rithsila commented Apr 20, 2022

I found the solution at here 1 we change the config in
Root directory www/html/suitecrm/.htaccess . my suitecrm version8.1.0 - hope it can help
----------------------------------------------------------------------new config
RewriteEngine On
RewriteBase /Tsystem/public/legacy/
RewriteRule /cache/jsLanguage/(……).js$ index.php?entryPoint=jslang&modulename=app_s$
RewriteRule /cache/jsLanguage/(\w*)/(……).js$ index.php?entryPoint=jslang&modulename$
----------------------------------------------------------------------old config
RewriteEngine On
RewriteBase /Tsystem/publiclegacy/
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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Important Issues & PRs that are important; broken functions; errors; there are workarounds Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants