python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Setting up yii2 on a local server I have a blank page with internal 500, why?
I have just installed yii2 on a local Vagrant/Homestead server on my macos Monterey.
Unfortunately on the home page has a 500 internal error and displays a blank page. Yii2 seems to have a problem ini...
Martyn
Votes: 0
Answers: 0
Fatal error: Uncaught yii\base\InvalidConfigException: The "id" configuration for the Application is required
web.php
<?php
$params = require(__DIR__ . '/params.php');
$config = [
'id' => 'application',
'name'=>'basic',
'version' => '1.15.2',
'basePath' => dirname(__DIR__),
...
dash_d
Votes: 0
Answers: 1
Yii2 Exception 'yii\db\Exception' with message 'could not find driver' when running yii command
I am running my application local using Laragon and using mysql database and it works fine. However, when I run the command php yii, it gives me this error:
Exception 'yii\db\Exception' with message '...
nativemash
Votes: 0
Answers: 0
How to hash a password correctly in Yii2 (Getting "Hash is invalid" error)
I am currently experimenting with Yii2 and I am trying to hash the Password of a newly created user. The I think the hashing gets done well, but when I try to login with the user and his newly hashed ...
Malgosh
Votes: 0
Answers: 1