Skip to content
Advertisement

Tag: yii2-advanced-app

Yii2: How to redirect to with UrlManager?

In my Yii2 config I have: If I go to site.com/search it works. If I go to site.com/site/index it also works and shows the same content. How to redirect the call instead of just showing the response of site/index? It must also redirect with params (site.com/site/index?param=1 -> site.com/search?param=1) Answer The UrlManager does not redirect. It rather does a rewrite like

Unable to locate message source for category ‘mtrelt’

If I try to update records,I get following error without any ideas, what’s about or what this error could have been caused by. Furthermore, it’s strange, that this error only will be bred by records having been imported by a dump. There will be no error, if I will update a record having been created using saveasnew option. Unfortunately, I

Advertisement