Excuse me if my English is not good because i'm French !
So I'm new to Yii. I have to make a website for inventoring multiple network devices (basics fonctions like add an equipment, modify, delete). So I created my database with "phpmyadmin" which contains 3 tables. Using the Gii tool, I generated the codes of each of these tables, which create 3 files with the extension .php in the following path "C:\wamp\www\mysite\protected\models"..
I moved these 3 files in "C:\wamp\www\monsite". However, when I enter this path in Google Chrome, there is an error "Fatal error: Class 'CActiveRecord' not found in C:\wamp\www\mysite\Equipement.php on line 18".
How can I solve this problem please?
In addition, I saw on the site Yii an image (image enclose). It will suit perfectly for my project. How to make this type of table? Thank you very much.
Number of downloads: 11