Difference between #23 and #24 of
Yii v2 snippet guide

Revision #24 has been created by rackycz on Sep 20, 2019, 8:08:45 AM with the memo:

prereq
« previous (#23) next (#25) »

Changes

Title unchanged

Yii v2 for beginners

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,beginner,yii2

Content changed

[...]
The Exception is removed by enterinng any text into attribute 'cookieValidationKey' in file:

- C:\xampp\htdocs\basic\config\web.php

Dont forget to connect Yii to the DB. It is done in file:
 
 
- C:\xampp\htdocs\basic\config\db.php
 
 
... but it should work out of the box ...
 
 
Yii demo app + GitLab
---
... text ...
[...]
```MySQL
CREATE DATABASE IF NOT EXISTS `yii
-demo-db2basic` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

CREATE TABLE IF NOT EXISTS `user` (
`id` INT NOT NULL AUTO_INCREMENT,
`username` VARCHAR(45) NOT NULL,
`password` VARCHAR(60) NOT NULL,
[...]
7 0
4 followers
Viewed: 259 273 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Sep 19, 2019
Last updated: 7 months ago
Update Article

Revisions

View all history