I am trying to run Yii1 together with Yii2, as described in the official documentation.
Unfortunately, my [font=“Courier New”]Yii::import()[/font] statements seem to be failing in a weird way - all statements of the form [font=“Courier New”]import(‘something.other.*’)[/font] work just fine, while [font=“Courier New”]import(‘something.other.ParticularClass’)[/font] fail, with an error message like
include(UrlRoute.php): failed to open stream: No such file or directory
If I change a particular import into an asterisk import, it works fine and imports the class. It also works to change in into an explicit [font="Courier New"]require()[/font].
I followed the linked documentation, and, except for path differences, my classes look just like in there. I would appreciate any hints as to what might be causing this behaviour.
The forums forbids me from posting links, but if I also asked this on StackOverflow.