This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

interior117184
interior117184

Hi Can someone help with this. I am instaling october on my server, after loading theme, I see this error:

Error

We're sorry, but an unhandled error occurred. Please see the details below. No supported encrypter found. The cipher and / or key length are invalid.

/home/adminpl1/domains/mydomain.com/public_html/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php line 29

Type

Undefined Exception
RuntimeException
        if (Encrypter::supported($key, $cipher)) {
            return new Encrypter($key, $cipher);
        } elseif (McryptEncrypter::supported($key, $cipher)) {
            return new McryptEncrypter($key, $cipher);
        } else {
            throw new RuntimeException('No supported encrypter found. The cipher and / or key length are invalid.');
        }
    });
}

}

interior117184
interior117184

I found it. file app.php had the key 16 caracters, I just changed it for 32 (2x16 same key twice) And it works :)

forums7529
forums7529
  1. Open Terminal
  2. cd to your project location
  3. Run the following command

php artisan key:generate

Last updated

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.