0
votes

I had php 5.6 which I unistall and put laravel 7.3 and then 7.2 and now 7.1. After fresh xampp and composer installation I run the project, It give me 500 internal error in the console which points to index.php. I'm just trying to run a project downloaded from git. Can't run Laravel, phpmyadmin is working.

I also checked the log file.It says..

[2020-04-12 19:48:50] production.ERROR: RuntimeException: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. in D:\xampp\htdocs\hrm-master\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php:43 Stack trace:

0 D:\xampp\htdocs\hrm-master\vendor\laravel\framework\src\Illuminate\Encryption\EncryptionServiceProvider.php(27):

Illuminate\Encryption\Encrypter->__construct('', 'AES-256-CBC')

1 D:\xampp\htdocs\hrm-master\vendor\laravel\framework\src\Illuminate\Container\Container.php(746):

Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption{closure}(Object(Illuminate\Foundation\Application), Array)

My xampp controll panel is showing 'x' mark under service module, so I think I havent installed xampp correctly, but then other non laravel project and phpmyadmin is working fine. What might be the issue?

1
I think you need to generate a key. Does this help at all? - segFault

1 Answers

1
votes

Try to run

php artisan key:generate
php artisan confg:cache