melaniecarr23 0 Posted March 6, 2016 Report Share Posted March 6, 2016 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. Quote Link to post Share on other sites
Larry 429 Posted March 7, 2016 Report Share Posted March 7, 2016 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? Quote Link to post Share on other sites
melaniecarr23 0 Posted May 15, 2016 Author Report Share Posted May 15, 2016 Yes, I was following an article I found online since I realized it wasn't easy for me to migrate from yii1 to yii2 and I wanted to use the newer version. Quote Link to post Share on other sites
Larry 429 Posted May 17, 2016 Report Share Posted May 17, 2016 Ah, okay. Let me know if you still have any specific questions. Quote Link to post Share on other sites
melaniecarr23 0 Posted May 18, 2016 Author Report Share Posted May 18, 2016 Thanks. I abandoned this thought, and decided to instead try developing everything new in Yii 2 and publish when it's done. Quote Link to post Share on other sites
Larry 429 Posted May 18, 2016 Report Share Posted May 18, 2016 That makes sense. Let me know if you have any other questions! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.