PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 10, 2022

[FIXED] Yii2 advanced template, migrations isn't working

 February 10, 2022     frameworks, php, yii     No comments   

Issue

It's my first try of using 'advanced template', when I try to make a standart migrations (yii migrate) with user table console shows me next:

Exception 'yii\base\UnknownPropertyException' with message 'Setting unknown property: yii\console\Request::baseUrl'

I have the empty baseUrl => '' in console/config/main.php I have done it via guide and nobody told about that param. How can I solve that issue?

p.s 'baseUrl' => 'http://mysite/' isn't working too


Solution

I've deleted that parametr at all. It works.



Answered By - Andreykin Sergey
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing