Jump to content
Larry Ullman's Book Forums

Yii1 And Yii2 Together


Recommended Posts

I have Yii 1.1.16 installed and had been using the yii book to help me.  I installed yii2 with the intention of using the suggestion for running both at the same time, and the yii book 2 helped with the installation but I can't seem to get it to work.  My error is:


Fatal error: Call to undefined method Yii::registerAutoloader() in /home/drcarr/protected/components/Yii.php on line 16


I could use some help fixing it, or suggestions on changing my yii1 site into a yii2 site that also runs from the main directory of the domain.

Link to comment
Share on other sites

Hey Melanie,


First, just to be clear, you definitely don't want to use Yii1 and Yii2 together. When you got that error, were you just trying to run your Yii 1 site using the Yii 2 framework? Can you provide some more context as to what you did that got to that error message?

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...