# No GrapeJs Builder, just the legacy

**URL:** <https://forum.mautic.org/t/no-grapejs-builder-just-the-legacy/33966>\
**Category:** Product Support\
**Created:** [October 29, 2024, 3:53pm UTC](https://forum.mautic.org/t/no-grapejs-builder-just-the-legacy/33966 "2024-10-29T15:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![miki](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/miki/32/12678_2.png) [@miki](https://forum.mautic.org/u/miki)\
**Post date:** [October 30, 2024, 1:06pm UTC](https://forum.mautic.org/t/no-grapejs-builder-just-the-legacy/33966/3 "2024-10-30T13:06:50Z")

</div>

I fixed this. I still don’t know what was the problem…  
So. My local.php looked like this:

```auto
$parameters = array(
    'db_driver' => 'pdo_mysql',
    'mailer_from_name' => 'Mautic',
    'site_url' => 'https://mautic.php.localhost',
);

```

Everything worked, except the GrapeJs builder. All the other settings/parameters are set in the parameters\_local.php which processes the ENV variables of the docker-compose.yml file.

```auto
$config_secret_key = '';
if (false !== getenv('CONFIG_SECRET_KEY')) {
    $config_secret_key = getenv('CONFIG_SECRET_KEY');
}
...
'secret_key' => $config_secret_key

```

For example. I did not think that my local.php should contain more parameters, because as I mentioned, everything worked.  
But with the other parameters in the local.php the GrapeJs builder works too! The local.php looks like this now:

```auto
$parameters = array(
	'db_driver' => 'pdo_mysql',
	'mailer_from_name' => 'Mautic',
	'mailer_dsn' => 'smtp://localhost:25',
	'db_host' => 'mautichost',
	'db_host_ro' => null,
	'db_table_prefix' => null,
	'db_port' => '3306',
	'db_name' => 'mauticdb',
	'db_user' => 'mautic_user',
	'db_password' => 'mauticpassword',
	'db_backup_tables' => 1,
	'db_backup_prefix' => 'bak_',
	'secret_key' => 'a3c3bd22c701c9229e625e95e163959760e6c16fe5a5ddf04f98f2cb9cb60cbe',
	'site_url' => 'https://mautic.php.localhost',
);

```

With this parameters my previous post ([Mautic.getActiveBuilderName is not a function - #2 by miki](https://forum.mautic.org/t/mautic-getactivebuildername-is-not-a-function/33822/2)) and the fix mentioned in it is unnecessary, because the outputSystemScripts method of the CoreBundle/Twig/Helper/AssetsHelper.php adds the required line.

```auto
echo '<script>Mautic.getActiveBuilderName = function() { return \''.$builderName.'\'; }</script>'."\n";

```

---

_[View the full topic](https://forum.mautic.org/t/no-grapejs-builder-just-the-legacy/33966)._
