LBL_ACTION_ERROR on install

Hello,

Install is on Windows 2019 Server using
xampp-windows-x64-8.2.12-0-VS16-installer
using SuiteCRM-8.7.1
Using XAMPP defaul settings

I am Adminstrator on the system - firewall is turned off

I managed to resolved all the pre requirements that the installer highlighted as problematic (libs and stuff)

Thus managed to reach to the Welcome to suiteCRM install page with the TAB configuration

Install/Configuration WEBPAGE of suiteCRM
i understood that the DB is created by suiteCRM installer itself so i created NO DB before and used root without password as SuiteCRM database user

hostname= localhost
database name = crm
port defaults to 3306
Populate with dem data = no

crmadminname=admin
CRM Admin password = admin

When i now hit Proceed it brings up a red bar with LBL_ACTION_ERROR thats all

I also tried to find some logs but honestly did not find one …

There are several logs

  • public/legacy/suitecrm.log
  • php_errors.log (as defined and activated in your php.ini)
  • logs/prod/prod.log

Sometimes to really get the error text you need to switch to dev mode (changing APP_ENV in .env file) and then see the error in your browser’s developer tools, Network tab, inside the failed request.

Hello,
Thanks … C:\xampp\htdocs\SuiteCRM\public\legacy\suitecrm.log contains no data (and seems to have not been modified - bas setup was in november)

From PHP.INI:
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors=On
display_startup_errors=On
log_errors=On
error_log = php_errors.log

Restarted DB and Apache tried again - there has been no php_error.log been created
C:\xampp\htdocs\SuiteCRM.env file
Changed to: APP_ENV=development

Apache and MY SQL restart

Reopening starting with same params:

Browser/Developer/Network i get this in console:
Download the Apollo DevTools for a better development experience: https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm
node_modules_angular_core_fesm2022_core_mjs.3e1a513b7cb4915e.js:1 ERROR TypeError: Cannot read properties of undefined (reading ‘panelDefault’)
at dist_core_fesm2022_core_mjs-_39da1.236f1c41e5a37e9f.js:59:211037
at Array.forEach ()
at i.buildPanelMap (dist_core_fesm2022_core_mjs-_39da1.236f1c41e5a37e9f.js:59:210925)
at i.updatePanelsInTabs (dist_core_fesm2022_core_mjs-_39da1.236f1c41e5a37e9f.js:59:210246)
at Object.next (dist_core_fesm2022_core_mjs-_39da1.236f1c41e5a37e9f.js:59:210022)
at C.next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:20307)
at L._next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:19991)
at L.next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:19686)
at node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:38605
at i._next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:27959)
handleError @ node_modules_angular_core_fesm2022_core_mjs.3e1a513b7cb4915e.js:1Understand this errorAI
node_modules_angular_core_fesm2022_core_mjs.3e1a513b7cb4915e.js:1 ERROR TypeError: Cannot read properties of null (reading ‘data’)
at Object.next (dist_core_fesm2022_core_mjs-_39da1.236f1c41e5a37e9f.js:59:492016)
at C.next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:20307)
at L._next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:19991)
at L.next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:19686)
at node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:49121
at i._next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:27959)
at i.next (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:19686)
at f._subscribe (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:25112)
at f._trySubscribe (node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:15439)
at node_modules_rxjs_dist_esm_index_js.defb89c0c55bebe3.js:1:15384
handleError @ node_modules_angular_core_fesm2022_core_mjs.3e1a513b7cb4915e.js:1Understand this errorAI

suitecrm.log is not there yet because the installation is not done yet. There might be an install.log though.

The php_errors.log is very valuable and it might be worth it to create a PHP file with a PHP fatal error on purpose just to check that the log is getting created, and confirm its location. (I don’t know if this is too technical for you…)

Regarding the developer mode, which I think is your best shot:
APP_ENV should be just dev

You then need to clear Symfony cache

bin/console cache:clear

and it’s possible that the dev mode will require different packages to you might get a bunch of Doctrine errors in the logs, in which case you need to run a composer install to fetch the missing parts.

Make sure you didn’t mess up permissions in this process.

When you are in dev mode, the Network tab should show you full stack traces in failed requests. Note that this is not JS errors in the console area, it’s in the “response” data of a specific request.

Thx for answer …

Install logs end in november …
Right … im am no XAMP Pro :slight_smile: … yet i manged to install another CMS … and solved the missing bits preinstall challenge of suitecrm … basically i followed the video instruction … well though the video does not mention the missing bits and pieces webpage … but activated the missing modules thereafter to continue

So … I have created a hello.php in the suitecrm directory and it works …
When i do error i find the following in
C:\xampp\apache\logs error log file
[Wed Dec 18 17:09:18.400663 2024] [php:error] [pid 7712:tid 2012] [client ::1:49672] PHP Fatal error: Uncaught Error: Undefined constant “datum” in C:\xampp\htdocs\SuiteCRM\hello.php:3\nStack trace:\n#0 {main}\n thrown in C:\xampp\htdocs\SuiteCRM\hello.php on line 3, referer: http://localhost/suitecrm/

Is there maybe a preconfigured windows virtual machine that i could just download to include into network ?

No pre-made VM, sorry. I am currently working on an automated installer (Ubuntu, WSL, Azure, AWS) but it’s a long term project, won’t be ready soon.

I suggest you use an Ubuntu VM under Hyper-V, or WSL, to run SuiteCRM “on Windows” but giving it its preferred environment, which is clearly Ubuntu.

You can try out this too:

I am still investing time into the windows setup and some test
Maybe sombody has encountered that issue as well and was able to solve it

Hmm … i additional set up vhost now

tried manual connection via mysql to database as root → works

browser from local machine localhost in adress bar resolves to
http://localhost/#/install
then

LBL_ACTION_ERROR again

Anybody out there who knows something about this ?

Please check if this helps

Well … so i ended in setting up an Linux box now for this …

Used the script … Nice work … only issue is that it downloads another version that it trys to unzip :wink: … sorted this out and got the basic running …