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

arazakibsr65138
arazakibsr65138

i just bought the license key. and after installing got this error. how to solve this

 ERROR
We're sorry, but an unhandled error occurred. Please see the details below.

No application encryption key has been specified.
~\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php line 80

TYPE
Undefined

EXCEPTION
RuntimeException

     * @throws \RuntimeException
     */
    protected function key(array $config)
    {
        return tap($config['key'], function ($key) {
            if (empty($key)) {
                throw new RuntimeException(
                    'No application encryption key has been specified.'
                );
            }
        });
    }
}
 STACK TRACE
#   CALLED CODE DOCUMENT    LINE
34  Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Support/helpers.php   422
33  tap(…)  ~/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php  84
32  Illuminate\Encryption\EncryptionServiceProvider->key(…) ~/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php  61
31  Illuminate\Encryption\EncryptionServiceProvider->parseKey(…)    ~/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php  33

Last updated

arazakibsr65138
arazakibsr65138

also i got 500 internal server error

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

daftspunky
daftspunky

Hello!

The error indicates the problem, you will need to generate an application key with the following command:

php artisan key:generate

Thanks

1-3 of 3

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