Link to home
Start Free TrialLog in
Avatar of haruka que
haruka que

asked on

Model Class has syntax error or not exist

Hello. Do anyone know how to solve when I use Gii generator by Yii and want to create such as such as form generator, it always fail and state that the model class may not exist or have syntax error. After generate the model class, I did not change anything. everything was just okay before this. it happen around this few days.  may experts can help. I really need to solve this problem as I need to use it. I am now in an internship so I want to do my best here for me to complete my study.
Avatar of NerdsOfTech
NerdsOfTech
Flag of United States of America image

Assuming you are using Windows, try running the program in compatibility mode. It might be that the program is missing .dll files or files present in older operating systems. If this doesn't work, it might be a permissions problem; in this case, try running it as administrator. To do either test, right click the program executable and click properties, then click the compatibility tab.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.